RyanB_Dev [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=49793 Item Sorter <p> <table><tr><td> <a href="/bbs/?pid=115194#p"> <img src="/bbs/thumbs/pico8_sorter-7.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=115194#p"> sorter</a><br><br> by <a href="/bbs/?uid=49793"> RyanB_Dev</a> <br><br><br> <a href="/bbs/?pid=115194#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is just a little tool I've been needing recently. I know there are websites for it but I was having trouble finding them so I thought, hey, I can make this myself and have some fun in PICO8 at the same time.</p> <p>Go to new list to create a list of items. Go to lists to see all current lists (there is an example list included). From there you have the option to view, sort, edit (add and delete items), or delete a list.</p> <p>In sort, you are given two random items from the list and are asked to choose your favourite. This continues until all the items have been ranked. You can then view the list in this new order.</p> <p>The only thing I would have liked to add is the ability to have lists persist between runs. I haven't been able to find how to save a table of tables of strings, or if it's even possible. If anyone knows how to do this please let me know, I would love to add that feature, but if not it's fine as-is.</p> <p>Let me know if you find any bugs please.</p> https://www.lexaloffle.com/bbs/?tid=48746 https://www.lexaloffle.com/bbs/?tid=48746 Wed, 03 Aug 2022 14:31:49 UTC Egg Collector <p> <table><tr><td> <a href="/bbs/?pid=95653#p"> <img src="/bbs/thumbs/pico8_eggcollector-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=95653#p"> eggcollector</a><br><br> by <a href="/bbs/?uid=49793"> RyanB_Dev</a> <br><br><br> <a href="/bbs/?pid=95653#p"> [Click to Play]</a> </td></tr></table> <br /> This is my port of an Android mobile game made by myself and my classmates for our Mobile Games unit.</p> https://www.lexaloffle.com/bbs/?tid=44093 https://www.lexaloffle.com/bbs/?tid=44093 Wed, 04 Aug 2021 18:24:40 UTC Countdown Timer Template <p> <table><tr><td> <a href="/bbs/?pid=93658#p"> <img src="/bbs/thumbs/pico8_countdowntemplate-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=93658#p"> countdowntemplate</a><br><br> by <a href="/bbs/?uid=49793"> RyanB_Dev</a> <br><br><br> <a href="/bbs/?pid=93658#p"> [Click to Play]</a> </td></tr></table> </p> <p>I recently needed a countdown timer for a game I wanted to port but wasn't able to find a tutorial online. The code wasn't exactly difficult, but it would have saved me some time, so I figured I would upload the template I made for myself so others could use it. </p> <p>This will show the timer on screen in total seconds (set to the highest maximum number by default) and in digital clock format (00:00:00).</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>-- countdown timer -- by ryanb_dev -- hours:minutes:seconds -- max 32767 seconds -- 9:06:06 function _init() timer = { text = &quot;&quot;, hours = 0, minutes = 0, seconds = 0, active = true, seconds_left = 32767, math_seconds = 0, } last_time = time() end function _update60() if (timer.active) then timer_update() end end function _draw() cls() //actual seconds print(timer.seconds_left) //clock format print(timer.text) end function timer_update() timer.text = &quot;&quot; timer.seconds_left -= time() - last_time timer.math_seconds = timer.seconds_left last_time = time() timer.hours = flr(timer.math_seconds / 3600) timer.math_seconds -= timer.hours * 3600 timer.minutes = flr(timer.math_seconds / 60) timer.seconds = flr(timer.math_seconds % 60) timer.text = timer.text..&quot;0&quot;..tostr(timer.hours)..&quot;:&quot; if timer.minutes &lt; 10 then timer.text = timer.text..&quot;0&quot;..tostr(timer.minutes)..&quot;:&quot; else timer.text = timer.text..tostr(timer.minutes)..&quot;:&quot; end if timer.seconds &lt; 10 then timer.text = timer.text..&quot;0&quot;..tostr(timer.seconds) else timer.text = timer.text..tostr(timer.seconds) end if (timer.seconds_left &lt;= 0) then timer.active = false end end</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=43376 https://www.lexaloffle.com/bbs/?tid=43376 Thu, 17 Jun 2021 15:16:30 UTC Super Volcano - Demo Cart <p> <table><tr><td> <a href="/bbs/?pid=87652#p"> <img src="/bbs/thumbs/pico8_supervolcanodemo_v1-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=87652#p"> supervolcanodemo_v1</a><br><br> by <a href="/bbs/?uid=49793"> RyanB_Dev</a> <br><br><br> <a href="/bbs/?pid=87652#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a demo for a game I did for class which I hope to expand on in my free time, when I actually have some of that again lol.</p> <p>You play as the volcano god of an island city. When foreign ships carrying missionaries of another god arrive at your shores and convince the villagers to convert and stop their worship of you, you get revenge by destroying the city with your fireballs.</p> <p>X to fire a shot<br /> Goal is to destroy as much as you can in 10 shots<br /> Some areas give more points than others</p> https://www.lexaloffle.com/bbs/?tid=41575 https://www.lexaloffle.com/bbs/?tid=41575 Mon, 15 Feb 2021 02:42:43 UTC Pico Pong <p> <table><tr><td> <a href="/bbs/?pid=85598#p"> <img src="/bbs/thumbs/pico8_picopong3modes-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=85598#p"> Pico Pong</a><br><br> by <a href="/bbs/?uid=49793"> RyanB_Dev</a> <br><br><br> <a href="/bbs/?pid=85598#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is my first foray into pico-8, which I started yesterday after my teacher showed the class the basics. My code's probably messy because I prioritized learning the ropes and getting the game working. I might fix it up later.</p> <p>Game modes are:</p> <ul> <li>Single player - hit the ball against the opposite wall, with the ball's speed increasing over time. Tracks the high score per cartridge boot. </li> <li>Two player - play against a friend in classic Pong.</li> <li>VS Computer - play against an AI with easy, medium, and hard difficulties. </li> </ul> <p>All modes currently feature endless gameplay.</p> https://www.lexaloffle.com/bbs/?tid=40853 https://www.lexaloffle.com/bbs/?tid=40853 Sun, 20 Dec 2020 02:09:20 UTC