andrewedstrom [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=45550 BOOM <p> <table><tr><td> <a href="/bbs/?pid=133661#p"> <img src="/bbs/thumbs/pico8_boom_v0_1-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=133661#p"> boom_v0_1</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=133661#p"> [Click to Play]</a> </td></tr></table> </p> <p>An unfinished remake of the shareware game <a href="https://obscuritory.com/arcade/boom/">Boom</a>, which was a bizarre combination of Bomberman and Doom.</p> <p>Arrows to move, x to drop a bomb.</p> <p>If you're interested in playing an extremely faithful fan remake of BOOM, check out <a href="https://silverweed.github.io/boom/">Silverweed's awesome BOOM remake!</a></p> <p><a href="https://github.com/andrewedstrom/boom">Full code on Github</a> if you want to see it broken up into multiple files.</p> https://www.lexaloffle.com/bbs/?tid=53900 https://www.lexaloffle.com/bbs/?tid=53900 Mon, 28 Aug 2023 17:34:34 UTC pal() does not reset fill pattern <p>I'm not 100% sure but I <em>think</em> I found a bug related to PAL and sprite fill patterns. The manual says</p> <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>PAL() resets to system defaults (including transparency values and fill pattern)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>However, the following cart shows that PAL does <em>not</em> clear out the fill pattern applied to sprites.</p> <p> <table><tr><td> <a href="/bbs/?pid=89388#p"> <img src="/bbs/thumbs/pico8_fill_pattern_is_not_reset-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=89388#p"> fill_pattern_is_not_reset</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=89388#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here's the code for that cart. Note that you have to uncomment fillp() in order to reset the fill pattern.</p> <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 _draw() cls() pal() --fillp() sspr(8,0,8,8,10,10,24,24) sspr(16,0,8,8,10,40,24,24) fillp(0b1111111111111111.01) sspr(8,0,8,8,70,10,24,24) sspr(16,0,8,8,70,40,24,24) 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>Please let me know if I'm misunderstanding something! It could be that this is expected behavior and I just misread the docs.</p> https://www.lexaloffle.com/bbs/?tid=42133 https://www.lexaloffle.com/bbs/?tid=42133 Tue, 23 Mar 2021 04:24:03 UTC Kitten Cannon <p> <table><tr><td> <a href="/bbs/?pid=84710#p"> <img src="/bbs/thumbs/pico8_kitten_cannon-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84710#p"> kitten_cannon</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=84710#p"> [Click to Play]</a> </td></tr></table> </p> <p>A non-violent remake of the classic flash game Kitten Cannon.</p> <p>Aim the cannon with the up and down arrows, and fire with x/z to try to get your little stunt kitten to go as far as possible!</p> <h2>Links</h2> <ul> <li>If you want to see the code broken up into multiple files, check out the Github repo: <a href="https://github.com/andrewedstrom/kitten-cannon-pico-8">https://github.com/andrewedstrom/kitten-cannon-pico-8</a></li> </ul> <h2>Old Versions</h2> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> v0.3<br /> <table><tr><td> <a href="/bbs/?pid=84710#p"> <img src="/bbs/thumbs/pico8_kitten_cannon-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84710#p"> kitten_cannon</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=84710#p"> [Click to Play]</a> </td></tr></table> </p> <p>v0.2<br /> <table><tr><td> <a href="/bbs/?pid=84710#p"> <img src="/bbs/thumbs/pico8_kitten_cannon-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84710#p"> kitten_cannon</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=84710#p"> [Click to Play]</a> </td></tr></table> </p> <p>v0.1<br /> <table><tr><td> <a href="/bbs/?pid=84710#p"> <img src="/bbs/thumbs/pico8_kitten_cannon-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84710#p"> kitten_cannon</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=84710#p"> [Click to Play]</a> </td></tr></table> <br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=40564 https://www.lexaloffle.com/bbs/?tid=40564 Thu, 26 Nov 2020 15:43:44 UTC Snake (TweetTweetJam, 505 characters) <p> <table><tr><td> <a href="/bbs/?pid=83943#p"> <img src="/bbs/thumbs/pico8_tweettweetjamsnake-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83943#p"> tweettweetjamsnake</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=83943#p"> [Click to Play]</a> </td></tr></table> </p> <p>Just a simple little snake clone for TweetTweetJam 5. Use the arrow keys to move!</p> <p>I'm already well under the 560 character limit for the jam, but if anyone has ideas about how I could further compress this I'd love to hear! This is my first time ever making a tweetcart. I'm sure there's still a lot I could do to reduce the character count!</p> https://www.lexaloffle.com/bbs/?tid=40280 https://www.lexaloffle.com/bbs/?tid=40280 Sat, 07 Nov 2020 18:34:50 UTC Picolumia v1.2 <h1>Picolumia</h1> <p> <table><tr><td> <a href="/bbs/?pid=83042#p"> <img src="/bbs/thumbs/pico8_picolumia-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83042#p"> picolumia v1.2</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=83042#p"> [Click to Play]</a> </td></tr></table> </p> <p>A demake of <a href="https://davemakes.itch.io/mixolumia">Mixolumia</a>. Thanks to the wonderful <a href="https://twitter.com/davemakes">davemakes</a> for giving me permission to do this!</p> <p>The goal is to reach level 15 by clearing 450 blocks. If the board fills up you lose.</p> <p>You clear blocks in 2 ways:</p> <ul> <li>getting 3 or more blocks of the same color in a straight line</li> <li>putting 4 blocks of the same color together to make a diamond</li> </ul> <h2>Controls</h2> <p>⬅️/➡️ </p> <ul> <li>move current quad left or right</li> </ul> <p>⬇️ </p> <ul> <li>hard drop current quad to the bottom of the board</li> </ul> <p>❎ (z/c/n)</p> <ul> <li>rotate counter clockwise</li> </ul> <p>🅾️ (x/v/m) </p> <ul> <li>rotate clockwise</li> </ul> <p>Press ❎ + 🅾️ to start the game!</p> <h2>Playing on mobile</h2> <p>If you're playing on mobile, I recommend swapping the rotation buttons with the <code>inverse rotation</code> pause menu option.</p> <h2>Drop shadow</h2> <p>Some players find the falling block shadow confusing. If you would rather turn it off, you can toggle whether it displays with &quot;hide shadow&quot; and &quot;show shadow&quot; in the pause menu.</p> <h2>Links</h2> <p>The full code (broken up into multiple files for readability) is available on github <a href="https://github.com/andrewedstrom/picolumia">here</a>.</p> <p>If you're curious, you can follow the development progress on <a href="https://twitter.com/andrewedstrom">twitter</a>.</p> <p>Finally, if you like this, <em>please</em> go check out the original <a href="https://davemakes.itch.io/mixolumia">Mixolumia</a>. It's gorgeous, juicy, addictive, and relaxing, and the dynamic soundtrack is absolutely amazing. Plus it uses the PICO-8 color palette!</p> <h2>Changelog</h2> <p>v1.2</p> <ul> <li>Break up code into tabs for people modifying the game</li> <li>Fix bug where new quads immediately moved down one space on spawn</li> <li>Add option to display milliseconds for speedrunners</li> </ul> <p>v1.1</p> <ul> <li>Add option to invert rotation controls for mobile players</li> <li>Optimize particle logic to reduce lag at high levels</li> <li>Reduce the total number of particles to reduce lag</li> <li>Reduce initial repeat delay for button presses</li> <li>Allow quad to turn during hard drop</li> <li>Fix bug where the shadow slide indicator arrow would still show on screen after winning</li> </ul> <h2>Old versions</h2> <p> <table><tr><td> <a href="/bbs/?pid=83042#p"> <img src="/bbs/thumbs/pico8_picolumia_1-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83042#p"> picolumia 1.1</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=83042#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=83042#p"> <img src="/bbs/thumbs/pico8_picolumia_1-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83042#p"> picolumia 1.0</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=83042#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=39935 https://www.lexaloffle.com/bbs/?tid=39935 Sat, 17 Oct 2020 19:18:37 UTC Fruititarian Snecko <h1>Fruititarian Snecko</h1> <p> <table><tr><td> <a href="/bbs/?pid=79648#p"> <img src="/bbs/thumbs/pico8_fruititariansnecko-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79648#p"> Fruititarian Snecko 1.0</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=79648#p"> [Click to Play]</a> </td></tr></table> </p> <p>Just a simple snake clone made in an afternoon! Eat many fruits to get big and strong. But don't trip over your own tail or fall off the edge of the world in the process!</p> <h2>Controls</h2> <p>Arrow keys - move</p> https://www.lexaloffle.com/bbs/?tid=38912 https://www.lexaloffle.com/bbs/?tid=38912 Mon, 20 Jul 2020 04:06:33 UTC Space Race <h1>Space Race</h1> <p> <table><tr><td> <a href="/bbs/?pid=79077#p"> <img src="/bbs/thumbs/pico8_spacerace-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79077#p"> Space Race v0.3</a><br><br> by <a href="/bbs/?uid=45550"> andrewedstrom</a> <br><br><br> <a href="/bbs/?pid=79077#p"> [Click to Play]</a> </td></tr></table> </p> <p>Your private space company SpicoX must successfully deliver 10 rockets to orbit<br /> to win a government contract. Along the way, each rocket will have to dodge its<br /> way through an ever-growing field of <a href="https://en.wikipedia.org/wiki/Space_debris">space<br /> debris.</a></p> <p>As a private space startup, money is tight. Your company only has enough<br /> funding to lose 3 rockets. Any more and you will run out of money and be forced<br /> out of business.</p> <h2>Controls</h2> <p>Up and down arrow keys - control your spaceship.</p> https://www.lexaloffle.com/bbs/?tid=38734 https://www.lexaloffle.com/bbs/?tid=38734 Thu, 09 Jul 2020 01:27:38 UTC