This function is supposed to return a point on a quadratic function, but it doesn't work right.
function launch(h,v,t) return -(v*t^2)/h^2+(2*t*v)/h end
Whenever I call this:
for i=0,80 do pset(i,launch(40,40,i),8) end
It appears like this:
Did I do something wrong, or is this a fault of how Pico-8 works?
A revised version of my entry to Ludum Dare 47.
Added some music, effects, and other things.
You are a satellite tasked with scanning a foreign planet. Travel through the data ring hotspots while avoiding the planet’s meteor showers, asteroid belts, and electric discharges.
Controls: Hold Z to fly in the inner ring and X to fly on the outer one. You orbit faster when you are closer to the planet and slower when you are further away. Use that to your advantage!
Made for Ludum Dare 47: Stuck in a loop