TetraPengwin [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=51368 SpritePaper <h1>SpritePaper</h1> <p>A general tool to use sprites a Picotron wallpapers<br /> <table><tr><td> <a href="/bbs/?pid=146452#p"> <img src="/bbs/thumbs/pico64_spritepaper-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=146452#p"> spritepaper</a><br><br> by <a href="/bbs/?uid=51368"> TetraPengwin</a> <br><br><br> <a href="/bbs/?pid=146452#p"> [Click to Play]</a> </td></tr></table> <br /> to begin, simply place the cart at <code>/appdata/system/wallpapers/</code> and select it as the chosen wallpaper from the Picotron settings.<br /> a settings file will be automatically generated at <code>/appdata/sprite_bg/settings.pod</code><br /> there is also a readme file inside the cartridge which goes a bit further in depth on what all the settings do</p> https://www.lexaloffle.com/bbs/?tid=141671 https://www.lexaloffle.com/bbs/?tid=141671 Fri, 12 Apr 2024 12:06:54 UTC Picotron &quot;fetch&quot; function incorrectly converts path to lowercase <p>Picotron will convert all path/url strings to lowercase, invalidating some URLs.<br /> I've uploaded a few small files (<code>lowercase_file.txt</code>, <code>UPPERCASE_file.txt</code> and <code>incorrect_case.txt</code>) to showcase this</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 _init() --will try to fetch &quot;lowercase_file.txt&quot; lower = fetch(&quot;https://www.lexaloffle.com/bbs/files/51368/lowercase_file.txt&quot;) --will try to fetch &quot;uppercase_file.txt&quot; upper = fetch(&quot;https://www.lexaloffle.com/bbs/files/51368/UPPERCASE_file.txt&quot;) --will try to fetch &quot;incorrect_case.txt&quot; wrong = fetch(&quot;https://www.lexaloffle.com/bbs/files/51368/INCORRECT_case.txt&quot;) end function _draw() cls() ?lower..&quot;\n\n&quot; --should succeed, succeeds ?upper..&quot;\n\n&quot; --should succeed, fails (notice how error specifies a request to &quot;uppercase_file.txt&quot;) ?wrong..&quot;\n\n&quot; --should fail, succeeds 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>this issue has been addressed in the future 0.1.0f update</p> https://www.lexaloffle.com/bbs/?tid=141517 https://www.lexaloffle.com/bbs/?tid=141517 Sun, 07 Apr 2024 06:46:10 UTC Chuzzle Tech Demo <p> <table><tr><td> <a href="/bbs/?pid=123505#p"> <img src="/bbs/thumbs/pico8_chuzzle-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=123505#p"> Chuzzle Tech Demo</a><br><br> by <a href="/bbs/?uid=51368"> TetraPengwin</a> <br><br><br> <a href="/bbs/?pid=123505#p"> [Click to Play]</a> </td></tr></table> <br /> Look at those cute little fluffballs, I sure hope they don't explode into a huge display of colours!</p> <p>Chuzzles are very peaceful creatures, however, their friendliness can be their biggest downfall. If they are with a group of 3 or more friends of the same colour, they will explode into a cloud of fur.</p> <h1>Version History</h1> <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;"></p> <h3>v0</h3> <p>Initial release<br /> Chuzzles will explode when <code>X</code> is pressed, assuming if they are in a group of 3 or more</p> <h3>v1</h3> <p>Chuzzles will now spawn and fall to fill in empty spaces left from previous matches<br /> Chuzzles now automatically explode instead of requiring a button press</p> <ul> <li>The <code>X</code> button has been repurposed to generate a new board</li> <li>Chuzzles no longer stare and shake as they immediately explode instead<br /> </div></div></div></li> </ul> https://www.lexaloffle.com/bbs/?tid=50952 https://www.lexaloffle.com/bbs/?tid=50952 Mon, 02 Jan 2023 10:49:51 UTC Distance Formula for long distances <p>This function allows the calculation of the distance between two points without squaring the numbers, greatly increasing the max distance before the number overflows.</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 calc_dist(x1,y1,x2,y2) local xdif=x1-x2 local ydif=y1-y2 local atan=atan2(xdif,ydif) local xdist=cos(atan)*xdif local ydist=sin(atan)*ydif return xdist+ydist 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>it is also quite fast, doing 5000 calculations per frame (which is way more than you will ever need) uses around 0.63 CPU</p> https://www.lexaloffle.com/bbs/?tid=49827 https://www.lexaloffle.com/bbs/?tid=49827 Mon, 17 Oct 2022 22:12:56 UTC Adelie Chess <p> <table><tr><td> <a href="/bbs/?pid=114985#p"> <img src="/bbs/thumbs/pico8_adelie_chess-4.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=114985#p"> adelie_chess</a><br><br> by <a href="/bbs/?uid=51368"> TetraPengwin</a> <br><br><br> <a href="/bbs/?pid=114985#p"> [Click to Play]</a> </td></tr></table> <br /> The long-awaited spinoff to <em>Chess</em> is finally here! In Adelie, your goal is to destroy all of your opponent's eggs while keeping your eggs protected. Every penguin has a unique move set, and can even be evolved to gain different moves and abilities! Below is an image containing each penguin's move set and evolution path for your convenience.<img style="margin-bottom:16px" border=0 src="/media/51368/adelie_rules.png" alt="" /></p> <ul> <li> <p>Each penguin may move using the arrows indicated by the green box and may kill using the arrows indicated by the red box.</p> </li> <li> <p>The distance each arrow goes is important! All moves have a limited range matching that in the image.</p> </li> <li> <p>Evolve a penguin by moving it onto the same tile as an identical penguin. Evolving an Egguin allows you to choose one of the three evolution paths.</p> </li> <li> <p>If an arrow is facing down and has a small shadow, this indicates that the move cannot be blocked by other pieces along the path.</p> </li> <li> <p>The Pengineer has a special ability that makes its attacks ranged, allowing it to kill other pieces without moving, as long as it has a line of sight.</p> </li> <li> <p>The Flying Penguins divebombs create a devastating shockwave. Opponents pieces on a tile marked with an <code>X</code> will be killed if the Flying Penguin lands directly next to them.</p> </li> <li>The color of the cursor indicates which players move it currently is!</li> </ul> <p>This cart will more than likely be no longer updated, as I will be doing a complete rewrite of the underlying system, although this may take a while</p> https://www.lexaloffle.com/bbs/?tid=48704 https://www.lexaloffle.com/bbs/?tid=48704 Fri, 29 Jul 2022 23:59:16 UTC Switchstick Beta 0.2 <p> <table><tr><td> <a href="/bbs/?pid=101853#p"> <img src="/bbs/thumbs/pico8_switchstick-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=101853#p"> Switchstick Beta 0.2</a><br><br> by <a href="/bbs/?uid=51368"> TetraPengwin</a> <br><br><br> <a href="/bbs/?pid=101853#p"> [Click to Play]</a> </td></tr></table> <br /> This is a beta build of a multiplayer vs game inspired from Spinstick, which was originally made by <a href="https://www.lexaloffle.com/bbs/?uid=37284"> @db0z</a></p> <p>Any feedback / bug reports about the game would be greatly appreciated!</p> <h2>Controls / Rules</h2> <p>left / right arrows - move player 1 (pink)<br /> S / F - move player 2 (blue)</p> <p>Hit the ball above the white line to pass play to the other player<br /> If the ball falls off the bottom of the screen while you are the active player, you lose<br /> You can tell who is the active player by seeing who's paddle is lighter</p> <h2>Changelogs</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;"></p> <h3>0.1</h3> <p>Initial Release</p> <h3>0.2</h3> <p>Added singleplayer mode, simply hit the ball to get a point, see how many points you can get<br /> Added configurable settings for gamemode, gravity and switchline height<br /> Added highscore to singleplayer mode, high scores can only be set with default gravity (7)<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=45607 https://www.lexaloffle.com/bbs/?tid=45607 Tue, 07 Dec 2021 09:54:40 UTC [Feature Request] Sprite Rotation <p>I think rotation would be a nice addition, even if it is only in 4 directions. Possible syntax:</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>-- draw sprite 1 at (60, 60), rotated 90 degrees clockwise spr(1, 60, 60, 1) -- draw sprite 1 at (60, 60), rotated 180 degrees (effectively equivalent to flipping is both directions) spr(1, 60, 60, 2) -- draw a 2x2 sprite starting from sprite 1 at (60, 60), rotated 90 degrees counterclockwise spr(1, 60, 60, 2, 2, 3)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Syntax with rotation mode as the last argument could work similar to 'print' in the way that print reads the second argument as the color if not enough arguments are given</p> https://www.lexaloffle.com/bbs/?tid=44186 https://www.lexaloffle.com/bbs/?tid=44186 Wed, 11 Aug 2021 22:54:46 UTC Celeste SOBcart v2 <p> <table><tr><td> <a href="/bbs/?pid=94775#p"> <img src="/bbs/thumbs/pico8_sobcartv2-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94775#p"> sobcartv2</a><br><br> by <a href="/bbs/?uid=51368"> TetraPengwin</a> <br><br><br> <a href="/bbs/?pid=94775#p"> [Click to Play]</a> </td></tr></table> <br /> A modification of the Celeste SOBcart!</p> <p>New features:</p> <p>Save best times using cartdata, so times are saved even after closing the cart</p> <p>Toggle spawning times being counted in your time <code>w</code></p> <p>Delete current level (or all levels on Summit) best time <code>from pause menu</code></p> https://www.lexaloffle.com/bbs/?tid=43788 https://www.lexaloffle.com/bbs/?tid=43788 Mon, 12 Jul 2021 23:21:41 UTC DVD Screensaver Tweetcart <p> <table><tr><td> <a href="/bbs/?pid=94279#p"> <img src="/bbs/thumbs/pico8_dvdtweet-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94279#p"> dvdtweet</a><br><br> by <a href="/bbs/?uid=51368"> TetraPengwin</a> <br><br><br> <a href="/bbs/?pid=94279#p"> [Click to Play]</a> </td></tr></table> <br /> A dvd screensaver, made in just 198 chars!</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>r=rnd x=r(107)y=r(116)h=r{-1,1}v=r{-1,1}c=r(9)o=ovalfill::_::cls(1) if(x&lt;1or x&gt;107)c=r(9)h=-h if(y&lt;1or y&gt;116)c=r(9)v=-v x+=h y+=v ?&quot;dvd&quot;,x+5,y,c+7 o(x,y+6,x+20,y+11)o(x+7,y+7,x+13,y+9,1)flip()goto _</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=43619 https://www.lexaloffle.com/bbs/?tid=43619 Thu, 01 Jul 2021 01:52:09 UTC Descent <p> <table><tr><td> <a href="/bbs/?pid=89081#p"> <img src="/bbs/thumbs/pico8_descent-7.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=89081#p"> Descent</a><br><br> by <a href="/bbs/?uid=51368"> TetraPengwin</a> <br><br><br> <a href="/bbs/?pid=89081#p"> [Click to Play]</a> </td></tr></table> <br /> You have made it to the summit of the mountain, but now you must find a way back down!</p> <p>Congratulations to Kamera for winning the 0m Memorial Competition!</p> https://www.lexaloffle.com/bbs/?tid=42044 https://www.lexaloffle.com/bbs/?tid=42044 Mon, 22 Mar 2021 22:44:43 UTC Backwards Celeste <p> <table><tr><td> <a href="/bbs/?pid=88191#p"> <img src="/bbs/thumbs/pico8_backwards_celeste-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=88191#p"> Backwards Celeste</a><br><br> by <a href="/bbs/?uid=51368"> TetraPengwin</a> <br><br><br> <a href="/bbs/?pid=88191#p"> [Click to Play]</a> </td></tr></table> </p> <p>Up is down, left is right, jump is even dash! Do you have what it takes to adjust to these changes and reach the summit?</p> https://www.lexaloffle.com/bbs/?tid=41776 https://www.lexaloffle.com/bbs/?tid=41776 Fri, 26 Feb 2021 05:29:17 UTC