galactical [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=51404 Four Elements πŸ₯΅πŸ€’πŸ₯ΆπŸ˜΅ - 7DRL <p> <table><tr><td> <a href="/bbs/?pid=108233#p"> <img src="/bbs/thumbs/pico8_fourelements-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=108233#p"> fourelements</a><br><br> by <a href="/bbs/?uid=51404"> galactical</a> <br><br><br> <a href="/bbs/?pid=108233#p"> [Click to Play]</a> </td></tr></table> </p> <h2>FOUR ELEMENTS πŸ₯΅πŸ€’πŸ₯ΆπŸ˜΅</h2> <p>Play as Empedocles, master of the four elements, as he defeats foes and climbs to the top of Tower Etna! Collect and craft potions that transform you into the different elements, and bend the laws of nature to your will!</p> <p>Made over three days during the 7 Day Roguelike Challenge.</p> <h2>RULES</h2> <img style="margin-bottom:16px" border=0 src="/media/51404/Left Circled.png" alt="" /> <p>This chart, known as the 'Laws of Nature,' describes how much health will be gained or lost by a character in each elemental reaction. In this example, when YELLOW interacts with BLUE or vice versa, BLUE gets +1 health and YELLOW does not gain or lose health.</p> <img style="margin-bottom:16px" border=0 src="/media/51404/Middle Circled.png" alt="" /> <p>In this example, when YELLOW interacts with GREEN or vice versa, YELLOW gets +1 health and GREEN gets -1 health.</p> <h2>CRAFTING</h2> <img style="margin-bottom:16px" border=0 src="/media/51404/Screenshot (587).png" alt="" /> <p>When you combine two potions, they become the next potion in the circle, moving clockwise. In this example, YELLOW + RED = GREEN and RED + GREEN = BLUE etc.</p> <p>If you combine two potions diagonally, they also continue clockwise, with the diagonal arrow being drawn from left to right, then moving clockwise along the circle. So, in this example: YELLOW + GREEN + BLUE and BLUE + RED + GREEN.</p> <h2>UPGRADES</h2> <img style="margin-bottom:16px" border=0 src="/media/51404/Upgrades.png" alt="" /> <p>Collecting orbs allows you to change the laws of nature. Grabbing an orb will change what happens to the orb's color when it interacts with your player's current color. So in this example, grabbing the orb will make subtract one from GREEN's interaction with BLUE, making the above number -2.</p> <p>That's all you need to know to play the game. Hope you have fun!</p> <p>p.s. If you pass floor 44, post a screenshot in the comments, I don't think anyone has beaten the game, and you could be the first!</p> https://www.lexaloffle.com/bbs/?tid=46899 https://www.lexaloffle.com/bbs/?tid=46899 Tue, 08 Mar 2022 03:41:05 UTC Flip The Page <p> <table><tr><td> <a href="/bbs/?pid=105558#p"> <img src="/bbs/thumbs/pico8_flipthepage-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=105558#p"> flipthepage</a><br><br> by <a href="/bbs/?uid=51404"> galactical</a> <br><br><br> <a href="/bbs/?pid=105558#p"> [Click to Play]</a> </td></tr></table> </p> <img style="margin-bottom:16px" border=0 src="/media/51404/flipthepage_5.gif" alt="" /> <p>My entry for the Global Game Jam 2022. Use the mind-bending mechanics of walking around paper to help the stick man push pieces of the picture back together.</p> https://www.lexaloffle.com/bbs/?tid=46289 https://www.lexaloffle.com/bbs/?tid=46289 Mon, 24 Jan 2022 05:18:28 UTC Set Resolution Function <p> <table><tr><td> <a href="/bbs/?pid=103378#p"> <img src="/bbs/thumbs/pico8_set_resolution-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=103378#p"> set_resolution</a><br><br> by <a href="/bbs/?uid=51404"> galactical</a> <br><br><br> <a href="/bbs/?pid=103378#p"> [Click to Play]</a> </td></tr></table> </p> <p>PICO-8's resolution can easily be lowered to 64x64 with:<br /> <code>poke(0x5f2c,3)</code><br /> but it's always bothered me that you can't set the resolution to other factors of 128. So, I made this function that allows you to scale up whatever is currently drawn to the screen to any factor of 128 excluding 1 (2, 4, 8, 16, 32, 64, 128). The performance for 64x64 is pretty awful, so you're better off using poke(0x5f2c,3) if that's the resolution you're after. The others perform fairly well, with 32x32 using about &lt;12% CPU and everything below it using &lt;3%. One advantage of using this function is that after scaling down the currently drawn screen, you're free to draw over top it in full resolution, as demonstrated by the CPU performance text. I'm sure the performance can be improved somehow. I think this may be possible using memset, but I don't understand how to apply it to this case, or if it would even improve performance. If anyone has any optimizations, feel free to reply and I'll update the cart. Hope someone finds this useful!</p> https://www.lexaloffle.com/bbs/?tid=45816 https://www.lexaloffle.com/bbs/?tid=45816 Thu, 23 Dec 2021 01:19:49 UTC tweetgario <p> <table><tr><td> <a href="/bbs/?pid=100660#p"> <img src="/bbs/thumbs/pico8_tweetgario-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=100660#p"> tweetgario</a><br><br> by <a href="/bbs/?uid=51404"> galactical</a> <br><br><br> <a href="/bbs/?pid=100660#p"> [Click to Play]</a> </td></tr></table> <br /> My entry for the TweetTweet Jam, a demake of the browser game Agario that fits in two tweets! Use the arrow keys to move the center dot. Touch smaller dots to eat them and become larger, but slower, and don't get eaten yourself. Source code below, just copy/paste into your PICO-8 code editor and the game will run.</p> <div> <div class=scrollable_with_touch style="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>p={}l=64x=61y=l::_::b=btn()r=rnd cls(7)a=all if(#p&lt;4)add(p,{x=0,y=0,s=9}) z=(b\2%2-b%2)/p[1].s*3w=(b\8%2-b\4%2)/p[1].s*3if(p[1].x==0)x-=z y-=w for n in a(p)do if(n.s&gt;l)run() if n!=p[1]then if n.s==9then n.s=r(10)+2c=1v=1if(r(2)&lt;1)c=-1 if(t)v=-1 n.x=c*l n.y=v*l end while n.t==nil do for m in a(p)do t=r(2)&lt;1if(t and m!=n)n.t=m end end n.x-=z+sgn(n.x-n.t.x)/n.s*3n.y-=w+sgn(n.y-n.t.y)/n.s*3end circfill(n.x+l,n.y+l,n.s,8)for m in a(p)do if(sqrt((m.x-n.x)*(m.x-n.x)+(m.y-n.y)*(m.y-n.y))&lt;n.s+m.s and m.s&gt;n.s)m.s+=n.s n.t=nil del(p,n)end end?&quot;βŒ‚&quot;,x,y,6 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=45448 https://www.lexaloffle.com/bbs/?tid=45448 Tue, 23 Nov 2021 04:59:09 UTC CONNECTORZ <p> <table><tr><td> <a href="/bbs/?pid=93405#p"> <img src="/bbs/thumbs/pico8_connectorz-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=93405#p"> connectorz</a><br><br> by <a href="/bbs/?uid=51404"> galactical</a> <br><br><br> <a href="/bbs/?pid=93405#p"> [Click to Play]</a> </td></tr></table> </p> <p><strong>CONNECTORZ</strong> is a platformer about joining blocks together to become taller and more powerful.</p> <p>Connectorz is my first completed PICO-8 cart, as well as a submission to the GMTK Game Jam 2021. The theme: joined together. My friend Nick, who does not have an account on the BBS I can link to, created the sprites for the game, while I did the programming and sound. The game is short, only one map-width long, and lacks polish, but it conveys the concept well enough. Let me know what you think. I learned a lot about working with PICO-8 during the jam, and I plan to release more carts in the future. :)</p> https://www.lexaloffle.com/bbs/?tid=43315 https://www.lexaloffle.com/bbs/?tid=43315 Sun, 13 Jun 2021 06:31:35 UTC