scrimpy [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=55020 cant figure out collision <p> <table><tr><td> <a href="/bbs/?pid=112357#p"> <img src="/bbs/thumbs/pico8_feyazidigi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=112357#p"> untitled</a><br><br> by <a href="/bbs/?uid=55020"> scrimpy</a> <br><br><br> <a href="/bbs/?pid=112357#p"> [Click to Play]</a> </td></tr></table> <br /> I followed a tutorial on collision and cant figure out what's going wrong. its also making another player sprite when I go to the top left of the screen. I'm pretty new to coding and just want to find a not too complicated collision system. any help would be appreciated, thanks.</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>wall=0 function is_tile(tile_type,x,y) tile=mget(x,y) has_flag=fget(tile,tile_type) return has_flag end function can_move(x,y) return not is_tile(wall,x,y) end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=47928 https://www.lexaloffle.com/bbs/?tid=47928 Fri, 27 May 2022 03:31:07 UTC How do I import Aseprite tile sets to Pico 8 <p>I've been trying to import a tile set from Aesprite to Pico 8 and I cant seem to figure it out. The tile set is saved as a PNG and I put it in the Pico 8 carts folder. I tried importing it with the Import command and that wouldn't work. What might I be doing wrong? is there another way of doing this?</p> https://www.lexaloffle.com/bbs/?tid=43222 https://www.lexaloffle.com/bbs/?tid=43222 Sun, 06 Jun 2021 14:05:04 UTC