yuni
dd49906cce
clamp input vector, allowing slow motion while holding space
...
In typical games we would normalize the input vector so that diagonal
movement is as fast as forward or sideways movement. But here, we
merely clamp each direction to an absolute maximum of 1, since every
thruster can be used separately. If the forward thrusters and the
leftward thrusters are active at the same time, then of course the total
diagonal acceleration is faster than the forward acceleration alone.
2024-03-29 02:41:05 +01:00
yuni
8f682ee5b6
cleanup
2024-03-29 02:40:55 +01:00
yuni
ac747ac9c3
stop key now breaks with proper engine physics
2024-03-29 02:21:28 +01:00
yuni
add6605a9a
WIP stop key 2
2024-03-29 01:55:23 +01:00
yuni
65c843f55f
WIP stop key
2024-03-29 01:40:58 +01:00
yuni
b96eb701ab
cleanup
2024-03-29 01:31:02 +01:00
yuni
57d651ad04
cleanup
2024-03-29 01:19:37 +01:00
yuni
33bb26b8e1
cleanup
2024-03-29 01:13:28 +01:00
yuni
73d96aa69c
cleanup
2024-03-29 00:14:01 +01:00
yuni
880f92611a
fix up/downward thrusters
2024-03-29 00:09:00 +01:00
yuni
4111f16454
add engine warm up time
2024-03-29 00:03:10 +01:00
yuni
a25b249bb8
enlarge the FoV at high adrenaline
2024-03-28 23:38:41 +01:00
yuni
f4aea80f34
add rocket sound effect for bike
2024-03-28 14:14:49 +01:00
yuni
61324ffe7a
implement entering vehicles, variable engine parameters
2024-03-28 13:26:41 +01:00
yuni
06264159e5
tweaks
2024-03-21 19:01:18 +01:00
yuni
624582f361
finally fix player velocity/momentum
2024-03-21 18:45:43 +01:00
yuni
6a6b53d0c0
cleanup
2024-03-18 04:39:26 +01:00
yuni
a541591b84
add "m" key for muting SFX
2024-03-18 04:10:08 +01:00
yuni
f4dc03516b
face away from the sun
2024-03-18 03:15:31 +01:00
yuni
a7ec9ae5a1
cleanup
2024-03-18 03:06:41 +01:00
yuni
9c2b2e4e0f
add Space key to slow down
2024-03-17 14:39:42 +01:00
yuni
d4114f01c0
disable friction, thrusters now accelerate instead of move
2024-03-17 00:48:23 +01:00
yuni
5471b46c03
add a thruster sound when accelerating
2024-03-17 00:43:26 +01:00
yuni
e400628af5
bulk commit
2024-03-17 00:24:47 +01:00
yuni
559efc68f5
split off camera code into separate camera module
2024-03-16 21:00:40 +01:00