DrPete [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=15133 Fizzlefade transition effect <p> <table><tr><td> <a href="/bbs/?pid=43743#p"> <img src="/bbs/thumbs/pico43741.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=43743#p"> Fizzlefade transition effect</a><br><br> by <a href="/bbs/?uid=15133"> DrPete</a> <br><br><br> <a href="/bbs/?pid=43743#p"> [Click to Play]</a> </td></tr></table> </p> <p>I saw a couple of articles earlier about the Fizzlefade effect from Wolfenstein 3D. It's a transition effect that draws over random pixels, but never draws over the same pixel twice.</p> <ul> <li><a href="http://fabiensanglard.net/fizzlefade/index.php">http://fabiensanglard.net/fizzlefade/index.php</a></li> <li><a href="http://antirez.com/news/113">http://antirez.com/news/113</a></li> </ul> <p>I thought this was a cool trick, and I wanted to try it out and see it in action, so I implemented the Feistel network technique from antirez's article. Posting here in case anyone likes the effect and wants to recycle the code.</p> https://www.lexaloffle.com/bbs/?tid=29862 https://www.lexaloffle.com/bbs/?tid=29862 Tue, 29 Aug 2017 16:38:05 UTC Randomizer Showcase <p> <table><tr><td> <a href="/bbs/?pid=30420#p"> <img src="/bbs/thumbs/pico30419.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=30420#p"> Randomizer Showcase</a><br><br> by <a href="/bbs/?uid=15133"> DrPete</a> <br><br><br> <a href="/bbs/?pid=30420#p"> [Click to Play]</a> </td></tr></table> </p> <p>Sometimes, your game makes use of a randomly generated sequence, but it would be nice to smooth out some of the short-term variance in it (e.g. long stretches of not getting a long piece in Tetris). This cart showcases some algorithms you can use to generate smoother-feeling random sequences, and lets you visualize them for tetrominoes, digits, or dice rolls.</p> <p>Thanks to TetrisConcept without whom I would never have learned about these techniques, and to the developers who invented them.</p> <p>See the code comments for more on the implementation of each randomizer.</p> https://www.lexaloffle.com/bbs/?tid=27854 https://www.lexaloffle.com/bbs/?tid=27854 Sun, 09 Oct 2016 11:17:50 UTC NumPop <p> <table><tr><td> <a href="/bbs/?pid=27203#p"> <img src="/bbs/thumbs/pico30826.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=27203#p"> NumPop 1.0</a><br><br> by <a href="/bbs/?uid=15133"> DrPete</a> <br><br><br> <a href="/bbs/?pid=27203#p"> [Click to Play]</a> </td></tr></table> </p> <p>A little math puzzle for my first Pico-8 game.</p> <p><strong>Instructions (see also the in-game demo):</strong><br /> Pop pairs of numbers to gain points. When you pop numbers, you'll gain their units-digit of their sum, e.g:<br /> 3 + 5 = +8 points<br /> 7 + 7 = +4 points (because 7 + 7 is 14)<br /> 9 + 3 = +2 points (because 9 + 3 is 12)<br /> after which, the popped pair is replaced with the result, and a new number is added onto the end. (It'll make sense after you've played.)</p> <p>As a special bonus, if you would gain 0 points from a move (e.g. 0 + 0 or 8 + 2), you'll instead gain an extra turn.</p> <p><strong>CHANGELOG:</strong><br /> <strong>1.0 [2016-10-13]</strong></p> <ul> <li>state of the art <span style="color: #ff0000;">G</span><span style="color: #ffff00;">R</span><span style="color: #00ff00;">A</span><span style="color: #00ffff;">P</span><span style="color: #ff00ff;">H</span><span style="color: #ff0000;">I</span><span style="color: #ffff00;">C</span><span style="color: #00ff00;">S</span> and <span style="color: #ff0000;">A</span><span style="color: #ffff00;">N</span><span style="color: #00ff00;">I</span><span style="color: #00ffff;">M</span><span style="color: #ff00ff;">A</span><span style="color: #ff0000;">T</span><span style="color: #ffff00;">I</span><span style="color: #00ff00;">O</span><span style="color: #00ffff;">N</span><span style="color: #ff00ff;">S</span> (well, scrolly bubbles and stuff)</li> <li>rudimentary sfx</li> <li>UI improvements</li> <li>in-game instructions/demo</li> <li>switch randomizer again, old one was a bit too cyclic<br /> <strong>0.0.2 [2016-10-09]</strong></li> <li>tweak how random numbers are generated to be more even-looking</li> <li>fix a bug where only the last byte of your high score is saved (use dset/dget instead of poke/peek)<br /> <strong>0.0.1 [2016-08-22]</strong></li> <li>initial version</li> </ul> https://www.lexaloffle.com/bbs/?tid=4108 https://www.lexaloffle.com/bbs/?tid=4108 Mon, 22 Aug 2016 03:40:50 UTC