megabyte112 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=63540 Lander <p> <table><tr><td> <a href="/bbs/?pid=111160#p"> <img src="/bbs/thumbs/pico8_lander112-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=111160#p"> Lander v1.1</a><br><br> by <a href="/bbs/?uid=63540"> megabyte112</a> <br><br><br> <a href="/bbs/?pid=111160#p"> [Click to Play]</a> </td></tr></table> </p> <h3>Lander</h3> <p>I wanted to try out physics in PICO-8, so I made this!</p> <p>A short minigame about landing a spacecraft on a planet.</p> <p>Use left and right to move sideways, and circle to use your main engine.</p> <p>There is also a brief tutorial to let you get used to the controls.</p> <p>I'll release this on itch.io soon!</p> <h3>Changelog</h3> <ul> <li>V1.0 - Initial release</li> <li>V1.1 - Made landing transition smoother, score no longer counts on collision</li> </ul> https://www.lexaloffle.com/bbs/?tid=47622 https://www.lexaloffle.com/bbs/?tid=47622 Sun, 01 May 2022 22:23:50 UTC Illegal File/Folder Names in Windows <h2>Firstly,</h2> <h1>PLEASE DO NOT TRY THIS!!!</h1> <h2>You may end up with files or folders that you cannot remove.</h2> <p>(I don't wanna be responsible for damages!)<br /> Edit: It turns out there is a way to remove them, see below.</p> <h3>Illegal Names?</h3> <p>Not many people know this, but there are some folder or file names that Windows won't allow you to use. These include 'con', 'aux', 'nul', 'lpt0', and others. Seriously, if you're using Windows right now, make a new folder, and name it &quot;con&quot;, it will tell you &quot;The specified device name is invalid&quot;. (This is safe to try since the folder never actually gets renamed)</p> <img style="margin-bottom:16px" border=0 src="/media/63540/namecon" alt="" /> <p>Through curiosity I discovered that PICO-8 completely ignores this rule and allows you to create folders or files with these names using the 'mkdir' and 'save' commands.</p> <img style="margin-bottom:16px" border=0 src="/media/63540/lscon" alt="" /> <h3>What's the problem?</h3> <p>Naming a folder 'con' seemed to have no issues other than refusing to be opened by the 'folder' command, however once I named a folder 'nul', it became impossible to remove. Windows prevents you from renaming or deleting it, so I now have a folder that I can move around, but not remove, rename, or open.</p> <img style="margin-bottom:16px" border=0 src="/media/63540/toobig" alt="" /> <p>*This is what it shows when trying to rename the 'nul' folder. The folder isn't 'too big', Windows just isn't designed to handle this situation.</p> <p>EDIT: Thanks to <a href="https://www.lexaloffle.com/bbs/?uid=14590"> @2bitchuck</a>, you can remove these folders by opening Command Prompt and typing <code>rmdir \\.\C:\path_to_folder /s</code>, replacing &quot;path_to_folder&quot; with the full path of the folder.</p> <h3>The solution?</h3> <p>The only solution I can think of is that PICO-8 checks whether it is running on Windows, and prevents the user from creating illegal folder names.</p> https://www.lexaloffle.com/bbs/?tid=47514 https://www.lexaloffle.com/bbs/?tid=47514 Sat, 23 Apr 2022 15:51:54 UTC Snak <p> <table><tr><td> <a href="/bbs/?pid=109769#p"> <img src="/bbs/thumbs/pico8_snak-11.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=109769#p"> Snak v1.7</a><br><br> by <a href="/bbs/?uid=63540"> megabyte112</a> <br><br><br> <a href="/bbs/?pid=109769#p"> [Click to Play]</a> </td></tr></table> </p> <h2>CONTAINS FLASHING IMAGES!!!</h2> <img style="margin-bottom:16px" border=0 src="/media/63540/tbicon.png" alt="" /> <p><object width="640" height="400"><param name="movie" value="https://www.youtube.com/v/7Bq6zQHjLTQ&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/7Bq6zQHjLTQ&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="400"></embed></object></p> <h3>Snak</h3> <p>I spent way too much time making this.<br /> It's a clone of snake, and I'm sure you already know the rules.<br /> However, the background reacts in time with the music, and the snake also moves in time with the music.</p> <p>There are 4 playable &quot;stages&quot;, each with a different song and color scheme. After completing all 4, you have the option to restart in endless mode. You reach the next stage after the snake (known as &quot;Snek&quot;) consumes 50 food (known as &quot;Snak&quot;). If Snek collides with the wall or their body, they revert to the beginning of the current stage.</p> <p>There's some hidden quality of life improvements too, like queueing button presses if you press too quickly, preventing misclicks when sliding adjacent to a wall, and giving a short grace period before a game over.</p> <p>Let me know what you think, there's always room for improvement! I'm somewhat new to PICO-8 and Lua so my code may be a little rusty.</p> <h3>Changelogs</h3> <ul> <li> <p>V1.1: I have updated the cart to version 1.1, which fixes some graphical bugs, and allows saving and loading.</p> </li> <li> <p>V1.2: Fixed a possible softlock: I only had this issue when playing on the BBS post and not anywhere else, so I hope this is fixed now (Edit: it didn't). Also added a small version indicator in the bottom left.</p> </li> <li> <p>V1.3: Simplified title screen, added keyboard control glyphs for those who are unfamiliar with PICO-8's controls, title screen now shows the stage that the game was saved at, fixed an issue where length after stage transition wouldn't be right, maybe hopefully fixed softlock on Lexaloffle BBS (Edit: it worked!!)</p> </li> <li> <p>V1.4: Fixed length after stage transition (again -_- )</p> </li> <li> <p>V1.5: Redesigned the title screen, fixed bug where the Snak had a small chance to spawn at Snek's head, added new logo</p> </li> <li> <p>V1.6: SPRINTING! Most of the feedback from this game was that it was painfully slow, so you can now fill up your stamina by eating Snak, and sprint using the circle button. Also added sound effect for changing stages, since it didn't get added in the last one. Save files from before V1.6 will not work on this version.</p> </li> <li>V1.7: Added a mini tutorial section at the beginning, slightly changed sprinting animation color, added debug mode toggle if using a keyboard (press END to enable and HOME to disable).</li> </ul> <p>Snak is also available on itch.io here: <a href="https://megabyte112.itch.io/snak">https://megabyte112.itch.io/snak</a><br /> Snak's code and extracted assets are also available on GitHub: <a href="https://github.com/megabyte112/Snak">https://github.com/megabyte112/Snak</a></p> https://www.lexaloffle.com/bbs/?tid=47268 https://www.lexaloffle.com/bbs/?tid=47268 Wed, 06 Apr 2022 00:15:53 UTC Conway's Game of Life <p> <table><tr><td> <a href="/bbs/?pid=107703#p"> <img src="/bbs/thumbs/pico8_life8-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=107703#p"> Conway's Game of Life</a><br><br> by <a href="/bbs/?uid=63540"> megabyte112</a> <br><br><br> <a href="/bbs/?pid=107703#p"> [Click to Play]</a> </td></tr></table> <br /> My first ever PICO-8 creation, spent about 2 days on it.<br /> Conway's Game of Life, made in PICO-8.</p> <p>Place/Destroy with O<br /> Pause/Play with X<br /> While paused you can draw your own patterns and watch how they evolve.</p> <p>Also on GitHub <a href="https://github.com/megabyte112/life-8">https://github.com/megabyte112/life-8</a></p> https://www.lexaloffle.com/bbs/?tid=46757 https://www.lexaloffle.com/bbs/?tid=46757 Sat, 26 Feb 2022 21:03:50 UTC