Address some TODOs

This commit is contained in:
Miloslav Ciz 2025-04-20 13:45:36 +02:00
parent 51bc7ada30
commit 975bf16399
3 changed files with 12 additions and 8 deletions

View file

@ -50,7 +50,7 @@ Please note the game is realtively simple and **the physics IS shitty at times**
## Manifesto
At this point I can't possibly summarize my views and life philosophy satisfyingly in a few paragraphs. If you're interested, kindly follow the rabbithole leading to my [website](http://www.tastyfish.cz) etc. If you're easily triggered and offended, rather avoid it.
At this point I can't possibly summarize my views and life philosophy satisfyingly in a few paragraphs. If you're interested, you'll be able to discover a rabbithole around my stuff, but I can almost certainly say you won't like it, so think twice.
## Legal "Rights"

View file

@ -1,5 +1,8 @@
=========== GENERAL ==============
- add simple particle effects for grass/dirt/drift? Can be just a few squares
animated from the projected backwheels.
- fix the ramp map again due to new physics
- keyboard ghosting is an issue, particularly when initiating drift with brake
(arrow keys must be used with S for braking for left drift to work) -- think
about what to do about this? or leave as is?
@ -70,18 +73,18 @@
turned on the roof, once even shot to the ceiling of the map.
- Managed to get the car stuck in non-rotating state, then after a while get
it back by crashing.
- very rarely the near plane overflow bug still happens, maybe shift near plane
a bit further still?
- sometimes during long loading the screen goes black, seems to have appeared
after adding LCR_LOADING_COMMAND (seems fixed now)
- immediately after starting the map countdown seems to be lower (seems to
perhaps be caused by nextPhysicsFrameTime, look into it)
- the pinch collision test seems to sometimes stop the car e.g. after falling
from bigger height or when running into ramp at high speed (or not?) - FIX
=========== HANDLED ==============
- MAP4: one triangle in top section is missing!
- the pinch collision test seems to sometimes stop the car e.g. after falling
from bigger height or when running into ramp at high speed (or not?) - FIX
- sometimes during long loading the screen goes black, seems to have appeared
after adding LCR_LOADING_COMMAND (seems fixed now)
- very rarely the near plane overflow bug still happens, maybe shift near plane
a bit further still?
- Unstuck idea: make the body non-rotating for a while?
- Create a physics test map.
- Antibug: maybe always simulate the step with non-rotating body AND normal one

View file

@ -34,7 +34,7 @@
#define S3L_FLAT 1
#endif
#define S3L_NEAR (S3L_F / 2)
#define S3L_NEAR (10 * (S3L_F / 16)) // too low value will cause overflows
#include "small3dlib.h"
/// Renderer specific unit, length of one map square.
@ -2011,6 +2011,7 @@ void LCR_rendererCameraReset(void)
LCR_renderer.scene.camera.transform.rotation.x = 0;
LCR_renderer.scene.camera.transform.rotation.z = 0;
LCR_rendererCameraFollow(2);
LCR_rendererCameraFollow(1);
}