Commit graph

956 commits

Author SHA1 Message Date
James Lambert 3bfe6f4a76 Add support for fonts with more than 256 chracters 2023-10-28 12:31:30 -06: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 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
James Lambert 996de635b6 Fix weird portal surface glitch when portal is moved 2023-10-25 21:56:32 -06:00
lambertjamesd 0d21f9818b
Merge pull request #367 from westonCoder/add-music-to-chambers
Added music to appropriate levels
2023-10-25 14:09:22 -06:00
westonCoder c11baf4397 readme update 2023-10-25 14:20:57 -05:00
westonCoder ef1ea9f04c Added music to appropriate levels
- added 3 new songs and triggered them at appropriate moments according to the wiki
- made a new CH_MUSIC channel for music
- adjusted music volume to be initialized at 50% which seems like the right volume to match the original game.
- tested the entire game to make sure its all working properly.
2023-10-25 14:17:53 -05:00
lambertjamesd f12f18ae4a
Merge pull request #365 from hackgrid/fix-readme-3
Update Blender version in README.md
2023-10-25 08:44:52 -06:00
hackgrid abecd1f093
Update README.md to mention reflections 2023-10-25 15:48:28 +02:00
hackgrid f2a566e865
Update Blender version in README.md 2023-10-25 15:44:13 +02:00
James Lambert f075892f33 Triangulate meshes in blender when exporting to fbx 2023-10-24 22:30:37 -06:00
James Lambert 5a32c2faec Fix bug where dying while touching a portal can lead to a crash 2023-10-24 21:29:25 -06:00
James Lambert 288407ca02 fix countdown clocks
implement cutscene rumble support
2023-10-23 21:50:23 -06:00
James Lambert 714505f9c0 Take portal gun away from player 2023-10-23 21:14:57 -06:00
James Lambert a6d9924e59 Add cutscene rumble support 2023-10-23 21:12:47 -06:00
James Lambert 15644b5e4d Fix inconsistent player landing rumble 2023-10-23 20:51:51 -06:00
James Lambert 7089c29ecb Pause rumble pak when game is paused 2023-10-21 21:43:14 -06:00
James Lambert 7a5267195d animate ball from pedestal
add camera shake and rumble when auto portals open
2023-10-21 21:35:50 -06:00
James Lambert 3d3c012fea Add portal fizzle rumble 2023-10-20 22:00:59 -06:00
James Lambert e1a5a2c852 Get metal reflection effect working 2023-10-20 21:38:11 -06:00
lambertjamesd c01f5051f6
Merge pull request #342 from westonCoder/save-load-crash-fix
Fixes a save load crash and audio bug
2023-10-20 11:05:00 -06:00
lambertjamesd 5584f4c89c
Merge pull request #345 from hackgrid/fix-readme-2
fix Makefile and update docs
2023-10-20 11:02:00 -06:00
hackgrid 0098405262 fix Makefile and update docs 2023-10-20 11:56:31 +02:00
James Lambert e0d0b7d0ea Add valve intro 2023-10-19 22:52:58 -06:00
westonCoder ccc1ec431f removed needless include 2023-10-19 23:20:42 -05:00
westonCoder b28bd19f6d fixed the root cause instead of ignoring it 2023-10-19 23:19:16 -05:00
James Lambert b737f3a84e Use symbolic link to portal instead of copying individual files 2023-10-19 21:33:39 -06:00
James Lambert f127736008 Add rumble when player lands 2023-10-19 21:04:04 -06:00
westonCoder 6be32e3068 Fixes a save load crash and audio bug
- if the game was saved while the cutscene runner had queued audio lines, when that save was loaded it would crash the game.
- to alleviate I simply deny the player to save while a cutscene audio is playing with the "deny" sound.
- also relieved a bug where audio volume would not be correct after loading a save, by simply updating the volume when a queued level is loaded.

we could probably find the true solution to this crash and allow players to save during a cutscene, however I think this workaround is good for now to avoid crashes.
2023-10-19 19:44:50 -05:00
lambertjamesd f56cafd46a
Merge pull request #332 from hackgrid/non-interlaced
Add option for interlaced / non-interlaced video
2023-10-19 09:15:49 -06:00
hackgrid f1f9918017
Merge branch 'lambertjamesd:master' into non-interlaced 2023-10-19 13:09:28 +02:00
hackgrid 3c47cf537f reset VI special features 2023-10-19 12:12:23 +02:00
James Lambert 743679ddd3 Remove rumble when player passes through portal 2023-10-18 21:02:52 -06:00
James Lambert 8b0dd06f74 Fix bug where restarting a level while dead crashes the game
Also made rumble pack communication thread safe
2023-10-18 20:59:55 -06:00
James Lambert 721dc3b44d Fix problem where it is hard for player to walk onto button 2023-10-18 20:36:44 -06:00
lambertjamesd 38114d3ff1
Merge pull request #335 from westonCoder/standing-object-grab-fix
Standing Object Grab FIx and Slider Fix
2023-10-18 16:48:53 -06:00
lambertjamesd 48e2115ee3
Merge pull request #334 from hackgrid/menu-improvements-2
Various little menu improvements 2
2023-10-18 16:47:39 -06:00
westonCoder dc9a5c0633 Fixes Grabbing Stood On Object
Fixes #255

video attached, you cant hear but when im standing on the object I'm spamming the grab button.
2023-10-18 16:56:50 -05:00