Aimaniac [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=36377 Quadratic Function Trouble <p>This function is supposed to return a point on a quadratic function, but it doesn't work right.</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>function launch(h,v,t) return -(v*t^2)/h^2+(2*t*v)/h end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Whenever I call this:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>for i=0,80 do pset(i,launch(40,40,i),8) end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>It appears like this:</p> <img style="margin-bottom:16px" border=0 src="/media/36377/exp_anomily_000.png" alt="" /> <p>Did I do something wrong, or is this a fault of how Pico-8 works?</p> https://www.lexaloffle.com/bbs/?tid=40105 https://www.lexaloffle.com/bbs/?tid=40105 Sat, 31 Oct 2020 23:58:19 UTC orbitrarypld <p> <table><tr><td> <a href="/bbs/?pid=83436#p"> <img src="/bbs/thumbs/pico8_orbitrarypld-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83436#p"> orbitrarypld</a><br><br> by <a href="/bbs/?uid=36377"> Aimaniac</a> <br><br><br> <a href="/bbs/?pid=83436#p"> [Click to Play]</a> </td></tr></table> </p> <p>A revised version of my entry to Ludum Dare 47.<br /> Added some music, effects, and other things.</p> https://www.lexaloffle.com/bbs/?tid=40063 https://www.lexaloffle.com/bbs/?tid=40063 Wed, 28 Oct 2020 23:29:39 UTC Orbitrary <p> <table><tr><td> <a href="/bbs/?pid=82612#p"> <img src="/bbs/thumbs/pico8_besasoheme-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=82612#p"> Orbitrary</a><br><br> by <a href="/bbs/?uid=36377"> Aimaniac</a> <br><br><br> <a href="/bbs/?pid=82612#p"> [Click to Play]</a> </td></tr></table> </p> <p>You are a satellite tasked with scanning a foreign planet. Travel through the data ring hotspots while avoiding the planet&rsquo;s meteor showers, asteroid belts, and electric discharges.</p> <p>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!</p> <p>Made for Ludum Dare 47: Stuck in a loop<br /> <a href="https://ldjam.com/events/ludum-dare/47/orbitrary">https://ldjam.com/events/ludum-dare/47/orbitrary</a></p> https://www.lexaloffle.com/bbs/?tid=39834 https://www.lexaloffle.com/bbs/?tid=39834 Mon, 05 Oct 2020 20:51:38 UTC