mrh [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=11129 Super Cake Cutter <h1>Super Cake Cutter</h1> <p> <table><tr><td> <a href="/bbs/?pid=63341#p"> <img src="/bbs/thumbs/pico8_cakecut-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=63341#p"> cakecut</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=63341#p"> [Click to Play]</a> </td></tr></table> </p> <p>Super Cake Cutter is a weird game I made, inspired by a weekly struggle suffered by my D&amp;D group. Divide the cake evenly into the required number of slices. Watch out for strawberries, they make a slice more valuable!</p> <p>Controls:<br /> Arrows/D-Pad: Move current cut point<br /> Button 1/Z: Cut<br /> Button 2/X: Swap current cut point</p> <p>Music Credit:<br /> Autumn Wind by gruber (cc4-by-nc-sa) from the <a href="https://www.lexaloffle.com/bbs/?tid=33675">Pico-8 Tunes Vol. 2</a></p> <p>Enjoy!</p> https://www.lexaloffle.com/bbs/?tid=33825 https://www.lexaloffle.com/bbs/?tid=33825 Mon, 08 Apr 2019 20:38:11 UTC Picoception - A game engine for Pico-8 made in Pico-8 <p> <table><tr><td> <a href="/bbs/?pid=54117#p"> <img src="/bbs/thumbs/pico54120.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=54117#p"> Picoception 1.1</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=54117#p"> [Click to Play]</a> </td></tr></table> </p> <p>This cart is a game engine for the Pico-8. It's heavily based on <a href="https://www.flickgame.org/">flickgame</a>, of course rewritten from scratch for the P8. Basically, you draw frames, and script the transitions between frames when a certain colour is clicked.</p> <p><strong>Controls</strong><br /> Mouse strongly recommended: Left click to interact/click buttons, right mouse to erase and exit play mode<br /> Dpad and buttons can be used to replace mouse if you really want</p> <p><strong>Features</strong></p> <ul> <li>8 64x64 px, 16 colour frames</li> <li>Save to cart and autoplay to make standalone cartridges</li> <li>Save/load to clipboard for handy sharing</li> <li>Crappy editor UI</li> </ul> <p>I might write up some more stuff about the technical side later. The actual code sucks, don't look at it. :)</p> <p>Here's an example cart (remember you can right mouse/button 2 to exit play mode and view the source):<br /> <table><tr><td> <a href="/bbs/?pid=54117#p"> <img src="/bbs/thumbs/pico54123.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=54117#p"> Picoception P8 Demo 1.1</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=54117#p"> [Click to Play]</a> </td></tr></table> <br /> If anyone makes anything cool please feel free to share here, as a cart or a clipboard save.</p> https://www.lexaloffle.com/bbs/?tid=31502 https://www.lexaloffle.com/bbs/?tid=31502 Thu, 12 Jul 2018 17:35:46 UTC Bug/Shenanigans with Code Tabs <p>I don't know whether this qualifies as a &quot;bug&quot; per se, or just &quot;don't do silly things&quot;, but here goes.</p> <p>If you open up a cart with Code Tabs in an editor you can see they are just separated by a character sequence: &quot;--&gt;8&quot;.</p> <p>Weird stuff happens if you manually insert these. If you insert them in the P8 editor, they'll just sit there until you next load the cart, at which point they will become new tabs. </p> <p>Also the P8 editor enforces a maximum 8 tabs (labelled 0-7). If you have more than this, it will silently drop the offending extra tabs, even if they have content.</p> <p>My suggestion would be to do something different - perhaps ignore extra tab separators and concatenate all the extra tabs into one? Or at least flag a warning on load.</p> <p>The way I can see this being a real problem is with copy and pasting via external editor. It would be really nasty to accidentally drop part of your code this way.</p> https://www.lexaloffle.com/bbs/?tid=31488 https://www.lexaloffle.com/bbs/?tid=31488 Sat, 07 Jul 2018 14:31:33 UTC Pathtris - An arcade puzzle game <p> <table><tr><td> <a href="/bbs/?pid=47639#p"> <img src="/bbs/thumbs/pico47638.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=47639#p"> Pathtris - An arcade puzzle game 0.1</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=47639#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here's my latest creation. The goal is to score points by making closed paths. You lose a life when you try and place a tile where it won't fit with the existing tiles on the board. There's a timer which forces you to place if you haven't when it runs out. Bonus points if you make a closed loop with none of the end cap pieces.</p> <p>Controls: Arrow to move the cursor, button 1 to place a tile and button 2 to hold.</p> <p>Let me know what you think. :)</p> https://www.lexaloffle.com/bbs/?tid=30507 https://www.lexaloffle.com/bbs/?tid=30507 Fri, 22 Dec 2017 17:54:32 UTC It's the 2017 Lowrezjam! Progress pics/discussion <p>I thought people might be interested. <a href="https://itch.io/jam/lowrezjam2017">https://itch.io/jam/lowrezjam2017</a></p> <p>It started a few days ago but it's running until the 17th so you haven't lost too much time yet. Lowrezjam games are 64x64 but you can get this in Pico-8 by doing a poke(0x5f2c,3).</p> <p>I'm working on a pirate sailing adventure. I've got sailing around working ok, working on disembarking so you can walk around islands to look for treasure. Here's my progress so far:</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/11129/PICO-8_6_new.png" width=192 height=192 alt="" /> <p>Anyone else want to share?</p> https://www.lexaloffle.com/bbs/?tid=29751 https://www.lexaloffle.com/bbs/?tid=29751 Thu, 03 Aug 2017 11:45:47 UTC REACTOR-8 <p> <table><tr><td> <a href="/bbs/?pid=24008#p"> <img src="/bbs/thumbs/pico24007.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=24008#p"> REACTOR-8 0.1</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=24008#p"> [Click to Play]</a> </td></tr></table> </p> <p>A chain reaction type game where you attempt to destroy nearly all the particles in the level.</p> <p>Controls: Arrows to move, z to explode.</p> <p>This is a demo, playable and (IMO) fun but it needs some polishing, most notably in the difficulty/progression. Adding more features to vary the levels would probably be a good idea.</p> <p>Known bugs: Levels from about 8+ are not great, level 11+ is broken...</p> https://www.lexaloffle.com/bbs/?tid=3735 https://www.lexaloffle.com/bbs/?tid=3735 Thu, 30 Jun 2016 16:35:31 UTC 3D Rendering in 11 lines of LUA <p> <table><tr><td> <a href="/bbs/?pid=23800#p"> <img src="/bbs/thumbs/pico23801.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=23800#p"> 32 Rendering in 11 lines of LUA</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=23800#p"> [Click to Play]</a> </td></tr></table> </p> <p>I'm thinking about making a vector graphics 3d game for the PICO-8 so I coded up a little demo. The 11 lines refers to the _DRAW() function for the pedants out there. :)</p> <p>This is probably terrible in some way as I don't know much about 3d rendering, I just worked out the equations from a little background knowledge and some trig. Seems to work ok as long as you don't pass through the viewing plane (possibly the wrong term for what I'm thinking of).</p> https://www.lexaloffle.com/bbs/?tid=3724 https://www.lexaloffle.com/bbs/?tid=3724 Tue, 28 Jun 2016 17:46:01 UTC Maze Algorithms on the Pico-8 <p> <table><tr><td> <a href="/bbs/?pid=23403#p"> <img src="/bbs/thumbs/pico23402.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=23403#p"> Maze Algorithms on the Pico-8</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=23403#p"> [Click to Play]</a> </td></tr></table> </p> <p>A fun little toy/demo displaying some maze algorithms.</p> <p>Note the mazes generated are perfect mazes, meaning they have exactly one path from any point to any other point inside the maze. They're not so useful for making games without some adaptation.</p> <p>Algorithms:</p> <p>Binary tree: at each cell, decides to go either down or right. Produces a bias towards diagonal movement and obvious lines at the bottom/right.</p> <p>Sidewinder: goes along a run of cells horizontally, then adds one passage downwards. Tends towards vertical movement and obvious line at the bottom.</p> <p>Aldous-Broder: random walk filling in cells as they're visited. Produces a totally unbiased maze (assuming rnd() is unbiased) but can be slow at the end.</p> <p>If you're interested in the topic I recommend this book (that I got the idea/algorithms from): <a href="https://pragprog.com/book/jbmaze/mazes-for-programmers">Mazes for Programmers</a>.</p> https://www.lexaloffle.com/bbs/?tid=3669 https://www.lexaloffle.com/bbs/?tid=3669 Tue, 21 Jun 2016 15:39:57 UTC Slam Jam Picolution <p> <table><tr><td> <a href="/bbs/?pid=22939#p"> <img src="/bbs/thumbs/pico23215.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=22939#p"> Slam Jam Revolution 0.3</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=22939#p"> [Click to Play]</a> </td></tr></table> </p> <p>A rhythm game for the Pico-8.</p> <p>Controls: Press arrows with timing for great justice.</p> <p>Music Credit: Wistful Waltz by 0xbad1dea, see <a href="https://www.lexaloffle.com/bbs/?tid=3514">this thread</a> (big thanks).</p> <p><strong>UPDATED 0.3: Silly title screen, particle effects, persistent high scores. Still only one song, more coming soon(TM).</strong></p> <p>I'm no musician, so if anyone would like to submit a song for the Pico-8 for the full version I'd much appreciate it (with full credits included of course).</p> <p>P.S. My high score is 7660, apparently that's pretty good?</p> <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;">Old Versions:<br /> 0.1.2 <table><tr><td> <a href="/bbs/?pid=22939#p"> <img src="/bbs/thumbs/pico22938.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=22939#p"> Slam Jam Revolution 0.12</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=22939#p"> [Click to Play]</a> </td></tr></table> <br /> &quot;This is a quick demo that I did this evening. I'm hoping to build it out into a more fully featured game soon.&quot;</p> <p>0.2 <table><tr><td> <a href="/bbs/?pid=22939#p"> <img src="/bbs/thumbs/pico23082.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=22939#p"> Slam Jam Revolution 0.2</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=22939#p"> [Click to Play]</a> </td></tr></table> <br /> &quot;Now updated with some shiny new graphics, and some infrastructure in place towards multiple songs (only 1 actual song currently).&quot;<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=3611 https://www.lexaloffle.com/bbs/?tid=3611 Wed, 15 Jun 2016 17:14:49 UTC Pico-Chess! <p> <table><tr><td> <a href="/bbs/?pid=14931#p"> <img src="/bbs/thumbs/pico15045.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=14931#p"> Pico-Chess! 0.95</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=14931#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=14931#p"> <img src="/bbs/thumbs/pico14930.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=14931#p"> Pico-Chess! 0.9</a><br><br> by <a href="/bbs/?uid=11129"> mrh</a> <br><br><br> <a href="/bbs/?pid=14931#p"> [Click to Play]</a> </td></tr></table> </p> <p>2 player chess. Arrows to move, button 1 to select a piece and confirm a move, button 2 to deselect.</p> <p>En passant, castling, and pawn promotion <strong>don't work</strong>. Because they're complicated. I'm going to try and make an improved version soon which will have these rules working properly. This is why it's v0.95.</p> <p>If you're going to look at the code, be warned: here be dragons. Its messy. Also white and black are swapped in the code from what they actually are in the game. Don't ask.</p> https://www.lexaloffle.com/bbs/?tid=2556 https://www.lexaloffle.com/bbs/?tid=2556 Sat, 03 Oct 2015 14:40:22 UTC