Add map beating

This commit is contained in:
Miloslav Ciz 2025-01-27 23:46:44 +01:00
parent 2172fcedd1
commit ea105ba3f3
6 changed files with 119 additions and 18 deletions

View file

@ -1,13 +1,19 @@
=========== GENERAL ==============
- make a small txt game menual
- test if the replay stretching works
- test:
- long replay
- replay stretching works
- replay with input not occuring for more that LCR_SETTING_GHOST_STEP
- replay validation
- ghosts: if the replay for the ghost is too long (too many samples for the
preallocated array), we can subdivide the sample resolution (i.e. "stretch"
the samples) to cover the whole replay (ofc for the price of worse quality).
- add argc/argv to gameInit? could be used to quickly start maps, verify
replays etc.
replays etc. Options:
-sN: sound (0/1)
-mN: music (0/1)
-cN: set camera
-M: load last map in resource files (good for making maps)
-R: load last replay in resource files (good for making TASes)
-P: load and play against last replay in resource files
- maybe each map could have a target time embedded: when beaten, the map would
be marked as such
- player name (modifiable via resource file)
@ -24,13 +30,15 @@
=========== BUGS =================
- starting test replay two twice in a row breaks it
- drawing dithered transparent objects fills z-buffer in the transparent parts
and then the geometry behind it isn't drawn <- PARTIALLY FIXED NOW
=========== HANDLED ==============
- allow stopping car rotation in air like in Trackmania
- drawing dithered transparent objects fills z-buffer in the transparent parts
and then the geometry behind it isn't drawn <- PARTIALLY FIXED, LOOKS GOOD
- starting test replay two twice in a row breaks it
- ghosts: if the replay for the ghost is too long (too many samples for the
preallocated array), we can subdivide the sample resolution (i.e. "stretch"
the samples) to cover the whole replay (ofc for the price of worse quality).
- force chunk reload upon map restart so that there's no blinking at start
- ghost visible distance -- maybe even car should have this (watching rep with
free camera)? maybe generalize setCar/GhostVisibility to