Log In  
Follow
Aimaniac

???

:: Unfold ::

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?

P#83561 2020-10-31 23:58 ( Edited 2020-10-31 23:58)

:: Unfold ::

Cart #orbitrarypld-0 | 2020-10-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

A revised version of my entry to Ludum Dare 47.
Added some music, effects, and other things.

P#83436 2020-10-28 23:29

:: Unfold ::

Cart #besasoheme-0 | 2020-10-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

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
https://ldjam.com/events/ludum-dare/47/orbitrary

P#82612 2020-10-05 20:51

Follow Lexaloffle:          
Generated 2023-09-30 10:24:44 | 0.062s | Q:14