After messing around in study hall and polishing it up at home, I've made a crude demo of a rotating map in Pico-8. It's in desperate need of optimization, but it works. This probably isn't the first (and definitely not the last) attempt to do this. I'll probably be trying to work on it over time. If anyone has suggestions, I'd appreciate it!
Current Features:
-Rotation (Hooray!)
-Culling
-A car
Current Bugs:
-There's a weird "Cut-off" effect if you go out far enough, and it shouldn't be a map-based issue.
-The culling is imprecise
-The whole thing is very inefficient
Controls: Z to accelerate, left/right to steer
Yikes! Get all these sin/cos calculations out of the main loop!
(and a square root for good measure x[ !)
See my version at the end of this thread using only differential calc:
https://www.lexaloffle.com/bbs/?pid=51831
Next step: Assault demake :)
[Please log in to post a comment]