dredds [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=37923 Billabong: two-player strategy game written for TweetTweetJam 9 <p> <table><tr><td> <a href="/bbs/?pid=148544#p"> <img src="/bbs/thumbs/pico8_dredds_billabong_ttj9-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=148544#p"> dredds_billabong_ttj9</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=148544#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is my entry to <a href="https://itch.io/jam/tweettweetjam-9">TweetTweetJam 9</a>, a game jam where games had to be written with at most 500 characters of code. I ended up using 484 characters.</p> <p>Billabong is a two player strategy game. Players take turns to flood the maze with coloured liquid. One player fills the maze with red liquid, the other with blue. The player who fills the most of the screen with their colour wins.</p> <p>To start flooding a channel, tap the screen if playing on a mobile device, or click with the mouse if playing on a desktop machine. The game works best on a mobile device so that the players don't have to share a single mouse.</p> <p>The stats display at the bottom of the screen shows the players' scores and who has the next turn.</p> <p>When a game is complete, reset the cart to play again with another random maze.</p> <p>Because this was written for TweetTweetJam, some niceties had to be dropped to fit into 500 characters. There's no title screen, music or sound, and the game doesn't detect the end of the game and display the winner. Also, there wasn't room for a safety check to ensure that the flood-fill algorithm doesn't exhaust Pico-8's available memory, but this doesn't seem to cause a problem in practice.</p> <p>Tip: you don't have to wait for the flooding to stop to take your turn. If you're quick (and don't get confused by the maze) you can use your liquid to block your opponent's flood.</p> <p>The entire source code of the game is:</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>a=add k=poke t=stat g=sget k(24365,3)k(24405)cls(13)for y=1,122,5do for x=1,122,6do?rnd{&quot;β—œ&quot;,&quot;◝&quot;},x,y,2 end end rect(0,0,127,121,6)k(24405,96)f={}s={0,0}p=1::_::px=t(32)py=t(33)if(btnp(5)and py&lt;120and g(px,py)==13)a(f,{p,px,py})p=3-p n={}while#f&gt;0do q,x,y=unpack(deli(f))if g(x,y)==13then sset(x,y,4+4*q)s[q]+=1a(n,{q,x,y+1})a(n,{q,x,y-1})a(n,{q,x+1,y})a(n,{q,x-1,y})end end f=n cls()spr(0,0,0,16,15.3)circ(px,py,1,7)x=?s[1],1,123,8 x=?chr(21+p),x+1,123,7 ?s[2],x+1,123,12 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=142315 https://www.lexaloffle.com/bbs/?tid=142315 Fri, 17 May 2024 15:45:53 UTC Piffle: a puzzle word game 1.7 <p> <table><tr><td> <a href="/bbs/?pid=102351#p"> <img src="/bbs/thumbs/pico8_dredds_piffle-11.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=102351#p"> dredds_piffle</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=102351#p"> [Click to Play]</a> </td></tr></table> </p> <p>My family like the online word game <a href="https://wafflegame.net/">Waffle</a> but wanted to play more than once a day. So I wrote them this version in Pico-8. Along the way I reimagined it as an 8-bit console title with sound effects, music, particles, multiple levels, ramping difficulty, and a final &ldquo;boss battle&rdquo; that you unlock by completing all the preceding levels.</p> <h2>How to Play</h2> <img style="margin-bottom:16px" border=0 src="/media/37923/22_piffle-intro-walkthrough.gif" alt="" /> <p>Scrambled words are arranged in a grid. Unscramble all the words by swapping pairs of letters. You have a limited number of swaps to complete each level. Run out of swaps and you have to try again. Complete the level with swaps left over to score points.</p> <p>Can you solve all the levels with five swaps remaining to win the title of Piffle Champion?</p> <p>Play level 1 for an introduction to the controls. Playing through this level unlocks the rest of the game.</p> <p>When playing a level, the pause menu gives you options to restart the level or return to the level selector. If you have difficulty interpreting the tile colors, you can enable graphical indicators on the tiles by toggling the &quot;color blind&quot; option on the pause menu with the left and right buttons.</p> <p>Note: the game uses British English spellings, not American English spellings.</p> <h2>Credits</h2> <p>The music is by J.S. Bach, converted from a free MIDI file by the <a href="https://bikibird.itch.io/denote">Denote tool</a>.</p> <h2>Versions</h2> <p>1.7: the in-game tutorial explains the blank spaces, now that the cursor does not skip over them</p> <p>1.6: usability improvements: </p> <ul> <li>the cursor changes to show whether a tile can be swapped</li> <li>the cursor does not skip over the blank spaces, which makes navigating more predictable</li> <li>on completion of a level with maximum score, the title screen moves the cursor to the next incomplete level, not the next level, to be more convenient when you are trying to complete all levels and achieve Piffle Champion status</li> </ul> <p>1.5: the game starts with the next unplayed level selected, so you can start playing with a single button<br /> press.</p> <p>1.4: usability improvements: custom pause menu items behave like the standard ones</p> <p>1.3: bug fix in end of game condition (you must now complete all levels with score of 5); added a small animation on title screen when you beat a level with score of 5 to show that the cursor has been moved to the next level</p> <p>1.2: particle effect on title screen when the player has unlocked the final level</p> <p>1.1: small bug fixes</p> <p>1.0: first release</p> https://www.lexaloffle.com/bbs/?tid=45652 https://www.lexaloffle.com/bbs/?tid=45652 Sun, 25 Sep 2022 22:33:58 UTC Bug: incorrect built-in help for dset/dget <p>The built-in help for the dset and dget functions states that the persistent memory starts at address 0x5f00. But correct adddress is 0x5e00.</p> https://www.lexaloffle.com/bbs/?tid=49243 https://www.lexaloffle.com/bbs/?tid=49243 Thu, 08 Sep 2022 22:14:22 UTC Q: How to change keyboard bindings in HTML export? <p>Does anyone know how to change the keyboard bindings in the HTML export?</p> <p>I want to change the default key controls so that the keys are more natural for my game than the defaults for one and two-player play. Is that supported? In which file are the key bindings specified?</p> https://www.lexaloffle.com/bbs/?tid=46795 https://www.lexaloffle.com/bbs/?tid=46795 Mon, 28 Feb 2022 22:13:50 UTC Squishd! - an action game for one to four players <p> <table><tr><td> <a href="/bbs/?pid=107276#p"> <img src="/bbs/thumbs/pico8_dredds_squishd-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=107276#p"> Squishd 1.2</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=107276#p"> [Click to Play]</a> </td></tr></table> </p> <h1>SQUISHD!</h1> <p>A collect-em-up action game for one to four players.</p> <p>Escape the maze, eat tomatoes, collect treasure, don't fall in the water, and don't get squishd by the side of the screen.</p> <p><img style="margin-bottom:16px" border=0 src="/media/37923/B3ADF128-E033-4843-8A93-D49E2461E9C2.gif" alt="" /> <img style="margin-bottom:16px" border=0 src="/media/37923/99D6E2B2-9A02-4FF1-B2B1-7689E29328A2.gif" alt="" /> <img style="margin-bottom:16px" border=0 src="/media/37923/4A7752AF-3F06-4314-B406-003CA69FE937.gif" alt="" /></p> <h2>Features</h2> <ul> <li>One-player or same-screen multiplayer for up to four players</li> <li>Five different zones in one huge scrolling map</li> <li>Persistent hiscores</li> <li>Team and individual hiscores</li> <li>&quot;Coop-etetive&quot; multiplayer gameplay: you have to work with the other players to have a chance of getting the individual hiscore</li> </ul> <h2>Gameplay</h2> <p>The players control &quot;tetrapods&quot;, trapped in a maze. The view scrolls randomly, and you must stay on screen to survive.</p> <p>The maze contains tomatoes and treasure. Collect them to score points.</p> <p>After two minutes in the first zone, you will enter the second zone. There are five zones in all, each with different challenges. The scrolling gets faster as you progress through the zones, and the time in each zone gets shorter. After the fifth zone, you will reach the exit. Move onto the exit to escape the maze. In a multiplayer game, all players must escape the maze to win the game, and players earn a bonus if they escape the maze before other players.</p> <p>You lose a life by being squishd by the side of the screen or by falling into water. Each player has three lives. The game ends if any player loses all their lives.</p> <p>Extra lives are awarded to a player when they score 500 points, then 1000 points, 2000 points, and so on. There are a few collectible extra life items in the maze, but they are hard to reach. Will you risk trying to grab them?</p> <h1>Scoring</h1> <p>Tomato: 1 point<br /> Silver coin: 5 points<br /> Gold coin: 10 points<br /> Gemstone: 50 points when the gem is the same colour as your character, otherwise 20 points<br /> Escaping the maze (multiplayer games only): Bonus, calculated as the average score of all players who have not yet escaped.</p> <p>Hiscores are recorded separately for one-player, two-player, three-player and four-player games.</p> <p>In multiplayer games, the entire team earns a score, calculated as the average of the players' scores. You can win two hiscores: the team hiscore and the individual hiscore. The individual hiscore can only be won when the team has won the team hiscore. Until the team has achieved the team hiscore, players must cooperate to push up the average score. When the team has the team hiscore, a flashing star is displayed at the top of the screen. At this point, players no longer need to cooperate and can go all out to win the individual hiscore.</p> <h2>Controls</h2> <p>On the title screen:</p> <ul> <li>Each player: press πŸ…ΎοΈ on their controller to join or leave the team.</li> <li>All players: having joined the team, hold down ❎ to start the game.</li> </ul> <p>In the game:</p> <ul> <li>Use the direction buttons to move your character.</li> <li>By default your character runs while you hold down a direction button.</li> <li>Hold the πŸ…ΎοΈ or ❎ button to &quot;creep&quot; slowly by a single step for each press of the direction button. This is useful when negotiating tight passages or making risky manoeuvres near the edge of the screen.</li> </ul> <p>On the game over screen:</p> <ul> <li>All players: hold down ❎ to return to the title screen.</li> </ul> <p>The pause menu has options to:</p> <ul> <li>turn the music on and off</li> <li>clear all recorded hiscores</li> <li>abandon the current game and return to the title screen</li> </ul> <h2>Inspiration</h2> <p>Squishd! is inspired by the <a href="https://en.wikipedia.org/wiki/Splat!_(video_game)">classic 8-bit game Splat!</a>, but is not a remake.</p> <h2>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;"></p> <h3>3: Make compatible with Pico-8 0.25</h3> <h3>2: Fix wrong sfx played when collecting own gem</h3> <h3>1: 1.0 Release</h3> <ul> <li>show bonuses earned for collecting gems and exiting maze</li> <li>make the lives display in HUD easier to read</li> <li>nicer animation when exiting the maze</li> </ul> <h3>0: Beta Release</h3> <p></div></div></div></p> https://www.lexaloffle.com/bbs/?tid=46656 https://www.lexaloffle.com/bbs/?tid=46656 Sat, 19 Feb 2022 23:47:09 UTC Feature Request: prompt before shutdown if unsaved changes <p>Hi. The W and S keys are close together and I find I often hit Control-W (quit) by accident when I mean to hit Control-S (save), and therefore lose unsaved work.</p> <p>Could Pico-8 prompt before quitting if there is unsaved work? Similar to how it prompts to overwrite files when you save or export?</p> https://www.lexaloffle.com/bbs/?tid=45966 https://www.lexaloffle.com/bbs/?tid=45966 Sun, 02 Jan 2022 10:47:00 UTC Star Beasts 1.3 <p> <table><tr><td> <a href="/bbs/?pid=102381#p"> <img src="/bbs/thumbs/pico8_star_beasts-4.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=102381#p"> Star Beasts 1.3</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=102381#p"> [Click to Play]</a> </td></tr></table> </p> <p>Your ship has stopped in deep space to perform repairs. The crew are on a spacewalk when suddenly predators warp in from hyperspace. Save the crew!</p> <p>Frantic shoot-em-up action inspired by 8-bit classics such as Uridium, Defender, Robotron, Asteroids and Thrust.</p> <img style="margin-bottom:16px" border=0 src="/media/37923/gameplay.gif" alt="" /> <p>The controls are explained on the title screen.</p> <p>You'll get a higher score the more risky your play: </p> <ul> <li>fly fast to get a score multiplier for each kill</li> <li>the bogies evolve to more dangerous forms that are worth more points</li> <li>you can earn big points by rescuing crew members far from the ship</li> </ul> <p>There are four different ships. You'll encounter new challenges on later missions, and need to adapt your tactics.</p> <p>You can also speedrun each level &ndash;&nbsp;your time is shown in the level complete screen.</p> <p>The music is by <a href="https://www.lexaloffle.com/bbs/?uid=11292"> @Gruber</a>.</p> <p>How high can you score?</p> <h2>Gameplay Tips</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> <p>The bogies warp in near your ship in waves and follow fixed paths around the ship scouting for prey. </p> <img style="margin-bottom:16px" border=0 src="/media/37923/scouts.gif" alt="" /> <p>If you learn the patterns of waves and paths you can pick off the bogies with ease while they are scouting. It won't get you high scores, but you can speedrun the levels that way.</p> <p>The faster you are travelling when you fire a shot, the more points you earn if the shot hits a bogey. But be careful. On higher levels, you can collide with the ship's superstructure. While your pod is pretty robust and bounces off at low speeds, at high speed collisions damage your pod.</p> <p>Collisions with bogeys also damage your pod. You don't get any points for colliding with bogeys.</p> <img style="margin-bottom:16px" border=0 src="/media/37923/collisions.gif" alt="" /> <p>The &quot;turret lock&quot; lets you strafe the bogeys at high speed with less chance of collision.</p> <img style="margin-bottom:16px" border=0 src="/media/37923/turret-lock.gif" alt="" /> <p>If a bogey reaches the end of its path, it starts hunting the crew. It's body flashes between yellow and green, and it moves faster. You earn more points for taking out a bogey when it is hunting than when it is scouting.</p> <p>When a bogey reaches the crew member it is hunting, it abducts the crew member. It then flies away from the player. It moves quite slowly when carrying an abducted crew member. Bogey's carrying an abducted crew member are highlighted as red blips on your pod's radar.</p> <img style="margin-bottom:16px" border=0 src="/media/37923/abduction.gif" alt="" /> <p>You can free the crew by shooting the bogey. Your shot propels the crew member in the same direction. Shoot from the right angle, and your shot will propel them back onto the deck of the ship. </p> <img style="margin-bottom:16px" border=0 src="/media/37923/saving-crew-member.gif" alt="" /> <p>If you shoot them in the wrong direction, they will float off into space to their doom. </p> <img style="margin-bottom:16px" border=0 src="/media/37923/lost-in-space-missed-ship.gif" alt="" /> <p>Your only hope then is that another bogey will abduct them before they run out of air.</p> <p>They can only land on the deck of the ship, not on the machinery and piping.</p> <img style="margin-bottom:16px" border=0 src="/media/37923/lost-in-space-cannot-land-on-ship.gif" alt="" /> <p>When a crew member lands on the deck, you get bonus points. The further they travel, the more points you get. One method to earn high scores is to let aliens carry your crew members far from the ship before freeing them. But leaving it too long is risky -- it's harder to direct the astronaut back to the ship, the alien might merge with the human before you shoot it and mutate into a more dangerous form, the freed crew member might run out of air before reaching the ship, or another alien might abduct the freed crew member again while they are floating in space. And in the meantime, other aliens are attacking the crew members still on the ship. </p> <p>You've got to walk a tightrope between risk and reward to earn top scores without the whole situation collapsing into chaos.</p> <p></div></div></div></p> <h2>Version History</h2> <p>1.0 - first public release<br /> 1.2 - Fixed colours of cart image in splore browser<br /> 1.3 - Improved appearance of ship in response to player feedback</p> https://www.lexaloffle.com/bbs/?tid=45660 https://www.lexaloffle.com/bbs/?tid=45660 Sat, 11 Dec 2021 10:16:00 UTC Exporting a .p8.png file does not flatten #includes <p>The export command and the -export command line option do not flatten #includes when exporting a .p8.png file. A cartridge exported from a .p8 program that uses #includes cannot be run.</p> https://www.lexaloffle.com/bbs/?tid=45651 https://www.lexaloffle.com/bbs/?tid=45651 Sat, 11 Dec 2021 00:19:25 UTC Sound stops working on MacOS after hibernate <p>On the Mac, when Pico 8 is running when the Mac hibernates, after I un-hibernate the Mac Pico-8 no longer plays sounds. I have to restart Pico 8 to get audio working again.</p> <p>I'm using MacOS Catalina 10.15.7 and Pico 8 0.2.3</p> https://www.lexaloffle.com/bbs/?tid=45509 https://www.lexaloffle.com/bbs/?tid=45509 Mon, 29 Nov 2021 09:59:49 UTC Q: print number as if a 32-bit integer? <p>Does anyone have a code snippet that can turn a number into a decimal string, treating the bit pattern as a 32-bit unsigned integer instead of 16.16 bit fixed point?</p> https://www.lexaloffle.com/bbs/?tid=38384 https://www.lexaloffle.com/bbs/?tid=38384 Fri, 12 Jun 2020 08:59:58 UTC Pinchpoint TTJ4 <p> <table><tr><td> <a href="/bbs/?pid=76355#p"> <img src="/bbs/thumbs/pico8_pinchpoint-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=76355#p"> pinchpoint</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=76355#p"> [Click to Play]</a> </td></tr></table> </p> <p>My entry for the <a href="https://itch.io/jam/tweettweetjam-4">TweetTweetJam 4</a> game jam -- a game that fits into two tweets. The code for this game is 559 characters.</p> <p>Instructions:</p> <ul> <li>Avoid the green meanie. </li> <li>Shoot it to score points. </li> <li>If you miss, the walls close in.</li> </ul> <p>Controls:</p> <ul> <li>Move: arrow keys</li> <li>Shoot: X while moving</li> </ul> <p>What's the highest score you can reach?</p> <img style="margin-bottom:16px" border=0 src="/media/37923/pinchpoint_0 14.54.47.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=37877 https://www.lexaloffle.com/bbs/?tid=37877 Mon, 11 May 2020 08:06:25 UTC Vandermonde (exploration/puzzle/action game) <p> <table><tr><td> <a href="/bbs/?pid=74276#p"> <img src="/bbs/thumbs/pico8_vandermonde-9.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=74276#p"> vandermonde</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=74276#p"> [Click to Play]</a> </td></tr></table> </p> <p>Escape from Vandermonde by finding your way through the passages to the teleporter. Avoid the robots that patrol the passages or program them to help you.</p> <p>There are 14 levels of exploring, puzzle solving and action, all intertwined on the one large map.</p> <p>Gameplay is introduced within the game. You can choose any level to play at the title screen. However, to beat the game you have to play all the way through from level 1.</p> https://www.lexaloffle.com/bbs/?tid=37194 https://www.lexaloffle.com/bbs/?tid=37194 Sat, 28 Mar 2020 17:24:00 UTC Caracol <p> <table><tr><td> <a href="/bbs/?pid=72423#p"> <img src="/bbs/thumbs/pico8_dredds_caracol-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=72423#p"> Caracol</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=72423#p"> [Click to Play]</a> </td></tr></table> </p> <p>A physics-based puzzle game with fifteen levels.</p> <p>Guide the ball around obstacles, to the target. </p> <p>On the title screen, use the arrow buttons to select a level and O or X button to start play. You can quit a level and return to the level select screen from the pause menu. Gameplay is explained by in-game instructions.</p> <p>Scoring is like golf: the fewer shots required to hit the target the better. Best scores and times are persisted.</p> <p>Levels can be played in any order. However, earlier levels introduce game elements used by later levels.</p> <p>If you're interested in designing levels, let me know in the comments and I'll write up how to activate and use the level design mode.</p> https://www.lexaloffle.com/bbs/?tid=36668 https://www.lexaloffle.com/bbs/?tid=36668 Wed, 29 Jan 2020 16:37:50 UTC Holes <p> <table><tr><td> <a href="/bbs/?pid=66445#p"> <img src="/bbs/thumbs/pico8_holes-7.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=66445#p"> holes</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=66445#p"> [Click to Play]</a> </td></tr></table> </p> <p>A board game.</p> <p>The goal is to trap the other player on a single square. </p> <p>On each turn, the player can move their piece one square, causing a hole to appear beside their opponent, or jump their piece two squares (possibly over a hole), leaving a hole where their piece was.</p> <p>There are different options for play:</p> <ul> <li>two player, one controller (pass the controller back and forth between turns)</li> <li>two player, two controllers (each player has their own controller)</li> <li>one player, easy AI</li> <li>one player, challenging AI</li> </ul> <p>You can choose from a number of board layouts. If you download the cart is easy to add your own board layouts with the sprite editor.</p> <p>In the menu, use the direction buttons to move between menu entries, and the X and O buttons to cycle through the options of menu entry, or perform a menu action.</p> <p>In the game, use the direction buttons to move your piece, or hold down the X or O buttons and use the direction buttons to jump your piece. Use the pause menu if you want to abandon a game and return to the title menu.</p> <p>Gameplay screen shots:<br /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/37923/new-title-screen.gif" alt="" /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/37923/game-start.gif" alt="" /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/37923/game-end.gif" alt="" /></p> <p>Drawing a board layout in the sprite editor:</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/37923/adding-a-board-layout.png" alt="" /> https://www.lexaloffle.com/bbs/?tid=34988 https://www.lexaloffle.com/bbs/?tid=34988 Wed, 07 Aug 2019 21:27:53 UTC Error reporting from coroutines <p>I'm loving coroutines -- they make it so easy to write complex animations and user interactions. But without error stacktraces, debugging them is a <em>nightmare</em>. What's the plan around this? Can we expect a new version of Pico-8 with better error reporting from coroutines?</p> https://www.lexaloffle.com/bbs/?tid=34632 https://www.lexaloffle.com/bbs/?tid=34632 Fri, 05 Jul 2019 09:33:49 UTC Rocket Rivals 1.2 <p> <table><tr><td> <a href="/bbs/?pid=65247#p"> <img src="/bbs/thumbs/pico8_rocket_rivals-8.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65247#p"> Rocket Rivals 1.2</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=65247#p"> [Click to Play]</a> </td></tr></table> </p> <p>Rocket Rivals, a one-button multiplayer game of brinkmanship.</p> <p>Each player has a single control button that controls their thrust. Players earn points by flying higher than the other players, but lose everything if they hit the laser beam top of the screen.</p> <p>Each match lasts one minute.</p> <p>You can choose active players and their characters on the title screen (at the moment only controller 1 navigates the menu).</p> <p>Credits:</p> <ul> <li>uses <a href="https://www.lexaloffle.com/bbs/?uid=10844"> @electricgryphon</a>'s fast triangle drawing function</li> </ul> https://www.lexaloffle.com/bbs/?tid=34533 https://www.lexaloffle.com/bbs/?tid=34533 Mon, 17 Jun 2019 23:08:41 UTC Colour Illusion <p> <table><tr><td> <a href="/bbs/?pid=65215#p"> <img src="/bbs/thumbs/pico8_colour_illusion-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65215#p"> colour_illusion</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=65215#p"> [Click to Play]</a> </td></tr></table> </p> <p>Each ball is drawn in the same colour (brown) but it appears red, green or blue depending on which colour stripes are drawn over it.</p> <p>Inspired by an image shared on twitter. (See <a href="https://twitter.com/testingham/status/1139558284631789568">https://twitter.com/testingham/status/1139558284631789568</a>)</p> <p>I thought i'd see if pico-8 can create the illusion even with its limited palette. The answer is: yes it can! :-)</p> <p>And unlike an image, in pico-8 you can read the source code to confirm the illusion acts as stated.</p> https://www.lexaloffle.com/bbs/?tid=34521 https://www.lexaloffle.com/bbs/?tid=34521 Sat, 15 Jun 2019 08:52:18 UTC How to center text? <p>I&rsquo;m trying to print text centred around a point. </p> <p>At the moment my code offsets the x coordinate by half the width<br /> of a string in pixels, calculated as <code>(4* #s)-1</code>. </p> <p>This works fine for<br /> alphanumeric text but is wrong when the text contains glyphs. </p> <p>Is there a built in function to help achieve this? </p> <p>Or do I need to examine every character when computing the pixel width of the text?</p> https://www.lexaloffle.com/bbs/?tid=34512 https://www.lexaloffle.com/bbs/?tid=34512 Fri, 14 Jun 2019 15:12:29 UTC Divisibubbles 1.2 <p> <table><tr><td> <a href="/bbs/?pid=65064#p"> <img src="/bbs/thumbs/pico8_divisibubbles-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65064#p"> divisibubbles</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=65064#p"> [Click to Play]</a> </td></tr></table> <table><tr><td> <a href="/bbs/?pid=65064#p"> <img src="/bbs/thumbs/pico8_divisibubbles-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65064#p"> divisibubbles 1.2</a><br><br> by <a href="/bbs/?uid=37923"> dredds</a> <br><br><br> <a href="/bbs/?pid=65064#p"> [Click to Play]</a> </td></tr></table> </p> <p>An arcade/puzzle game that will challenge your reactions and your wits.</p> <p>Tap the bubbles that contain a divisor of the number shown at the top-left corner of the screen. When you've tapped them all, the number will increase and more bubbles will appear.</p> <p>But time is running out. A wrong tap will cost some time. A successful tap will gain some time. Can you get to 100?</p> <p>This game uses Pico-8's mouse/touch input.</p> https://www.lexaloffle.com/bbs/?tid=34473 https://www.lexaloffle.com/bbs/?tid=34473 Fri, 07 Jun 2019 23:55:21 UTC