profpatonildo [Lexaloffle Blog Feed] Simple input system <p> <table><tr><td> <a href="/bbs/?pid=84964#p"> <img src="/bbs/thumbs/pico8_simpleinputsystem-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84964#p"> simpleinputsystem</a><br><br> by <a href="/bbs/?uid=45642"> profpatonildo</a> <br><br><br> <a href="/bbs/?pid=84964#p"> [Click to Play]</a> </td></tr></table> </p> <p>Simple input system, to manage key/button presses.</p> <p>Registers pressed and release buttons.<br /> Horizontal axis, vertical axis, O and X buttons are all independent of each other.</p> <p>The code is commented, so you can follow along what it is doing (and possibly improve it, if you wish).</p> <p>As is, it is good enough and does the job, but I wouldn't be surprised if there is a more efficient way of doing this.</p> Wed, 02 Dec 2020 21:06:19 UTC [Feature request] Floppy disk sounds? <p>Working in Pico-8 is pure delight. I think it would be even nicer if we had the option to set Pico-8 to play a brief sound analogous to a floppy disk drive when loading a program/cart. </p> <p>Completely superfluous, but I would be very glad to have this option built in (even if it weren't the default and I had to enable it through a config file or menu).</p> <p>What do you think?</p> Tue, 15 Sep 2020 03:59:43 UTC Circular cartoon fade (vignette effect; fake flashlight) <p> <table><tr><td> <a href="/bbs/?pid=80866#p"> <img src="/bbs/thumbs/pico8_vignette-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80866#p"> vignette</a><br><br> by <a href="/bbs/?uid=45642"> profpatonildo</a> <br><br><br> <a href="/bbs/?pid=80866#p"> [Click to Play]</a> </td></tr></table> </p> <p>Just a simple vignette fade effect (like on loony tunes cartoons, that circular fade in/out).</p> <p>Use X to open the vignette, Z to close it.<br /> Arrow keys move the smiley face.</p> <p>Can also be used to create a fake flashlight effect.</p> <p>The code is very simple and commented, so it can be easily modified/repurposed.<br /> The vignette works with a sprite that you can customize (to create other shapes).<br /> Mine uses 4 sprite slots on the sprite sheet, but you could easily make it work with only one if you really need to save sprites. Just remember to also customize the draw_vignette function to make it work with different sized sprites.</p> Sun, 16 Aug 2020 23:41:11 UTC Music Cart: Sadness and Sorrow (Naruto OST) <p> <table><tr><td> <a href="/bbs/?pid=80439#p"> <img src="/bbs/thumbs/pico8_sadnessandsorrow-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80439#p"> sadnessandsorrow</a><br><br> by <a href="/bbs/?uid=45642"> profpatonildo</a> <br><br><br> <a href="/bbs/?pid=80439#p"> [Click to Play]</a> </td></tr></table> <br /> A cover of Sadness and Sorrow, originally composed by Toshio Masuda for the Naruto OST.<br /> Initially, I wanted to also include the shamisen solo, but it was way too complicated and I ran out of SFX slots to use. Perhaps I'll revisit this in the future and try to include it. </p> Fri, 07 Aug 2020 02:45:39 UTC Music Cart: Big Chungus Main Theme (Big Chungus OST) <p> <table><tr><td> <a href="/bbs/?pid=80316#p"> <img src="/bbs/thumbs/pico8_bigchungus-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80316#p"> bigchungus</a><br><br> by <a href="/bbs/?uid=45642"> profpatonildo</a> <br><br><br> <a href="/bbs/?pid=80316#p"> [Click to Play]</a> </td></tr></table> </p> <p>Now, the best game of all time is also on Pico-8!<br /> Jokes aside, this is just a simple cover of the Big Chungus Main Theme, by Endigo.<br /> Feel free to use it if you make a real Big Chungus game!</p> Mon, 03 Aug 2020 17:48:52 UTC Music Cart: Rocket Jump Waltz (TF2 OST) <p> <table><tr><td> <a href="/bbs/?pid=80099#p"> <img src="/bbs/thumbs/pico8_rocketjumpwaltz-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80099#p"> rocketjumpwaltz</a><br><br> by <a href="/bbs/?uid=45642"> profpatonildo</a> <br><br><br> <a href="/bbs/?pid=80099#p"> [Click to Play]</a> </td></tr></table> </p> <p>One of my favorite songs from the Team Fortress 2 OST.<br /> Original by Mike Morasky</p> Wed, 29 Jul 2020 17:29:45 UTC Bug Smash! <p> <table><tr><td> <a href="/bbs/?pid=79509#p"> <img src="/bbs/thumbs/pico8_bug_smash-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79509#p"> bug_smash</a><br><br> by <a href="/bbs/?uid=45642"> profpatonildo</a> <br><br><br> <a href="/bbs/?pid=79509#p"> [Click to Play]</a> </td></tr></table> </p> <p><em>&quot;It's a gory version of the Mario Paint game with a chill sound track. Very hip.&quot;</em><br /> <em>u/TheRedBeed from r/pico8</em></p> <p>Smash bugs with Z, move with arrow keys.<br /> To start the game, smash the bug!</p> <p>Player 2 can join and play at anytime. The game gets slightly more unforgiving with a second player, to compensate.</p> <p>You can hold down the buttons to move faster and to smash repeatedly or you can tap them to be more precise.<br /> Smashing multiple bugs in a streak without missing gives you bonus points, but it takes more time.<br /> Be it button mashing or attacking with precision, get rid of all the bugs!</p> <p>Coins give you some points.<br /> Clocks give you some points and more time.<br /> Ice gives you some points and freezes the bugs for a short while, making them easier to smash.</p> <p>Time caps at 30 seconds with a single player, to have that in mind when collecting clocks.<br /> After each wave is completed, you get a bit more time.</p> <p>How long can you last and how many bugs can you smash?</p> <p>This was my first Pico-8 game and it was a lot of fun to make it, I hope you enjoy it as well :)</p> Fri, 17 Jul 2020 19:45:21 UTC Music Cart: Hinata vs. Neji (Naruto OST) <p> <table><tr><td> <a href="/bbs/?pid=79476#p"> <img src="/bbs/thumbs/pico8_hinataneji-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79476#p"> Music Cart: Hinata vs. Neji (Naruto OST)</a><br><br> by <a href="/bbs/?uid=45642"> profpatonildo</a> <br><br><br> <a href="/bbs/?pid=79476#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is just a music cart I made to learn the music editor. It was very interesting to learn how the music editor works. Now, I want to get better at this and make more music covers in the future.</p> Fri, 17 Jul 2020 01:38:56 UTC Simple Text Box Example <p> <table><tr><td> <a href="/bbs/?pid=78868#p"> <img src="/bbs/thumbs/pico8_bururhopi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=78868#p"> Simple Text Box Example</a><br><br> by <a href="/bbs/?uid=45642"> profpatonildo</a> <br><br><br> <a href="/bbs/?pid=78868#p"> [Click to Play]</a> </td></tr></table> <br /> This is a simple typewriter style text box, like we see in many RPGs and Adventure games.</p> <p>I was looking for examples of text boxes like these and only found complex and robust examples. They are excellent! But I thought it would be useful to have a simpler more &quot;noob friendly&quot; system. </p> <p>The code is very commented, so anyone should be able to follow along and understand what it is doing. Also, this system is very simple but versatile. It can easily be expanded or customized if you know what you are doing.</p> Sat, 04 Jul 2020 03:11:34 UTC