Commit graph

991 commits

Author SHA1 Message Date
hackgrid 550373c03b
Update README.md with correct paths 2023-11-04 11:00:27 +01:00
hackgrid 202ee5cb3d
oops 2023-11-04 10:12:03 +01:00
hackgrid fb0cd333c2
Update Makefile to require at least one closecaption and gameui language file 2023-11-04 10:08:45 +01:00
hackgrid ddc66bb733
Update README.md for required gameui_* files 2023-11-04 10:05:44 +01:00
hackgrid cc38baffbc
fix language typo 2023-11-04 10:03:12 +01:00
hackgrid fd35a587b5
require at least english gameui texts to build subtitles 2023-11-04 10:01:09 +01:00
James Lambert bab60422bf Add some translations to the audio menu 2023-11-03 22:15:01 -06:00
James Lambert 7e66019aa7 Fix language switching 2023-11-03 20:37:25 -06:00
James Lambert 94f9622861 Add main menu translations 2023-11-02 21:56:36 -06:00
James Lambert 3ee77ffc71 Added cheat to unlock portal gun 2023-11-02 19:03:51 -06:00
James Lambert 6367c299ab Simplify look forward and look backward logic and allow their use when looking straight up or down 2023-11-02 18:35:03 -06:00
James Lambert 33b07871a3 Fix type #397 2023-11-02 18:22:41 -06:00
James Lambert c1e47eda0e jump animation 2023-11-02 18:13:55 -06:00
James Lambert a1c70bbeb1 Fix bvh problems in test chamber 11 #394 2023-11-02 17:34:44 -06:00
James Lambert 349b5843a9 Have bvh be a binary tree instead of whatever I was trying to do before 2023-11-01 21:59:51 -06:00
James Lambert eaf12bbad9 Switch over to rendering from bvh index 2023-11-01 20:28:26 -06:00
James Lambert 0a65dd3fb2 Fix some problems with bvh creation 2023-11-01 20:28:26 -06:00
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
lambertjamesd 61c9f2a0ba
Merge pull request #393 from westonCoder/grabbing-through-multiple-portals
Player can hold objects through portals recursively
2023-10-31 14:25:47 -06:00
westonCoder 963d0fee09 made numPortalsPassed part of raycast struct 2023-10-31 15:17:32 -05:00
westonCoder 4bacaa9607 Player can hold objects through portals recursively
- fixed a bug where security camera was not updating its PLAYER_STANDING flag
- added a new parameter numPortalsPassed to collisionSceneRaycast to indicate how many portals the raycast went through, if any
- altered all player code involving the grabbingThroughPortal variable
- grabbingThroughPortal is now: 0 if not grabbing through portal, >0 if grabbing through portal 0, <0 if grabbing through portal 1.
- objects are dropped when they are being held through a portal and the player no longer has line of sight to them.
2023-10-31 13:21:49 -05:00
lambertjamesd 02237dcfb3
Merge pull request #392 from westonCoder/falling-funnel-fix
Fixes getting stuck infinitly falling
2023-10-30 20:23:59 -06:00
westonCoder 1b1b564c03 Fixes getting stuck infinitly falling
- if you put your self in an infinite fall and had portal funneling enabled you would be stuck there
- this change allows the player to get out of that if they are moving in x or y dir.
2023-10-30 19:08:28 -05:00
lambertjamesd 2de7b2cdb3
Merge pull request #389 from hackgrid/hide-empty-subtitles
don't render empty subtitles
2023-10-30 08:37:05 -06:00
hackgrid 85fe99db91
fix condition 2023-10-30 12:22:24 +01:00
lambertjamesd a6735203f2
Merge pull request #388 from hackgrid/fix-sliders
make languages sliders bigger and fix last value selection
2023-10-29 19:54:04 -06:00
hackgrid ec80a3b315
don't render empty subtitles 2023-10-29 14:28:49 +01:00
hackgrid 0e644e66eb
make languages sliders bigger and fix last value selection 2023-10-29 13:57:32 +01:00
lambertjamesd f09944e43b
Merge pull request #386 from westonCoder/fix-door-clipping
Fixes Player Clipping Issues
2023-10-28 20:13:57 -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
westonCoder 9b7ffeb9e4 made air acceleration a bit smaller 2023-10-28 12:52:37 -05:00
westonCoder b04efece5e applied fixes 2023-10-28 12:22:07 -05:00
James Lambert a9f71892ad Align translations to 16 byte boundary 2023-10-27 20:11:07 -06:00
lambertjamesd 5d695170e4
Merge pull request #385 from westonCoder/fix-door-collision
Fix Door Object Collision Issue
2023-10-27 16:13:32 -06:00
westonCoder 3a4e4b8924 Fixes Player Clipping Issues
Fixes #139

- this fixes player clipping through doors, and out of elevator.
- I made the x and y normalized so that the player doesnt go faster while holding down forward x and forward y
- this made movement a bit slower so I increased PLAYER_SPEED a bit
- also removed a is_fast if statment. this seems to be the primary code that was allowing for the clipping.
2023-10-27 13:45:28 -05:00
westonCoder 7a1c9986a5 correct and move logic to world.lua script 2023-10-27 13:01:57 -05:00
westonCoder 6d4c41d379 Fix Door Object Collision Issue
- simply extended the door quad while checking for rigidbody doorway passing

Fixes #344
2023-10-27 09:55:48 -05:00
lambertjamesd 92056d5e4f
Merge pull request #384 from westonCoder/add-ambient-sound
Fix Save Load Current Sound Problem
2023-10-27 08:25:59 -06: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
westonCoder 282a4befce Fix Save Load Current Sound Problem
Fixes #382

- to alleviate the above issue I saved the current sound from each channel in the cutscene runner and serialize r/w appropriately.
- also made a new channel for Ambient Sounds called CH_AMBIENT. there are now 3 total channels CH_GLADOS, CH_MUSIC, and CH_AMBIENT

the only issue that is remaining is because we are relying on cutscene runner to que up the ambient sounds, the ambient sounds dont start until a cutscene starts on a level. this could be alleviated by making a trigger in the starting elevator of each level that simply triggers the ambient sound to play.
2023-10-26 21:47:31 -05:00
James Lambert bd45d91445 Adjust fall rumble thresholds 2023-10-26 19:26:25 -06:00
James Lambert 7e5a9ff495 Triangulate static vertices 2023-10-26 19:18:06 -06:00
James Lambert 2f911fe58f do not triangulate when exporting 2023-10-26 19:06:42 -06:00
James Lambert b38c920525 Work on intro cutscene 2023-10-26 18:56:49 -06:00
lambertjamesd 30fce9981b
Merge pull request #381 from westonCoder/add-ambient-sound
Added Ambient Sound to Game
2023-10-26 17:58:40 -06:00
westonCoder 4c5c23315b Added Ambient Sound to Game
- simply added the ambient_base sound to the game. its actually a very small sound file, so we could layer on other ambient sounds on top that are queued by different parts of the level in the future if we wanted.
- because this is an activeSound it is also effected by the bug where if you save and reload it is no longer playing (just like the current glados voice line activeSound)
- tested in entire game seems to work well.
2023-10-26 12:40:14 -05:00