Anastasia Dunbar [Lexaloffle Blog Feed] Platformer example <p> <table><tr><td> <a href="/bbs/?pid=30410#p"> <img src="/bbs/thumbs/pico30409.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=30410#p"> Platformer example</a><br><br> by <a href="/bbs/?uid=10305"> Anastasia Dunbar</a> <br><br><br> <a href="/bbs/?pid=30410#p"> [Click to Play]</a> </td></tr></table> <br /> A platformer example, from GameMaker to PICO-8.<br /> I didn't know that cartridge image displayed your first 2 lines of comments.<br /> Feel free to use this.<br /> Press Z to jump and use arrow keys to move your player.</p> Sun, 09 Oct 2016 09:30:56 UTC Sprite rotation? <p>My code for sprite rotation:</p> <div> <div style="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 sprrot(id,x,y,a,s) id=flr(id) function getcol(px,py) return ((px&lt;1 and py&lt;1)and(px&gt;=0 and py&gt;=0)) and sget((px*8)+((id%16)*8),(py*8)+(flr(id/16)*8)) or -1 end for py=0,s*13 do --floor(9*sqrt(2)) for px=0,s*13 do local uv={x=((px/(11*s))-.6),y=((py/(11*s))-.6)} local col=getcol(((uv.x*cos(a))-(uv.y*sin(a)))+.5,((uv.x*sin(a))+(uv.y*cos(a)))+.5) if(col&gt;0)then pset(flr(x+(px-(6.36*s))),flr(y+(py-(6.36*s))),col) end end end 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>Any better ones?</p> Wed, 10 Aug 2016 05:58:45 UTC Character recognition <p> <table><tr><td> <a href="/bbs/?pid=26055#p"> <img src="/bbs/thumbs/pico26054.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=26055#p"> Character recognition</a><br><br> by <a href="/bbs/?uid=10305"> Anastasia Dunbar</a> <br><br><br> <a href="/bbs/?pid=26055#p"> [Click to Play]</a> </td></tr></table> <br /> It's not finished. It has problems with punctuation, quotation marks and some other symbols.<br /> At least it does with numbers and alphabet well.<br /> Move with arrow keys into a character.<br /> If you know how to improve it, please do it.<br /> The algorithm may be inspired from my mosaic image algorithm.</p> Thu, 28 Jul 2016 22:16:01 UTC How to get index of pattern <p>How to get index of which pattern is currently playing in music?<br /> Not talking about sfx.</p> Thu, 21 Jul 2016 07:58:55 UTC Generated Maze Test <p> <table><tr><td> <a href="/bbs/?pid=25544#p"> <img src="/bbs/thumbs/pico25543.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=25544#p"> Generated Maze Test 1.1.0</a><br><br> by <a href="/bbs/?uid=10305"> Anastasia Dunbar</a> <br><br><br> <a href="/bbs/?pid=25544#p"> [Click to Play]</a> </td></tr></table> <br /> It's my first PICO-8 cartridge uploaded here.<br /> Move with arrow keys and press Z to regenerate.<br /> I've used Prim's algorithm for this. Some common patterns are visible which I don't know how to fix.<br /> This might be buggy, if you're unable to collect all pills please let me know and comment about it because I was a little confused when I coded this.</p> Tue, 19 Jul 2016 09:35:01 UTC Why can't I see puzzles? <p>When I try to play a puzzle, it is just a black screen.</p> Sat, 08 Aug 2015 00:09:47 UTC