Xderial [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=8979 Secret Pico 8 Colors <p> <table><tr><td> <a href="/bbs/?pid=38615#p"> <img src="/bbs/thumbs/pico38614.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=38615#p"> Secret Pico 8 Colors</a><br><br> by <a href="/bbs/?uid=8979"> Xderial</a> <br><br><br> <a href="/bbs/?pid=38615#p"> [Click to Play]</a> </td></tr></table> </p> <p><a href="http://www.aaronbell.com/secret-colours-of-the-commodore-64/">Heavily inspired by Aaron Bell's blog post.</a></p> <p>No, the Pico 8 doesn't really have any secret colors, but by changing a pixel between two colors very fast, we can trick the eye into thinking that it is seeing another color.</p> <p>Here is an approximation of how the effect should look on your screen:<br /> <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;"><img style="" border=0 src="https://www.lexaloffle.com/bbs/files/8979/approx.png" width=512 height=512 alt="" /></div></div></div><br /> Of course a lot of the colors wouldn't work, because of flicker.</p> <p><strong>Technical Info:</strong><br /> This requires 60 fps mode and works best when not run in a browser. Additionally, since (i suspect) the frame timing varies a little, the effect may appear to stutter from time to time on 60hz monitors. Additionally additionally, only some color combinations work (the luminance of the two colors have to be close to each other) and even then the color can vary a little between monitors. <strong>Not to mention that you would need to label your games with a seizure warning.</strong></p> https://www.lexaloffle.com/bbs/?tid=29028 https://www.lexaloffle.com/bbs/?tid=29028 Thu, 23 Mar 2017 11:08:33 UTC Distortion Tech Demo <p> <table><tr><td> <a href="/bbs/?pid=38027#p"> <img src="/bbs/thumbs/pico38026.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=38027#p"> Distortion Tech Demo v1</a><br><br> by <a href="/bbs/?uid=8979"> Xderial</a> <br><br><br> <a href="/bbs/?pid=38027#p"> [Click to Play]</a> </td></tr></table> </p> <p>Press [Z] to start distortion, [X] to increase distortion amount.</p> <p>A simple screen distortion effect using memcpy, using only 63 tokens.</p> <p>Easy install, just copy the line below:<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> <div> <div style="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> function distort(a)a=min(a,64)for y=0,127 do local r=flr(-a+rnd(a*2)+0.5)local s,e,l,m=max(-r,0),max(r,0),64-abs(r),24576+y*64memcpy(m+e,m+s,l)end end </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div>And paste it in your project. Then add </p> <div> <div style="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> distort(amount) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>(replace amount with desired distortion amount) to the bottom of your _draw loop in an if condition to prevent it from being always on. For best effect, use a timer to turn it on and off.</p> <p>Open the cartridge in editor for more details.</p> https://www.lexaloffle.com/bbs/?tid=28929 https://www.lexaloffle.com/bbs/?tid=28929 Sat, 04 Mar 2017 00:39:51 UTC Fire &amp; Blade <p> <table><tr><td> <a href="/bbs/?pid=37636#p"> <img src="/bbs/thumbs/pico38028.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=37636#p"> Fire and Blade b3</a><br><br> by <a href="/bbs/?uid=8979"> Xderial</a> <br><br><br> <a href="/bbs/?pid=37636#p"> [Click to Play]</a> </td></tr></table> </p> <p>New in beta 3: Distortion screen effect when hit!</p> <p>Managed to get some extra cart space by converting from 2 spaces to tabs, and then used the new found space for this new useless effect. It looks cool though! (<a href="https://www.lexaloffle.com/bbs/?tid=28929">A demo cart for the distortion effect can be found here</a>.)</p> <p>There is still some things i a unhappy about, such as chains and multi kills not being visually represented, but i will have to carve out a good chunk of fat from the game in order to fit it in. I'll get to that eventually.</p> <p>Original post<br /> <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;"><br /> My first ever Pico 8 game.</p> <p>I've been staring at this thing for so long, that i no longer have any idea whether it's actually any good or not. Regardless, it's done now, so i might as well upload it.<br /> </div></div></div></p> <p><strong>===== Changelog / Previous versions =====</strong></p> <p>b3 :: 2017-03-04<br /> <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;"><br /> Added a distortion effect when hit by an enemy<br /> Added distortion effect to gameover screen<br /> Trimmed some chars</p> <p> <table><tr><td> <a href="/bbs/?pid=37636#p"> <img src="/bbs/thumbs/pico38028.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=37636#p"> Fire and Blade b3</a><br><br> by <a href="/bbs/?uid=8979"> Xderial</a> <br><br><br> <a href="/bbs/?pid=37636#p"> [Click to Play]</a> </td></tr></table> <br /> </div></div></div></p> <p>b2 :: 2017-02-24<br /> <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;"><br /> added chains and multi kills ((10 + chain) * multikill)<br /> green points are now affected by chains (100 + chain * 10)<br /> increased green point suction radius from 32 to 40<br /> updated game over screen to show chains and multi kills<br /> removed fuel meter from UI<br /> removed some unneeded code<br /> fixed the weird ampersand in the logo, and updated label image<br /> made enemies ever so slightly slower<br /> now starts with 3 enemies instead of 2</p> <p> <table><tr><td> <a href="/bbs/?pid=37636#p"> <img src="/bbs/thumbs/pico37791.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=37636#p"> Fire and Blade b2</a><br><br> by <a href="/bbs/?uid=8979"> Xderial</a> <br><br><br> <a href="/bbs/?pid=37636#p"> [Click to Play]</a> </td></tr></table> <br /> </div></div></div></p> <p>b1 :: 2017-02-20<br /> <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;"><br /> Public release</p> <p> <table><tr><td> <a href="/bbs/?pid=37636#p"> <img src="/bbs/thumbs/pico37635.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=37636#p"> Fire and Blade b1</a><br><br> by <a href="/bbs/?uid=8979"> Xderial</a> <br><br><br> <a href="/bbs/?pid=37636#p"> [Click to Play]</a> </td></tr></table> <br /> </div></div></div></p> <p>a1-a8 :: 2017-02-07<br /> <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;"><br /> Not available<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=28854 https://www.lexaloffle.com/bbs/?tid=28854 Mon, 20 Feb 2017 09:13:42 UTC