tenpn [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=9878 Sand Toy (wip) <p> <table><tr><td> <a href="/bbs/?pid=28377#p"> <img src="/bbs/thumbs/pico28376.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=28377#p"> Sand Toy (wip)</a><br><br> by <a href="/bbs/?uid=9878"> tenpn</a> <br><br><br> <a href="/bbs/?pid=28377#p"> [Click to Play]</a> </td></tr></table> </p> <p>Watch sand fall in interesting patterns. </p> <p>Looking for advice on optimising (and profiling?) this. On my old macbook pro it runs at around 10fps at <em>best</em>. I can't see any profiling tools built in to p8 but maybe I missed something? What's generally considered slow? I've sped this up by reducing the size of the simulation and mirroring, so it's really only running a 45x64 sim.</p> <p>Things I'm thinking about:</p> <ul> <li>some sort of &quot;active islands&quot; system for not updating the whole sim every update</li> <li>not clearing the screen but remembering the part of the screen that are unstable, to reduce rendering costs, but I think (again, no way to measure) that it's update-bound. </li> </ul> https://www.lexaloffle.com/bbs/?tid=27642 https://www.lexaloffle.com/bbs/?tid=27642 Mon, 12 Sep 2016 04:50:17 UTC Hat Jumper <p>This is my first pico8 game. The tile collision detection is a little ropy, the code is terrible, and there's no restart loop, but I like the handling and the animation of the little hat dude. Even though when standing still he looks a little like a horse in a yellow coat.</p> <p> <table><tr><td> <a href="/bbs/?pid=11144#p"> <img src="/bbs/thumbs/pico11143.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=11144#p"> Hat Jumper 0.1</a><br><br> by <a href="/bbs/?uid=9878"> tenpn</a> <br><br><br> <a href="/bbs/?pid=11144#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=2056 https://www.lexaloffle.com/bbs/?tid=2056 Sat, 06 Jun 2015 09:14:03 UTC