James Lambert
189133c1fe
Finish up credits screen
2023-11-22 15:38:02 -07:00
James Lambert
4844ee54ed
Adjust credits menu
2023-11-22 10:14:18 -07:00
James Lambert
b275813dcd
Use liberation mono for credits font
2023-11-22 09:48:09 -07:00
James Lambert
4e0d2c5a87
Fix crash when loading credits screen
2023-11-22 09:23:39 -07:00
James Lambert
456efb37fa
Start work on credits menu
2023-11-21 21:09:48 -07:00
James Lambert
c4e1af45ba
Add reflection movements back in
2023-11-21 19:36:52 -07:00
James Lambert
2aeb85c3aa
Rotate portal gun when passing through portals
2023-11-21 19:17:05 -07:00
James Lambert
403e0d1bb9
Some more portal gun polish
2023-11-21 18:29:47 -07:00
James Lambert
3a1ddebb26
Add more portal gun animations
2023-11-21 18:12:54 -07:00
James Lambert
6ee43840d2
Add portal gun firing animation
2023-11-20 21:55:09 -07:00
James Lambert
0f5d6b29f6
Fix model export
2023-11-20 21:55:09 -07:00
James Lambert
67d99e1bd3
Start work for animating portal gun
2023-11-20 21:55:09 -07:00
James Lambert
b1e606ce3a
Add portal indicators to portal gun
2023-11-17 22:35:47 -07:00
westonCoder
9caceae408
Add in Invincibility Cheat Code
...
- added a toggleable invincibility cheat code
- video showcasing toggling attached!
2023-11-17 10:54:36 -06:00
westonCoder
e3db2fce08
made the cheat code make a generic menu sound when activated
2023-11-17 10:22:52 -06:00
westonCoder
0834f58831
made the high jump toggle-able
2023-11-17 10:17:40 -06:00
westonCoder
5b1f04f988
Added Player Cheat High Jump
...
added a `playerSetJumpImpulse` function that now allows the players jump amount to be altered.
on init the players jump is set to the global variable
but when you do the high jump cheat code it makes your jump a fun amount :)
tested and working.
cheat code: udududrr
2023-11-17 01:00:37 -06:00
James Lambert
4e06800cff
Make some visual improvments on the portal gun
2023-11-15 21:39:20 -07:00
James Lambert
8fa6ab87b3
Dont persist interlaced setting
...
This is becuase I had an issue where turing the setting off just made the game stop working with my
capture card. I had to turn it on by navigating blindly it the menus. I figure interlaced on
is compatible with more displays and should always be on as you never know when changing the
setting will be incompatible with a display
2023-11-15 19:42:51 -07:00
James Lambert
ab4cbfb2eb
Prevent surfaces from being put on sides of moving objects
2023-11-14 18:52:32 -07:00
James Lambert
0c2881e53e
Fix saving when exiting options menu
2023-11-13 08:06:29 -07:00
hackgrid
90697bc63e
oops
2023-11-13 11:13:42 +01:00
hackgrid
3991559e0f
change joystick string in options
2023-11-13 11:05:18 +01:00
James Lambert
803d30baba
Rebuild font to include missing characters
2023-11-12 21:58:13 -07:00
James Lambert
5d77f1e4aa
Wrap control mapping options if they get too long
2023-11-12 20:49:46 -07:00
James Lambert
2b42c902b4
Fix rounding issues with continuous sliders
2023-11-12 20:21:23 -07:00
hackgrid
b1a03c4512
Merge branch 'master' into translate-hints
2023-11-13 00:18:19 +01:00
hackgrid
619108ae6f
use new font renderer for prompts
2023-11-13 00:12:11 +01:00
James Lambert
0c678d15c0
Fix issue where menu changes when binding controls
2023-11-12 15:12:13 -07:00
hackgrid
c4046a2d1a
fixup
2023-11-12 19:07:08 +01:00
hackgrid
dd20478191
use hints translations
2023-11-12 18:50:17 +01:00
hackgrid
5d94cee11c
fix audio language position
2023-11-12 18:09:32 +01:00
hackgrid
3c2f6fe4e8
fix menu slider sounds
2023-11-12 17:44:26 +01:00
hackgrid
47ac5c663f
fix typo
2023-11-12 17:27:49 +01:00
James Lambert
5d29af1321
Get gamepad menu ready for translations
2023-11-11 15:35:13 -07:00
James Lambert
8c1e7d535c
Remove duplicate settings
...
relayout audio options
add translations support for gameplay options
2023-11-11 14:42:53 -07:00
James Lambert
dd05a3897e
build out video options tab
2023-11-11 14:08:19 -07:00
lambertjamesd
438e45895a
Merge pull request #414 from hackgrid/fix-sound-mapping
...
translation mapping for all sounds (fix #405 )
2023-11-11 11:38:36 -07:00
James Lambert
335bde9482
Translate use defaults button
2023-11-11 10:12:27 -07:00
hackgrid
92ef7a74dc
translation mapping for all sounds ( fix #405 )
2023-11-11 11:29:52 +01:00
James Lambert
950006fdce
Add back msic label
2023-11-10 13:33:43 -07:00
James Lambert
9d07965582
translate controls menu
2023-11-09 21:42:50 -07:00
James Lambert
44ab1ddfcd
Actually fix shooting portal after unpausing bug
2023-11-08 22:10:47 -07:00
James Lambert
7a37be91c9
Translate load and save game menu
2023-11-08 21:49:27 -07:00
James Lambert
60a0e39d1d
Add translations for new game menu
2023-11-07 22:10:41 -07:00
James Lambert
bd1df01ef9
Prevent firing portal gun when exiting pause menu
2023-11-07 20:30:48 -07:00
James Lambert
820e2e274d
Allow sliders to be controller with A button and d pad
2023-11-07 20:18:32 -07:00
James Lambert
7e42aa1746
Dont check culling recursively if node is entirely inside view
2023-11-07 19:56:25 -07:00
James Lambert
1b3c1c9aa4
Translate most of the option tabs
2023-11-06 22:02:38 -07:00
James Lambert
b3674c6845
Allow tabs to grow wider than the screen
2023-11-06 21:37:03 -07:00
James Lambert
eeb0bf572d
Fix some audio settings text problems
2023-11-05 20:46:28 -07:00
James Lambert
00bdc90861
Finish up audio options using the menu builder
2023-11-05 08:48:58 -07:00
James Lambert
9ec21b9c1a
Start migrating audio options to use a menu builder
2023-11-04 22:52:25 -06:00
lambertjamesd
12a236de5c
Merge pull request #403 from hackgrid/skip-intro
...
allow to skip the valve intro with start button
2023-11-04 09:21:50 -06:00
James Lambert
e5a43889cf
Fix crash on intro
2023-11-04 09:20:33 -06:00
hackgrid
81ae9a5608
allow to skip intro with start button
2023-11-04 11:26:18 +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
c1e47eda0e
jump animation
2023-11-02 18:13:55 -06:00
James Lambert
eaf12bbad9
Switch over to rendering from bvh index
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
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
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
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
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
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
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
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
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