GabeD [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=22294 Hell Hole <h1>Finally finished my first full PICO-8 game!</h1> <p> <table><tr><td> <a href="/bbs/?pid=65844#p"> <img src="/bbs/thumbs/pico8_hellhole-7.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65844#p"> Hell Hole 1.1</a><br><br> by <a href="/bbs/?uid=22294"> GabeD</a> <br><br><br> <a href="/bbs/?pid=65844#p"> [Click to Play]</a> </td></tr></table> </p> <h2>Manual</h2> <h3>Controls:</h3> <ul> <li>Movement: up,down,left,right</li> <li>Attack: Hold X or Z</li> </ul> <h3>How To Play:</h3> <ul> <li>Move your <strong>avatar</strong> around the screen to avoid getting hit by <strong>demons</strong> and <strong>saw-blades</strong>.</li> <li>Hold the attack buttons to shoot your <strong>soul</strong> out and control it to hit <strong>demons</strong>.</li> <li>You can't move your <strong>body</strong> while using your <strong>soul</strong>. Your <strong>body</strong> is still vulnerable.</li> <li>Let go of the attack button to return your <strong>soul</strong> to your <strong>body</strong>.</li> <li>You can't damage <strong>saw-blades</strong>.</li> <li>Survive 66 seconds...</li> </ul> <h3>Characters:</h3> <ul> <li>Player: <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/22294_1.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_22294_1"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/22294_1.txt", function (retdata){ var el = document.getElementById("gfxcode_22294_1"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_22294_1" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </li> <li>Player Body (Vessel): <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/22294_2.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_22294_2"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/22294_2.txt", function (retdata){ var el = document.getElementById("gfxcode_22294_2"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_22294_2" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </li> <li>Player Soul: <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/22294_3.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_22294_3"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/22294_3.txt", function (retdata){ var el = document.getElementById("gfxcode_22294_3"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_22294_3" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </li> <li>Demon: <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/22294_4.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_22294_4"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/22294_4.txt", function (retdata){ var el = document.getElementById("gfxcode_22294_4"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_22294_4" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </li> <li>Saw-blade: <table><tr><td width=64> <img src="https://www.lexaloffle.com/bbs/gfxc/22294_5.png" width=64 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_22294_5"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/22294_5.txt", function (retdata){ var el = document.getElementById("gfxcode_22294_5"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [16x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_22294_5" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </li> </ul> <h3>Credits:</h3> <ul> <li>Original concept, design, programming, art: <strong>Gabriel Duarte</strong></li> <li>Aditional art: <strong>Liam McAlinden</strong></li> </ul> <h3>Original Version</h3> <p>You can play the original version over at <a href="https://elgabe.itch.io/hellhole">Itch.io</a>.</p> https://www.lexaloffle.com/bbs/?tid=34725 https://www.lexaloffle.com/bbs/?tid=34725 Sun, 14 Jul 2019 21:32:48 UTC HellHole Playtest <p> <table><tr><td> <a href="/bbs/?pid=65472#p"> <img src="/bbs/thumbs/pico8_hellhole-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65472#p"> Hell Hole</a><br><br> by <a href="/bbs/?uid=22294"> GabeD</a> <br><br><br> <a href="/bbs/?pid=65472#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi!</p> <p>A while ago I decided to port a game I made to PICO-8, and I'm finally almost done :D All that's missing is SFXs and a dope title image/cart cover. I'm posting this here because I'd love to playtest it here and get your opinions on it so don't hesitate to tell me if something sucks!</p> <p>Also, don't look into the code too much, I'm not a great programmer...</p> https://www.lexaloffle.com/bbs/?tid=34607 https://www.lexaloffle.com/bbs/?tid=34607 Sat, 29 Jun 2019 21:01:49 UTC HellHole - PICO-8 port? <p>Wow. PICO-8 is extremely fun to work with, and I'm so happy I stuck around to learn how to use it!</p> <p>Right now I'm learning how to work with tables and 'objects' to sort of port a game I'm currently developing called HellHole. It's a top-down shooter where you choose between controlling your body or the bullet (which is your soul).</p> <p>So far, I've managed to not slow down the game with a shit ton of instances and that makes me happy!</p> <p>I'll leave you with a gif of the latest bit of progress: A spawner, soul particles, and screen-shake.</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/22294/hellhole_0.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=32656 https://www.lexaloffle.com/bbs/?tid=32656 Fri, 21 Dec 2018 15:17:57 UTC Can a PICO-8 game close itself? <p>Hi! I'm developing a short little game in PICO-8 and plan to export it as an executable. The problem is, I would like the game to close itself after something happens. I've tried using the 'shutdown', 'exit' and 'stop' functions but none of them closes the window at the end of the game.</p> <p>Is there even a way to do this? Or perhaps I'm using the previously mentioned functions in a wrong way?</p> <p>Thanks for the help!</p> https://www.lexaloffle.com/bbs/?tid=32607 https://www.lexaloffle.com/bbs/?tid=32607 Tue, 18 Dec 2018 18:47:41 UTC Blue Balls <p> <table><tr><td> <a href="/bbs/?pid=43188#p"> <img src="/bbs/thumbs/pico43187.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=43188#p"> Blue Balls</a><br><br> by <a href="/bbs/?uid=22294"> GabeD</a> <br><br><br> <a href="/bbs/?pid=43188#p"> [Click to Play]</a> </td></tr></table> </p> <p>A game made in 1 hour for the 1 hour game jam.</p> <p>Shoot the blue thing 100 times.</p> https://www.lexaloffle.com/bbs/?tid=29779 https://www.lexaloffle.com/bbs/?tid=29779 Sat, 12 Aug 2017 17:24:32 UTC Weird Collision Bug on Corners <p> <table><tr><td> <a href="/bbs/?pid=43143#p"> <img src="/bbs/thumbs/pico43142.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=43143#p"> Weird Collision Bug on Corners</a><br><br> by <a href="/bbs/?uid=22294"> GabeD</a> <br><br><br> <a href="/bbs/?pid=43143#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi! I just started using PICO-8 and I'm having a little trouble with my collision code.</p> <p>It works fine when colliding against walls, but colliding against corners (the red tiles) breaks it.</p> <p>Here is the collision part of the code:</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 placeMeeting(x, y, f) local tilesize = 8 local tilex = flr(x/8) local tiley = flr(y/8) local s = mget(tilex, tiley) return (fget(s, f)) 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>And this is the movement part:</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> if (btn(0)) then if (not placeMeeting(p.x-1, p.y, solidtile)) then p.x -= p.speed end p.mirror = true elseif (btn(1)) then if (not placeMeeting(p.x+p.bbox_w+1, p.y, solidtile)) then p.x += p.speed end p.mirror = false end if (btn(2)) then if (not placeMeeting(p.x, p.y-1, solidtile)) then p.y -= p.speed end elseif (btn(3)) then if (not placeMeeting(p.x, p.y+p.bbox_h+1, solidtile)) then p.y += p.speed 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>Thanks for the help :D</p> https://www.lexaloffle.com/bbs/?tid=29769 https://www.lexaloffle.com/bbs/?tid=29769 Wed, 09 Aug 2017 00:52:45 UTC