Commit graph

1119 commits

Author SHA1 Message Date
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
James Lambert 6f68f5057d Start work on platform moving sounds 2023-10-05 21:18:20 -06:00
James Lambert d08cbbb0b8 Improve appearance of light rail endcaps 2023-10-04 21:47:21 -06:00
westonCoder 93cb25db64 Game Options Menu Tweaks
This PR implements the following quality of life/bug fixes, as well as a new feature:
- fixed a minor bug where you couldnt apply a single button to look forward/look back
- start no longer exits the menu. this is because if the player set a or b buttons as the pause action, they could no longer use the menu's anymore, because it would exit them from the menu.
- adjusted the sensitivity/accelleration sliders down slightly
- added a portal render depth slider in the GameplayOptions menu. this allows the player to adjust the portal render depth in real time. this was in the original game in the menu so I replicated here.

attached video shows new menu additions.
2023-10-04 11:58:04 -05:00
westonCoder a6b66783f8 Various Tweaks to Portal Gun Mechanics
- tweaked portal gun to have a max fire rate, that is tied to its animation speed (used video of portal1 for reference)
- allowed ControllerActionOpenPortal1 and ControllerActionOpenPortal2 actions to be "Holdable" meaning that you can hold down the button and continuously do that action
- made sure two portals cant be shot at once, prohibiting both buttons being held at once.

video attached:
2023-10-04 00:14:55 -05:00
James Lambert 5bdefbf465 Merge coplanar static meshes to reduce culling load 2023-10-02 21:20:52 -06:00
James Lambert ba67c38665 Wake up objects when portals are shot underneath then 2023-10-01 20:41:48 -06:00
James Lambert 7dc17db4a8 turn on optimizations 2023-10-01 20:16:05 -06:00
James Lambert c9745a14a1 Fix problem where player falls through floor after teleporting to a different room 2023-09-30 21:40:38 -06:00
James Lambert 11c359d8e6 Make point constraint less likely to push things through wall 2023-09-30 21:16:08 -06:00
James Lambert b575325ed2 Fix bug where you can shoot through the back of glass 2023-09-30 20:53:53 -06:00
James Lambert 2546a0ef46 Mark another task off the README 2023-09-30 18:03:11 -06:00
James Lambert dd54ac6aea Add trigger to prompt switch usage 2023-09-30 18:02:35 -06:00