diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-12-03 11:13:40 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-12-03 11:16:16 -0800 |
commit | d83ecdfb615aaf71e2807886488941bc1cb7a80d (patch) | |
tree | bbaf68986429fab254cf6289fb5c7b9891bb7a18 /src/sars.c | |
parent | 5cf1d72cef303cc71a6a2295ff0074a8e40b5cd6 (diff) |
game: give adult some acceleration steps from standstill
When navigating tight situations the existing instantaneous 0-100
is difficult to control. By introducing a small bit of
acceleration, one can pulse the controls to make small movements.
Note this doesn't introduce a deceleration curve, movement still
stops immediately upon release of the controls. It's not
anything like a physics simulation, it's just a few frames worth
of ramping up to 100% movement speed for the adult, plain linear
ramp for now.
Now it feels like pixel-accurate collision detection might be
worth adding...
Diffstat (limited to 'src/sars.c')
0 files changed, 0 insertions, 0 deletions