lulublululu [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=10685 Man Helsing <p> <table><tr><td> <a href="/bbs/?pid=16356#p"> <img src="/bbs/thumbs/pico16355.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16356#p"> Man Helsing 0.1</a><br><br> by <a href="/bbs/?uid=10685"> lulublululu</a> <br><br><br> <a href="/bbs/?pid=16356#p"> [Click to Play]</a> </td></tr></table> </p> <p>i don't really want to work on this anymore</p> <p>let me know if you like what i was getting at </p> <p>feel welcome to hacking it up and putting something together yourself, the game engine is relatively complete </p> https://www.lexaloffle.com/bbs/?tid=2741 https://www.lexaloffle.com/bbs/?tid=2741 Sat, 07 Nov 2015 15:49:12 UTC Blasteroids <p> <table><tr><td> <a href="/bbs/?pid=14070#p"> <img src="/bbs/thumbs/pico14069.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=14070#p"> Blasteroids 1.0</a><br><br> by <a href="/bbs/?uid=10685"> lulublululu</a> <br><br><br> <a href="/bbs/?pid=14070#p"> [Click to Play]</a> </td></tr></table> </p> <p>Game I created as my submission for Pico Zine #3 with a couple extra embellishments. Haven't had a chance to playtest it with a pal yet, but it seems like its definitely good fun :)</p> https://www.lexaloffle.com/bbs/?tid=2458 https://www.lexaloffle.com/bbs/?tid=2458 Sat, 12 Sep 2015 17:54:21 UTC Inward Expansion <p> <table><tr><td> <a href="/bbs/?pid=13307#p"> <img src="/bbs/thumbs/pico13377.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=13307#p"> Inward Expansion</a><br><br> by <a href="/bbs/?uid=10685"> lulublululu</a> <br><br><br> <a href="/bbs/?pid=13307#p"> [Click to Play]</a> </td></tr></table> </p> <p>This has been my little baby over the past week or so. It started with jotting down the train game by <a href="https://www.lexaloffle.com/bbs/?uid=9616"> @PROGRAM_IX</a> from the Pico-8 zine #1, and then making it my own. I ended up using over half my tokens, two sprite banks, and the entire map space. I will leave it to you to discover its mysteries. Playing alongside a warm beverage recommended.</p> <p>v1.1: Small update to effectively double the rate you gain resources.</p> https://www.lexaloffle.com/bbs/?tid=2360 https://www.lexaloffle.com/bbs/?tid=2360 Sun, 30 Aug 2015 12:16:13 UTC Minimal Tile-Based Collision Script <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 mchk(x, y) return mget(flr(x/8),flr(y/8)) end function move(x, y, w, h, dx, dy, col) w-=1 h-=1 if dx &lt; 0 and mchk(x+dx, y) != col and mchk(x+dx, y+h) != col then x += dx elseif dx &gt; 0 and mchk(x+w+dx, y) != col and mchk(x+w+dx, y+h) != col then x += dx end if dy &lt; 0 and mchk(x, y+dy) != col and mchk(x+w, y+dy) != col then y += dy elseif dy &gt; 0 and mchk(x, y+h+dy) != col and mchk(x+w, y+h+dy) != col then y += dy end return 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> <p>As an exercise, I wrote a small general-purpose collision script and thought I'd offer it up for folks new to P8 or relatively inexperienced with programming.</p> <p>This is purposefully not a one-stop solution, but it may get you going. It is probably more in the spirit of PICO-8 to come up with specified collision routines yourself. At the very least, there's some study value here.</p> <p>Things to consider:</p> <ul> <li>This was built to collide bodies &lt;= 8 pixels wide and tall. With some thoughtful fiddling you can get it to accommodate bodies of any size, but I kept it this way for brevity. </li> <li>It takes up 226 memory. </li> <li>This is made for colliding against maps only.</li> </ul> https://www.lexaloffle.com/bbs/?tid=2334 https://www.lexaloffle.com/bbs/?tid=2334 Mon, 24 Aug 2015 22:27:37 UTC