dredds [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=37923 Rocket Rivals 1.0 <p> <table><tr><td> <a href="/bbs/?pid=65247#p"> <img src="/bbs/thumbs/pico8_rocket_rivals-4.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65247#p"> Rocket Rivals 1.0</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 <span style=" display:inline-block; background-color:#eee; padding:2px; margin: 4px; padding-left: 8px; padding-right: 8px; color:#222">(4* #s)-1. </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