Commit graph

157 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
James Lambert b22dd63100 Work on ambient light block 2023-06-12 09:02:41 -06:00
James Lambert 4ed2ed487e Work on light baking script 2023-06-12 08:48:05 -06:00
James Lambert e088c3959b Get ambient lighting block working 2023-06-06 19:54:18 -06:00
James Lambert a16c7f9732 Work on static lighting 2023-06-06 08:14:49 -06:00
James Lambert 0e2a45665d Work on static lighting code 2023-06-06 08:14:49 -06:00
James Lambert aa3ea24c16 Get font rendering working 2023-04-21 16:46:26 -06:00
James Lambert 33e997309e Start work on font rendering 2023-04-20 08:32:40 -06:00
James Lambert 392f9adf9c Work on cutscenes and triggers for test chamber 07 2023-04-03 07:26:19 -06:00
James Lambert e9e443ebeb Refactor door to be controlled by animation controller to allow for multiple door types 2023-03-26 21:33:23 -06:00
James Lambert 4736414bed Document how to use the debugger with the evedrive 2023-03-23 22:44:35 -06:00
James Lambert f6464067bb Finish up test chamber 06 2023-02-28 20:57:03 -07:00
James Lambert 9c815de719 Work on next test chamber 2023-02-27 22:04:31 -07:00
James Lambert 7db90f4276 Fix airborn momentum 2023-02-27 21:23:08 -07:00
James Lambert 9878d18821 Finish up test chamber 05 2023-02-21 21:02:24 -07:00
James Lambert 53f2d4dc58 Work on water death 2023-02-08 22:01:46 -07:00
James Lambert 0b7aee7f22 saving and loading checkpoints 2023-02-07 21:56:24 -07:00
James Lambert 90f775c43f Work on test chamber 4 triggers 2023-02-04 21:43:31 -07:00
James Lambert 3b937e619c Work on test chamber 7 2023-01-28 20:56:21 -07:00
James Lambert 6a274ab71c work on test chamber 03 2023-01-21 21:55:06 -07:00
James Lambert 1ff35c25f2 Start work on ball launcher, ball catcher, and ball 2023-01-16 14:36:32 -07:00
James Lambert 45e6194bd0 Animated surfaces can now recieve portals 2023-01-04 08:39:08 -07:00
James Lambert 26db9cf101 Get animatable colliders working 2023-01-03 22:12:25 -07:00
James Lambert 565e60584a Correctly cull animated scene elements 2023-01-02 21:03:04 -07:00
James Lambert 8d0be1c12a Get animation working with cutscenes and get switch object workings 2023-01-02 20:10:29 -07:00
James Lambert c000fd60cb Fix a bug with cutscene triggers
fix some animation bugs
2023-01-01 21:14:32 -07:00
James Lambert 058ad8fd98 Work on animations playable from cutscenes
Allow animator to run backwards or at any speed
2023-01-01 16:53:08 -07:00
James Lambert 44c9974afb Get animations working for now 2022-12-31 16:12:35 -07:00
James Lambert 687b14d7b8 Fixup how meshes are converted into world space 2022-12-31 13:32:01 -07:00
James Lambert be1f6dd243 Allow static to be modfied by a transform 2022-12-30 21:58:05 -07:00
James Lambert 226057dd61 Build out level animation export logic 2022-12-30 20:28:27 -07:00
James Lambert ff3545d409 Work on animation export code 2022-12-29 21:58:29 -07:00
James Lambert 0b0daca75c Modify lua scripts to output named macros 2022-12-28 21:32:51 -07:00
James Lambert fd4ba7a739 Fix some portal surface bugs 2022-12-28 19:09:54 -07:00
James Lambert 4501b312b7 Fix collision grid issue 2022-12-27 21:53:00 -07:00
James Lambert cc3a224012 Work on some level generation bugs 2022-12-25 13:24:36 -07:00
James Lambert 84bff8a669 Fix winding issue 2022-12-24 12:10:03 -07:00
James Lambert 13810c40d6 Fix trigger generation from lua 2022-12-24 12:02:12 -07:00
James Lambert 107b5efd97 fix issue with collision grid generation 2022-12-24 11:33:18 -07:00
James Lambert e348d8163e More work on level generation via luascript 2022-12-23 19:20:25 -07:00
James Lambert 9f6891b6fd Work on translating export script 2022-12-22 22:02:08 -07:00
James Lambert 6332f2f5cf Start work on trigger 2022-12-22 10:54:42 -07:00
James Lambert 55411ce6e2 Finish up portal surface mapping 2022-12-21 21:12:49 -07:00
James Lambert 80a762eee8 Work on portal surface generation in lua 2022-12-21 20:35:54 -07:00
James Lambert 7a0318e5ea Work on lua level export script 2022-12-19 22:16:31 -07:00
James Lambert 6f78076558 work on dynamic signage 2022-08-09 12:59:09 -06:00
James Lambert ec0c6a79dc Work on portal gun pedestal
work on movement polish
2022-08-04 12:58:10 -06:00
James Lambert 20f84f1fd4 Fix pointers after loading level from cart 2022-07-24 16:03:29 -06:00
James Lambert 0a8db5cc0e Seperate levels from code segment 2022-07-24 08:52:28 -06:00
James Lambert edd22cd670 Work on swept collision 2022-07-24 08:27:12 -06:00
James Lambert c38a5d5472 Some minor bug fixes 2022-07-14 16:57:44 -06:00