Commit graph

100 commits

Author SHA1 Message Date
James Lambert a66e5fa223 Add more decor to test chamber 00 2023-10-12 19:33:45 -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
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 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 c3b06dbec7 Add signage and indicator lights to test chambers 2023-09-05 21:17:14 -06:00
James Lambert 6a603395ab Add indicator lights for signals 2023-09-04 20:39:42 -06:00
James Lambert 6395378285 Generate cutscene yaml and operators yaml 2023-09-02 17:59:01 -06:00
James Lambert 8470c4ae22 Fix some fizzler related issues 2023-07-15 15:35:37 -06:00
James Lambert 90ec9db7bb Add cell collision 2023-07-02 20:23:31 -06:00
James Lambert f3d25a7ed9 Work on intro cutscene 2023-07-01 21:55:44 -06:00
James Lambert 4ae24a854f Security cameras can now detach from wall 2023-07-01 08:31:49 -06:00
James Lambert 617baaaf6e Add security cameras 2023-06-30 23:03:09 -06:00
James Lambert 9ab44568d8 Finish up clock implementation 2023-06-29 21:10:58 -06:00
James Lambert bcba882efd Add clock object 2023-06-29 08:44:11 -06:00
James Lambert 16d7599628 Add toilet to first test chamber 2023-06-26 08:32:48 -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 c1098894be Fix wrong material name 2023-06-15 21:20:40 -06:00
James Lambert bcc75089cd Work on blender materials and use them in test chamber 00 2023-06-15 21:18:44 -06:00
James Lambert 486ebc1973 Implement auto uv as a blender script 2023-06-14 22:09:11 -06:00
James Lambert 9cb838d442 start work on material and lighting rework 2023-06-13 20:54:26 -06:00
James Lambert e088c3959b Get ambient lighting block working 2023-06-06 19:54:18 -06:00
James Lambert 6d8ef41f25 Add thickness to test chamber glass 2023-05-19 12:58:58 -06:00
James Lambert ba5f97b346 Work on main menu camera 2023-04-21 23:32:46 -06:00
James Lambert 6b311659d6 Start work on main menu 2023-04-21 21:05:14 -06:00
James Lambert f612ba79fa Fix first portal wall clipping problem 2023-02-13 08:59:07 -07:00
James Lambert d88499d6ca Fix some physics problems between player and grabbed objects 2023-02-12 21:59:30 -07:00
James Lambert e0789a13fc Add ball burn marks 2023-02-11 21:17:44 -07:00
James Lambert 95f9239d7e Underwater graphics done
moved autoportal frames to be a decor object
2023-02-10 21:11:58 -07:00
James Lambert 1ff35c25f2 Start work on ball launcher, ball catcher, and ball 2023-01-16 14:36:32 -07:00
James Lambert a2f8d743c5 Fix some level details 2022-12-07 22:09:44 -07:00
James Lambert 266ee8c24e Work on test chamber 1 2022-12-06 20:52:15 -07:00
James Lambert f767fdf8ab Add freecam 2022-09-27 19:33:56 -06:00
James Lambert e7601c2e4d Small elevator details 2022-08-31 07:36:07 -06:00
James Lambert f7ee3f1880 Level polish 2022-08-19 21:21:22 -06:00
James Lambert d48c57a19e Work on signage for all levels 2022-08-10 08:24:24 -06:00
James Lambert 0fafeee5b0 Work on pedestal animation 2022-08-08 08:37:33 -06:00
James Lambert 475a182a79 Start work on loading next level 2022-07-25 08:23:27 -06:00
James Lambert b6821b5de6 v0.5.1 2022-07-25 07:43:37 -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 407aaf7bdc Update test chamber 2022-07-16 16:32:31 -06:00
James Lambert 16bf155b16 Fix some hole cutting bugs 2022-07-08 20:48:11 -06:00
James Lambert f7167ecd72 Allow collision surface to portal surface to be a many to many relationship 2022-07-05 13:57:09 -06:00
James Lambert cdd72f9f49 More work on hole cutting algorithm 2022-06-28 08:31:05 -06:00
James Lambert c8a5301eaf Get -02 optimizations working
Fix some small bugs
2022-06-27 21:41:33 -06:00
James Lambert 40cdc0d02a Work on player collision logic some 2022-06-25 15:24:50 -06:00
James Lambert 3d7f85f25d Split triggers and cutscenes and allow cutscenes to reference other cutscenes 2022-06-25 14:10:18 -06:00
James Lambert e788782e57 work on second test chamber 2022-06-24 22:30:12 -06:00