Commit graph

831 commits

Author SHA1 Message Date
hackgrid 44217fb546 Implement modular multi-audio-language support. 2023-10-14 15:13:13 +02:00
James Lambert 738f3c73fa Add observation room decor to test chamber 02 2023-10-13 19:27:01 -06:00
James Lambert 4e79c243b9 Add observation room decor to test chamber 01 2023-10-13 16:37:59 -06:00
James Lambert a66e5fa223 Add more decor to test chamber 00 2023-10-12 19:33:45 -06:00
James Lambert 4445cca8c1 Add desk and chair decor 2023-10-12 18:46:46 -06:00
James Lambert c61a8a802b Add monitor decor object 2023-10-11 21:47:26 -06:00
James Lambert 8fa88a8ae8 remove profile reporting code 2023-10-11 21:45:26 -06:00
James Lambert 1ef301c15e Get rumble pak mostly working 2023-10-11 19:18:50 -06:00
Weston 9f14d9aac2
Merge pull request #286 from westonCoder/makefile-imports-subtitles-fix
Slight Fixes to Subtitles Making
2023-10-11 12:27:02 -05: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
Weston 523f3c8987
Merge pull request #284 from hackgrid/fix-make-3
Fix Makefile
2023-10-11 11:14:06 -05:00
hackgrid ccf57b164a
Update README.md 2023-10-11 11:02:38 +02:00
hackgrid ebc5b112d1
Fix Makefile 2023-10-11 10:59:07 +02:00
James Lambert 1228850440 Better integrate subtitle generation into the build process 2023-10-10 22:13:48 -06:00
James Lambert c18354ad76 Add rumble when player fires portal gun 2023-10-10 21:43:49 -06:00
lambertjamesd ed6dcd5948
Merge pull request #281 from westonCoder/fix-contrib
Fixes CONTRIBUTING.md
2023-10-10 20:34:02 -06:00
lambertjamesd b88d4d1192
Merge pull request #275 from westonCoder/subtitles-dynamic-enhancements
Dynamic Captions Building and Enhancements
2023-10-10 20:33:37 -06:00
westonCoder 3ebdc9997a Fixes CONTRIBUTING.md
Fixes #280
2023-10-10 19:15:55 -05:00
westonCoder 49f24a6359 added all punctuation characters to font, fully tested in game. 2023-10-10 15:11:08 -05:00
westonCoder 285ace8630 fading between subtitles 2023-10-10 11:01:55 -05:00
James Lambert 67cb8c34c0 Add list of things to do before moving first slice out of beta 2023-10-09 21:13:51 -06:00
westonCoder b46a5f8772 added minimum 1 caption file statement in readme 2023-10-09 21:49:23 -05: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
James Lambert b152095821 Turn of rumble pak for now 2023-10-09 20:05:30 -06:00
James Lambert c937b43f78 Fail to get rumble pak working right 2023-10-09 18:52:28 -06:00
James Lambert 08be7b0dd2 Allow the player to move through fizzling objects 2023-10-09 13:05:54 -06:00
James Lambert 13e20dd002 Make render depth a character instead of an int (savefile space is important
)
Change savefile header to prevent loading of an incompatible savefile version
2023-10-08 20:54:26 -06:00
lambertjamesd dc2f5bf37e
Merge pull request #267 from hackgrid/german-audio
Add build support for supported audio languages
2023-10-08 20:19:40 -06:00
lambertjamesd 3802f601f2
Merge pull request #261 from westonCoder/options-menu-tweaks
Game Options Menu Tweaks
2023-10-08 19:38:02 -06:00
westonCoder 9ac42e4fad made the savefile value an int, less computation overall 2023-10-08 13:12:39 -05:00
Weston 74e04eb576
Merge pull request #272 from hackgrid/fix-readme 2023-10-08 09:36:41 -05:00
Weston 733ac3b049
Merge pull request #271 from bor-real/master 2023-10-08 09:35:05 -05:00
hackgrid 199a5536e6
Update add_vpk_here.md 2023-10-08 13:07:27 +02:00
hackgrid 93af0419eb
Update README.md 2023-10-08 13:05:24 +02:00
hackgrid 92f9c0aaea
add french, russian & spanish to Makefile 2023-10-08 13:02:58 +02:00
hackgrid ae26eea93b
Update add_vpk_here.md 2023-10-08 12:25:09 +02:00
hackgrid e259331616
add new vpk files to readme 2023-10-08 12:22:32 +02:00
hackgrid 7982bb408a
Merge branch 'lambertjamesd:master' into german-audio 2023-10-08 12:19:46 +02:00
Boreal c3f64a7c1e
Fix capitalization 2023-10-08 01:37:49 -07:00
James Lambert 8887125fe4 Fixup some portal firing logic 2023-10-07 20:50:06 -06:00
lambertjamesd 8b539390b6
Merge pull request #263 from westonCoder/real-subtitles-addition
Added Subtitles to Game
2023-10-07 19:16:57 -06:00
lambertjamesd 1858d4f14a
Merge pull request #258 from westonCoder/portalgun-firing-updates
Various Tweaks to Portal Gun Mechanics
2023-10-07 19:00:49 -06:00
James Lambert 6035b8e6f9 Add moving platform sounds 2023-10-07 18:48:21 -06:00
hackgrid fe96c4442e
Update README.md 2023-10-07 22:31:51 +02:00
hackgrid ea39e18ca1
add new german_audio target to Makefile 2023-10-07 22:22:32 +02:00
westonCoder 25d4b60a9a added simple subtitle fade in and out 2023-10-07 10:34:26 -05:00
James Lambert 5526034235 Work on piston moving sound effects 2023-10-06 22:12:02 -06:00
westonCoder 70e21e7d5a changed the toggle button to say closed captions instead of enable subtitles 2023-10-06 17:53:37 -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 bc55069056 Use correct starting scene 2023-10-05 21:18:50 -06:00