Log In  

Cart [#51826#] | Code | 2018-04-21 | License: CC4-BY-NC-SA | Embed

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

P#51827 2018-04-20 23:56 ( Edited 2018-04-21 06:27)

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 :)

P#51832 2018-04-21 02:27 ( Edited 2018-04-21 07:32)

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-09-23 03:02 | 0.019s | 4194k | Q:19