Catatafish [Lexaloffle Blog Feed] Tunnel effect <p>(originally posted in <a href=""></a> - I tried to not spam the forum but it turns out you can't post two carts in one thread if you want them both to show up in splore.)</p> <p> <table><tr><td> <a href="/bbs/?pid=63818#p"> <img src="/bbs/thumbs/pico8_catatatunnel2-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=63818#p"> catatatunnel2</a><br><br> by <a href="/bbs/?uid=8336"> Catatafish</a> <br><br><br> <a href="/bbs/?pid=63818#p"> [Click to Play]</a> </td></tr></table> </p> <p>Shift/tab removes the text. Setting the scale to about 10 makes the interlaced versions look sort of okay.</p> <p>Based on <a href=""></a></p> Mon, 22 Apr 2019 05:40:35 UTC Plasma effect <p>I got hyped for Revision &amp; tried my hand at some old demo effects :)</p> <p>60 fps plasma:<br /> <table><tr><td> <a href="/bbs/?pid=63811#p"> <img src="/bbs/thumbs/pico8_catataplasma-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=63811#p"> catataplasma</a><br><br> by <a href="/bbs/?uid=8336"> Catatafish</a> <br><br><br> <a href="/bbs/?pid=63811#p"> [Click to Play]</a> </td></tr></table> </p> <p>Based on <a href=""></a></p> <p>edit: tunnel cart moved to <a href=""></a></p> Mon, 22 Apr 2019 05:14:39 UTC Unwitting cart theft <p>Hi,<br /> A cart is showing up in my profile here <a href=";mode=carts&amp;sub=0#m">;mode=carts&amp;sub=0#m</a> as being created by me, but it was not - all I did was paste someone else's cart id into this post - <a href=""></a></p> <p>Is there a way to remove it from my list?<br /> Thanks</p> Thu, 11 Apr 2019 01:01:44 UTC Some carts... look a bit odd? <p>Following on from the 'some carts kill the browser tab' thread, those carts are no longer hanging for me, but there's still something funky going on in some of them compared to the desktop version.</p> <p>It's most noticeable with <a href=""></a>:</p> <img style="" border=0 src="" alt="" /> <p>edit: background differences are more obvious at full res, sorry for the poor vertical alignment.</p> Wed, 05 Dec 2018 02:13:51 UTC Some carts kill the browser tab <p>The BBS' player seems a little unstable since the update, some carts are hanging in both Firefox (63.0.3 / 64bit) &amp; Chrome (70.0.3538.110, 64 bit) for me at least.</p> <p>Here's a couple of examples:</p> <p><a href=""></a> - posted after the update (and electricgryphon also is having the same issue)<br /> <a href=""></a> - old cart that used to run ok</p> <p>These both work fine in the PC application.</p> <p>I'm not sure it's directly related to high CPU use - for example, if I move the camera inside the models in this cart to force &gt; 100% cpu, I don't get hangs: <a href=""></a></p> Sun, 02 Dec 2018 18:31:50 UTC Wizardry (music) <p> <table><tr><td> <a href="/bbs/?pid=34707#p"> <img src="/bbs/thumbs/pico34705.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=34707#p"> Wizardry (music)</a><br><br> by <a href="/bbs/?uid=8336"> Catatafish</a> <br><br><br> <a href="/bbs/?pid=34707#p"> [Click to Play]</a> </td></tr></table> </p> <p>Just messing around in the tracker. Music was converted from an old Amiga .mod by Jester, logo stolen from the internet. Code is an attempt at a water effect that went wrong. (edit: reflectsize=28 looks ok, ish)</p> <p>(also Happy New Year!)</p> Sun, 01 Jan 2017 22:31:05 UTC Compression limit in carts <p>Hi,</p> <p>Perhaps this has been asked before, but I don't recall seeing anything about it specifically. Apologies if so.</p> <p>I've just gone over the png compression limit on a cart, but have about 1128 tokens &amp; 20,000 odd characters left to go. I'll probably use all of them.. I know I can reduce the length of my variable names, or minify the source to make it fit, but -</p> <p>I was wondering if there was a technical reason why the cart file size couldn't be, say, doubled, or even left unrestricted? As long as you're within the token and character limit that is. </p> <p>For the record, I think the idea of storing data directly in the image is pretty damn cool &amp; I'm not suggesting that be changed, but if it's only restricted by image size, perhaps the 'overflow' data could be stored in a private png chunk? In theory it shouldn't interfere with how it appears or downloads in browsers or image viewers etc.</p> <p>If it's a hard limit on file size or Javascript or something though, I guess I can't really argue against that one.</p> <p>I guess it's no big deal, but I'd love to be able to keep the original source in the cart is all.</p> <p>Cheers</p> <p>edit: clarification - cart <strong>file</strong> size.</p> Thu, 22 Sep 2016 23:39:17 UTC Function lists in Notepad++ <p>I was dabbling in Npp &amp; ended up making this. It's made navigating through source code much simpler for me, I figured others might find it useful too.</p> <p>Example from one of Zep's compression carts (whose nested functions caused no end of trouble for my puny regex-fu):</p> <img style="" border=0 src="" width=988 height=693 alt="" /> <p>NB, it requires you to edit Notepad's config files, so maybe make a backup first in case something goes wrong.</p> <p>Link: <a href="">Github Gist</a></p> Sun, 31 Jul 2016 23:08:45 UTC Floating/fixed point format? <p>Hi,</p> <p>The other thread about converting numbers to hex strings got me wondering if it was possible to do the same with fixed point data. (I did try searching here first but didn't find anything about this specifically)</p> <p>I wrote a quick test to dump the bits out, but for floats I'm not sure where to find the fractional part. I figured it'd be in the top byte, but as the last test shows, it's not there (or my code is wrong). Is it possible to get at this data?</p> <p>Thanks</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 convert(value) local binary = &quot;&quot; for i=1,16 do local shift = shl(1,i-1) binary=abs(shr(band(shift,value),i-1))..binary end print(&quot;convert &quot;..value..&quot; to binary:&quot;) print(binary) local integerval = 0 for k=1,16 do local str = shl(sub(binary, k, k),16-k) integerval += str end print(&quot;and back again: &quot;..integerval) print(&quot;&quot;) end function _init() cls() convert(0xc0de) convert(12345) convert(3.14159) 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>Here's a screenshot: (ironically it's larger than the cart, but it's done now)</p> <img style="" border=0 src="" alt="" /> <p>edit: in fact, the code to convert back is wrong, as it doesn't handle the decimal point. I think the binary conversion is correct though.</p> Wed, 22 Jun 2016 21:08:57 UTC