Commit graph

107 commits

Author SHA1 Message Date
James Lambert 1d7f990db8 Get bvh building kinda working 2023-11-01 20:28:26 -06:00
James Lambert fdc52abbdf work on static BVH 2023-11-01 20:28:26 -06:00
James Lambert a1dce2040f Make font renderer big enough for the largest string
remove commentary from captions
2023-10-28 19:43:47 -06:00
James Lambert f2f94ed7af Finish up non english fonts 2023-10-28 19:24:21 -06:00
James Lambert 3bfe6f4a76 Add support for fonts with more than 256 chracters 2023-10-28 12:31:30 -06:00
James Lambert a9f71892ad Align translations to 16 byte boundary 2023-10-27 20:11:07 -06:00
westonCoder 7a1c9986a5 correct and move logic to world.lua script 2023-10-27 13:01:57 -05:00
James Lambert e9a72bc967 Get translation loading mostly working 2023-10-26 22:32:18 -06:00
James Lambert 93d99d6cb5 Build translations into separate files 2023-10-26 22:00:02 -06:00
James Lambert 2f911fe58f do not triangulate when exporting 2023-10-26 19:06:42 -06:00
James Lambert f075892f33 Triangulate meshes in blender when exporting to fbx 2023-10-24 22:30:37 -06:00
James Lambert 288407ca02 fix countdown clocks
implement cutscene rumble support
2023-10-23 21:50:23 -06:00
James Lambert 7a5267195d animate ball from pedestal
add camera shake and rumble when auto portals open
2023-10-21 21:35:50 -06:00
James Lambert 74e02269e8 Fix a build problem around subtitles 2023-10-16 21:45:01 -06:00
hackgrid 87caebbeae fix typo 2023-10-15 13:04:40 +02:00
hackgrid cb49619599 Order subtitles and audio languages lists alphabetically. 2023-10-15 12:42:55 +02:00
hackgrid 5995ef30a0 cut english->english lookup entries to save a bit RAM 2023-10-15 12:06:38 +02:00
hackgrid 340837b931
Merge branch 'master' into multi-audio-2 2023-10-15 11:03:14 +02:00
westonCoder 88883bc34e adjusted the newline threshold for text down by 2 characters 2023-10-14 15:50:29 -05:00
hackgrid 44217fb546 Implement modular multi-audio-language support. 2023-10-14 15:13:13 +02:00
westonCoder 255cbbad4b Slight Fixes to Subtitles Making
- added subtitles.h as dependency in a few places in makefile
- moved making a directory for the subtitles.h/.c to inside the python script
- fixed pathing for a #include

building is now working for me.
2023-10-11 12:23:21 -05:00
James Lambert 1228850440 Better integrate subtitle generation into the build process 2023-10-10 22:13:48 -06:00
westonCoder b2bde849ba Dynamic Captions Building and Enhancements
- python file added and invoked at make that produces a subtitles.c and subtitles.h synamically based on the closed captions files present inside of the resource/ folder
- added an in-game  slider to choose from the languages which were dynamically loaded at time of building.
- if no closecaption files are present at the time of building, the script will still make the subtitles.c/.h but it just wont have any data. This will also result in the two menu items relating to closed captions being removed.
- the names of subtitles in the .yaml files are the upercase versions of the names of subtitles in each subtitle file, so that they are easy to find.
- fixed margins on sides of subtitles
- fixed color of subtitles to be more visible
- sped up the fade in and out animations.
- automated new-line breaks.

Issues I have seen:
- if you load more than like 6 closed caption languages into the resource/ folder the game doesnt seem to want to start up once built. I think this is due to the sheer size of the subtitles.c file that is generated. I would love some feedback on how to make this work a little better/be more memory efficient, as it would be nice to have every closed caption language available on every build.
- languages with very unique characters (chinese, japanese, korean, greek, etc.) do not work because the python codec that is used to decode/encode the files doesnt support them. for now that logic is in a try/except so it wont fail, it will simply skip a language that is not supported.
2023-10-09 21:09:22 -05:00
lambertjamesd 8b539390b6
Merge pull request #263 from westonCoder/real-subtitles-addition
Added Subtitles to Game
2023-10-07 19:16:57 -06:00
westonCoder fa62ea3106 Added Subtitles to Game
- added subtitles and all required functions to get them up and running. Subtitles accross all main game dialogue is running now.
- subtitleID's are included as metadata now when a q_sound line is put in a map's .yaml file
- Also added in a toggle button to turn them on or off.

there are only 3 downsides to my method here.
- subtitles must be manually added to their array when new dialogue is added. I included all the english subtitles in a .txt inside of assets folder.
- no punctuation/symbols. once the font is updated though this should be resolved.
- font size is a bit big, however if the font is ever updated to have a size modifier in the future this would be a snap to change.

attached video of it working.
Fixes #262
2023-10-06 16:08:49 -05:00
James Lambert 6f68f5057d Start work on platform moving sounds 2023-10-05 21:18:20 -06:00
James Lambert 5bdefbf465 Merge coplanar static meshes to reduce culling load 2023-10-02 21:20:52 -06:00
James Lambert f8ca236f1b Allow cube triggers to control if held cubes still trigger 2023-09-30 17:53:48 -06:00
James Lambert 4bc26ef00c Work on action prompts 2023-09-30 16:42:31 -06:00
James Lambert 81d446a80e Polish up ball launcher 2023-09-28 18:04:36 -06:00
James Lambert 6a603395ab Add indicator lights for signals 2023-09-04 20:39:42 -06:00
James Lambert 298dab67f6 Implement test chamber 05 failsafe 2023-09-03 15:13:40 -06:00
James Lambert f0be2b4048 Refactor triggers to be triggable by things other than the player 2023-09-02 22:13:49 -06:00
James Lambert 445ad90eed Generate cutscenes and logic from yaml files instead of blend files 2023-09-02 19:31:24 -06:00
James Lambert 6395378285 Generate cutscene yaml and operators yaml 2023-09-02 17:59:01 -06:00
James Lambert 80d98219e2 fix some surface generator bugs after refactor 2023-08-28 12:17:07 -06:00
James Lambert d51d939ec6 refactor portable surfaces 2023-08-27 15:16:08 -06:00
James Lambert 69a44eba1d Move animated meshes to be dynamically loaded 2023-07-15 21:08:37 -06:00
James Lambert 148534a67f Start work on dynamic loading of models 2023-07-14 23:10:48 -06:00
James Lambert 1e45fbc6aa Add ability to turn off portals on specific surfaces 2023-07-14 21:33:39 -06:00
James Lambert 2eb87888a1 Fix crash around collision of objects 2023-07-13 08:00:43 -06:00
James Lambert 0e701017c6 Fix portal surface generation bug 2023-07-11 08:18:03 -06:00
James Lambert f3d25a7ed9 Work on intro cutscene 2023-07-01 21:55:44 -06:00
James Lambert 617baaaf6e Add security cameras 2023-06-30 23:03:09 -06:00
James Lambert bcba882efd Add clock object 2023-06-29 08:44:11 -06:00
James Lambert e77e9963d6 Work on level light baking 2023-06-24 21:11:15 -06:00
James Lambert 145b07db90 Baking lighting is working much better 2023-06-20 21:04:52 -06:00
James Lambert aaaae474cd work on light baking script 2023-06-19 22:11:49 -06:00
James Lambert 486ebc1973 Implement auto uv as a blender script 2023-06-14 22:09:11 -06:00
James Lambert b376316713 Ambient block baking 2023-06-13 07:48:53 -06:00