Commit graph

944 commits

Author SHA1 Message Date
James Lambert 4698987fd6 Add some details to test chamber 05 2023-10-14 19:38:05 -06:00
Weston 125197508e
Merge branch 'master' into audio-through-portals 2023-10-14 20:34:20 -05:00
lambertjamesd 219650dcd9
Merge pull request #287 from westonCoder/add-volume-sliders
Added in Volume Sliders And All Captions
2023-10-14 19:29:53 -06:00
westonCoder 64f1c52f71 removed sqrt and cleaned up useless comments 2023-10-14 20:19:10 -05:00
James Lambert d7842f9697 Add test chamber 05 observation room details 2023-10-14 18:38:35 -06:00
westonCoder 3b43017b03 Audio Now Travels Through Portals
- audio travels through portals now by updating the soundPlayerDetermine3DSound function
- basically instead of just checking distance to the sound producer, we also check sound->portal0+portal1->listener and sound->portal1+portal0->listener to see if any of them are a smaller distance.
- works pretty seamlessly

Fixes #115
2023-10-14 17:34:10 -05:00
James Lambert ea5665af0f observation room decor test chamber 04 2023-10-14 15:41:10 -06:00
James Lambert 8a5cca8e60 More room decor 2023-10-14 15:22:54 -06:00
westonCoder 88883bc34e adjusted the newline threshold for text down by 2 characters 2023-10-14 15:50:29 -05:00
westonCoder a8e1afbb20 Added Portal Funneling
- added a function in player that implements portal funneling (video attached)
- added a new menu option in the gameplay tab that allows you to toggle it on or off
- the toggle defaults to on, just like in original portal
- portal funneling is only done on portals facing up
2023-10-14 12:28:10 -05:00
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
westonCoder eb5668f485 hides hud while on pause screen like in original game 2023-10-12 18:57:48 -05:00
westonCoder ad0577dc45 added all captions option, implemented all current sfx captions 2023-10-12 13:17:46 -05: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
westonCoder a9d16f3185 Added in Volume Sliders
- Master Volume adjusts all sounds including music
- Music slider adjusts only music sounds
- new enum added to insicate which type of sound each sound being played is.
- general menu formatting

because we are now guaranteeing that atleast one english caption file is going to be present, I removed the if statements checking if there was more than 0.

I pretty throughoughly tested and everything seems to be working properly.
2023-10-11 17:28:56 -05: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