Commit graph

303 commits

Author SHA1 Message Date
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
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
James Lambert 288407ca02 fix countdown clocks
implement cutscene rumble support
2023-10-23 21:50:23 -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 e1a5a2c852 Get metal reflection effect working 2023-10-20 21:38:11 -06:00
James Lambert e0d0b7d0ea Add valve intro 2023-10-19 22:52:58 -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
westonCoder 5218d30ed1 adjust to be a delay to match up with end of sound 2023-10-16 16:04:57 -05:00
westonCoder a578dcf5de added a wait for glados channel before portal 2023-10-16 13:05:48 -05:00
westonCoder fcc7784288 fixed glados voiceline pause in chamber 04 2023-10-16 11:33:37 -05:00
James Lambert e82418ca65 Add decor objects to observation in test chamber 07 2023-10-14 21:25:22 -06:00
James Lambert df276a563c Add observation decor to test chamber 06 2023-10-14 21:08:36 -06:00
James Lambert 4698987fd6 Add some details to test chamber 05 2023-10-14 19:38:05 -06: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
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
westonCoder 49f24a6359 added all punctuation characters to font, fully tested in game. 2023-10-10 15:11:08 -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
lambertjamesd 8b539390b6
Merge pull request #263 from westonCoder/real-subtitles-addition
Added Subtitles to Game
2023-10-07 19:16:57 -06:00
James Lambert 6035b8e6f9 Add moving platform sounds 2023-10-07 18:48:21 -06:00
James Lambert 5526034235 Work on piston moving sound effects 2023-10-06 22:12:02 -06: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 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
James Lambert dd54ac6aea Add trigger to prompt switch usage 2023-09-30 18:02:35 -06:00
James Lambert f8ca236f1b Allow cube triggers to control if held cubes still trigger 2023-09-30 17:53:48 -06:00
James Lambert 4bc26ef00c Work on action prompts 2023-09-30 16:42:31 -06:00
James Lambert 2641d98eeb Fix floor in test chamber 02 around pedestal 2023-09-28 22:09:24 -06:00
James Lambert 81d446a80e Polish up ball launcher 2023-09-28 18:04:36 -06:00
James Lambert 6344908bd8 Fix portal gun elevator teleportation bug
fix some broken walls in test chamber 07
2023-09-26 18:53:33 -06:00
James Lambert 7b898c1bbd Fix issue with a ceiling surface 2023-09-21 20:31:46 -06:00
James Lambert bddedca707 Fix player collider to be a capsule 2023-09-19 19:22:24 -06:00
James Lambert 55fa62c57e Finish up portal trail effect 2023-09-18 21:08:52 -06:00
James Lambert 65eebe53d3 Work on portal ball trail 2023-09-17 22:35:38 -06:00
James Lambert a391432c72 Work on portal projectile effect 2023-09-15 22:08:32 -06:00
James Lambert 5582be9a3b Make fizzler look better
implement particle effects for exploding balls
2023-09-13 22:05:27 -06:00
James Lambert 6a48f7e405 Polish up fail portal splash particle effect 2023-09-13 20:46:01 -06:00
James Lambert 5aba1b3e77 Implemented very broken portal particle effect
Fixed portal hud indicator
2023-09-12 22:21:52 -06:00
James Lambert cfb98555c5 Make progress on particle effects 2023-09-12 21:43:55 -06:00
James Lambert 7a469245ef Fix broken trigger in test chamber 11 2023-09-06 20:53:24 -06:00
James Lambert 801583dd07 Fix test chamber 05 2023-09-06 19:55:59 -06:00
James Lambert 2a643c5a73 Remove accidental double door 2023-09-05 22:04:51 -06:00
James Lambert de7a728c45 Add signage and indicator lights to another test chamber 2023-09-05 21:55:58 -06:00
James Lambert c3b06dbec7 Add signage and indicator lights to test chambers 2023-09-05 21:17:14 -06:00
westonCoder b958cddb59 Made README More Inviting
- added a slideshow gif of some in game images
- added some details about what the project is, and the major accomplishments
- added some hyperlinks to various pages for easy access

Fixes #229
2023-09-05 14:07:24 -05:00