briac [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=10941 Tubular Craze - a Pipe Mania demake <p> <table><tr><td> <a href="/bbs/?pid=26046#p"> <img src="/bbs/thumbs/pico26664.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=26046#p"> Tubular Craze 1.3</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=26046#p"> [Click to Play]</a> </td></tr></table> </p> <p>previous versions :</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;"></p> <p> <table><tr><td> <a href="/bbs/?pid=26046#p"> <img src="/bbs/thumbs/pico26640.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=26046#p"> Tubular Craze 1.2</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=26046#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=26046#p"> <img src="/bbs/thumbs/pico26399.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=26046#p"> Tubular Craze 1.0</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=26046#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=26046#p"> <img src="/bbs/thumbs/pico26283.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=26046#p"> Tubular Craze 0.3</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=26046#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=26046#p"> <img src="/bbs/thumbs/pico26166.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=26046#p"> Tubular Craze 0.2</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=26046#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=26046#p"> <img src="/bbs/thumbs/pico26045.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=26046#p"> Tubular Craze 0.1</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=26046#p"> [Click to Play]</a> </td></tr></table> </p> <p></div></div></div></p> <p>New version of Tubular Craze, a clone of Pipe Mania.</p> <p>The goal is to connect pipes from the Start tile (S) to the End tile (E) with at least a number of pipes (the number below &quot;LEFT&quot; in the lower left).</p> <p>You can see the 5 next pipes to lay down on the left, the pipe with a red outline is the current one to place (it's the same as you cursor).</p> <p><strong><span style="text-decoration: underline;">update 1.3</span></strong></p> <ul> <li>fix an embarrassing bug in hard mode, making it impossible to finish</li> </ul> <p><strong><span style="text-decoration: underline;">update 1.2</span></strong></p> <ul> <li>music by Robby Duguay (from the <a href="https://www.lexaloffle.com/bbs/?tid=2619">9 songs</a> cartridge)</li> <li>hard mode when all the levels are completed</li> <li>better scoring information (extra pipes, crossovers and hard mode bonuses)</li> </ul> <p><strong><span style="text-decoration: underline;">update 1.0</span></strong></p> <ul> <li>player lives</li> <li>15 levels!</li> <li>endgame screen (game won / game over)</li> </ul> <p><strong><span style="text-decoration: underline;">update 0.4</span></strong></p> <ul> <li>fixed a bug when completing a level with less than the required number of pipe</li> <li>enabled sound</li> <li>help page</li> </ul> <p><strong><span style="text-decoration: underline;">Still left to do</span></strong></p> <ul> <li>more levels</li> <li>music</li> </ul> https://www.lexaloffle.com/bbs/?tid=3949 https://www.lexaloffle.com/bbs/?tid=3949 Thu, 28 Jul 2016 19:00:35 UTC Tangle <p> <table><tr><td> <a href="/bbs/?pid=25819#p"> <img src="/bbs/thumbs/pico25818.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=25819#p"> Tangle 0.1</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=25819#p"> [Click to Play]</a> </td></tr></table> </p> <p>There are still some annoying bugs:</p> <ul> <li>Anchors are sometimes overlapping, making them impossible to move</li> <li>I'm not sure all the puzzles have a valid solution</li> <li>There is an easy way to cheat</li> </ul> https://www.lexaloffle.com/bbs/?tid=3915 https://www.lexaloffle.com/bbs/?tid=3915 Sun, 24 Jul 2016 12:36:28 UTC Defender <p> <table><tr><td> <a href="/bbs/?pid=25485#p"> <img src="/bbs/thumbs/pico25484.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=25485#p"> Defender 0.1</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=25485#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here is a cartridge I was working on and forgot about. It's a happy surprise that it is more or less working!</p> https://www.lexaloffle.com/bbs/?tid=3859 https://www.lexaloffle.com/bbs/?tid=3859 Mon, 18 Jul 2016 07:30:36 UTC Mathemagician <p> <table><tr><td> <a href="/bbs/?pid=25430#p"> <img src="/bbs/thumbs/pico25816.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=25430#p"> Mathemagician 1.4</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=25430#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=25430#p"> <img src="/bbs/thumbs/pico25464.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=25430#p"> Mathemagician 1.2</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=25430#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=25430#p"> <img src="/bbs/thumbs/pico25453.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=25430#p"> Mathemagician 1.1</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=25430#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=25430#p"> <img src="/bbs/thumbs/pico25429.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=25430#p"> Mathemagician 1.0</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=25430#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here is a fun math game, inspired by the <a href="https://en.wikipedia.org/wiki/24_Game">game &quot;24&quot;</a>, where you have to make mental calculation to obtain a target number with only the 4 integers given to you.</p> <p>You can use parenthesis and standard operators (+,-,*,/) to get to the result.</p> <p>Good luck!</p> <p>The fun part in this cartridge is the calculator which includes a parsing Shunting-yard algorithm to generate and evaluate an RPN expression.</p> <p>1.4 Update :</p> <ul> <li>Fix an issue when there was still numbers on the stack when evaluating an expression (like &quot;829&quot; evaluated to &quot;9&quot;, instead of giving an error)</li> </ul> <p>1.3 Update :</p> <ul> <li>Button X deletes the last character</li> <li>The delete button is replaced by a &quot;c&quot; (like in a calculator) to reset the guess</li> </ul> <p>1.2 Update :</p> <ul> <li>Fixed a bug with the shunting yard algorithm (the test for operator precedence was incorrect)</li> <li>Added a debug/test mode for RPN calculation (set the scene=2)</li> </ul> <p>1.1 Update : </p> <ul> <li>Score, timer and difficulty indicator</li> <li>Fireworks when a correct solution is guessed (from the <a href="https://www.lexaloffle.com/bbs/?tid=3668">Fireworks effects by Saccharine</a>)</li> <li>Some invalid calculations are detected (not all)</li> <li>Fixed some other bugs</li> </ul> https://www.lexaloffle.com/bbs/?tid=3850 https://www.lexaloffle.com/bbs/?tid=3850 Sat, 16 Jul 2016 18:00:20 UTC gfx2png <p>Hi,</p> <p>I wrote a perl script to convert a cartridge spritesheet to png and back. This way, you can edit your sprites in your favorite software and update the cartridge when done.</p> <p><a href="https://github.com/briacp/pico2png/blob/master/pico2png.pl">pico2png.pl</a></p> https://www.lexaloffle.com/bbs/?tid=2531 https://www.lexaloffle.com/bbs/?tid=2531 Tue, 29 Sep 2015 04:09:58 UTC bitfield manipulation <p>Hi,</p> <p>Is there a way to make bitwise operations in pico8?<br /> Otherwise, I don't understand how btnwe are supposed to use the bitfields returned by the functions btn() and fget(n).</p> <p>Shouldn't we be able to do something like :</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> flag2_set = fget(tile) &amp; 2 </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>I know fget(tile, 2) would work, but I don't see how to use the bitfield. Am I missing something obvious?</p> https://www.lexaloffle.com/bbs/?tid=2507 https://www.lexaloffle.com/bbs/?tid=2507 Tue, 22 Sep 2015 16:35:00 UTC Pikonoid <p> <table><tr><td> <a href="/bbs/?pid=14133#p"> <img src="/bbs/thumbs/pico14482.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=14133#p"> Pikonoid 0.05</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=14133#p"> [Click to Play]</a> </td></tr></table> <br /> <strong>0.05</strong></p> <ul> <li>Still bad collisions :)</li> <li>Secret code for unlimited lives</li> <li>some other stuff</li> </ul> <p> <table><tr><td> <a href="/bbs/?pid=14133#p"> <img src="/bbs/thumbs/pico14330.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=14133#p"> Pikonoid 0.04</a><br><br> by <a href="/bbs/?uid=10941"> briac</a> <br><br><br> <a href="/bbs/?pid=14133#p"> [Click to Play]</a> </td></tr></table> <br /> <strong>0.04</strong></p> <ul> <li>Rewrote the code nearly from scratch, levels are map are</li> <li>redone collisions based on the Wall Collision Example cartridge</li> <li>Splash screen with Arkanoid intro sequence (still WIP)</li> <li>Double and Triple hit bricks</li> <li>bricks score</li> <li>10 levels done</li> </ul> <p>Still a lot of work to do, the collisions seem a bit weird, the ball sometimes feels sticky when bouncing around.</p> <p><strong>0.03 - 14210</strong></p> <ul> <li>First attempt at Pico8 tracker with the Arkanoid music</li> <li>Multiple levels are now playable in one game (if you are good enough)</li> <li>Retry OK after Game Over</li> <li>Better collision and ball direction</li> <li>Ball speed varies according to where it bounces on the paddle</li> <li>Boss sprite</li> </ul> <p><strong>0.02</strong></p> <ul> <li>multiple levels, although for the moment you can access them only by changing the start_level variable</li> <li>Oooh! Shiny start page!</li> <li>More sprites</li> <li>Collision still buggy</li> <li>Sticky paddle when starting / losing life</li> </ul> <p><strong>Todo list</strong></p> <ul> <li>Power ups</li> <li>Lasers</li> <li>Final Boss Battle</li> </ul> https://www.lexaloffle.com/bbs/?tid=2463 https://www.lexaloffle.com/bbs/?tid=2463 Mon, 14 Sep 2015 11:11:52 UTC