amidos2006 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=32255 SQUIBIDI <p> <table><tr><td> <a href="/bbs/?pid=65076#p"> <img src="/bbs/thumbs/pico8_squibidi-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65076#p"> squibidi</a><br><br> by <a href="/bbs/?uid=32255"> amidos2006</a> <br><br><br> <a href="/bbs/?pid=65076#p"> [Click to Play]</a> </td></tr></table> </p> <p><strong>SQUIBIDI</strong> is my entry to the #7DBL jam happening on itch.io where you have to design a game in the same style of Micheal Brough games. In <strong>SQUIBIDI</strong>, you play as a squid that is trying to escape from the underwater kingdom while every other sea creature is trying to stop you. You can shoot ink in the opposite direction of the movement to kill enemies or change direction or you can drift with the water to recharge your ink capacity.</p> <p>Controls:</p> <ul> <li>Arrows: to shoot ink and change direction</li> <li>X or Z: to drift with the water current and recharge your ink</li> </ul> <p>Tips:</p> <ul> <li>Try not to hit anything as ram into object cause 1 damage to you, only do it when necessary (you can kill enemies by doing that)</li> <li>Killing enemies recharge your ink to the fullist so plan it well</li> <li>The barncle that block the exit is destroyed automatically when you kill all the enemies but you can destroy it by shooting 3 ink balls</li> <li>Enemies with more than 1 health get frozen for one frame when they are hit</li> <li>You gain 1 health back when you advance to the next room</li> </ul> <p>I know it is not much and might have some bugs but I hope you will enjoy it :)</p> <p>Ahmed Khalifa</p> https://www.lexaloffle.com/bbs/?tid=34478 https://www.lexaloffle.com/bbs/?tid=34478 Sat, 08 Jun 2019 15:55:59 UTC Code Arrangement Behavior <p>Hello everyone,<br /> I am kinda new to Pico-8 (as I worked with TIC-80 before). I am working on a game and I was trying to manage the code to be more readable by moving some code around.</p> <p>I added all the helper functions at the top of the p8 file (as I was trying to move it to another lua file to use the #include command). When I ran the code, no error but it didn't behave as it supposes to do. The helper functions use some global variables so I moved that code to be after the definition of the variables and it worked fine.</p> <p>Does functions in pico8 lua bind the variables in the function to the global variables when it is defined (which is before the definition of the variables) that's why it is reading nil? I am not amazing with these binding stuff so sorry if I am using incorrect termonolgy.</p> <p>Ahmed Khalifa</p> https://www.lexaloffle.com/bbs/?tid=34251 https://www.lexaloffle.com/bbs/?tid=34251 Fri, 17 May 2019 23:25:30 UTC