Catatafish [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=8336 Glitchy artefacts on first load <p>Hi,</p> <p>This may or may not be a bug - the version of the webplayer currently on the forum (0.1.12d rc7) does something funky during the initial loading screen of my game - <a href="https://www.lexaloffle.com/bbs/?tid=36430">https://www.lexaloffle.com/bbs/?tid=36430</a>.</p> <p>When you see the &quot;loading...&quot; text the rest of the screen should be completely black, but the webplayer displays some extra blue dots in grid pattern across the screen.</p> <p>At this point the cart is decompressing a px9 file to video memory (see the first four lines of _init()), so seeing artefacts appearing in the output was a little worrying :)</p> <p>The data seems to be decompressed correctly though, so perhaps this is just part of the glitchy cart reset effect, but I can't really tell.</p> https://www.lexaloffle.com/bbs/?tid=36461 https://www.lexaloffle.com/bbs/?tid=36461 Thu, 02 Jan 2020 19:03:40 UTC Zedwolf <p>A not-entirely-canon demake of the game 'Zeewolf' by Binary Asylum.</p> <p>Pilot your Zedwolf chopper across 6.5 km^2 of 3d open world environment, rescue hostages and repel the enemy force's attack!</p> <p><strong>epilepsy warning: contains strobe or flash effects</strong></p> <p> <table><tr><td> <a href="/bbs/?pid=71621#p"> <img src="/bbs/thumbs/pico8_zedwolf-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=71621#p"> Zedwolf 1.25</a><br><br> by <a href="/bbs/?uid=8336"> Catatafish</a> <br><br><br> <a href="/bbs/?pid=71621#p"> [Click to Play]</a> </td></tr></table> </p> <p>Currently there's only one level and the cart will simply replay it once it's completed.<br /> I hope to add another one in future, but I also wanted to get something out before the end of the decade, and I have.. 19 minutes (local time) to do that!</p> <p><strong>Controls</strong>:</p> <p><strong>Z:</strong> toggle landing gear up / down</p> <p><strong>X (while landing gear is down):</strong> throttle up<br /> <strong>X (while gear is up):</strong> fire rockets</p> <p><strong>Arrow keys:</strong> move</p> <p><strong>Shift / W / Pause menu option:</strong> minimap &amp; mission briefing</p> <p><strong>Repairing &amp; refuelling</strong><br /> Find a repair crane and land nearby - there's one in your base!</p> <img style="margin-bottom:16px" border=0 src="/media/8336/repair_tutorial.gif" alt="" /> <p><strong>Rescuing friendlies</strong><br /> You can find hostages and other folks in need of help dotted around the map. Land nearby and they will hop on board! Bring anyone you find back to your base (the yellow objective marker) to complete the rescue.</p> <img style="margin-bottom:16px" border=0 src="/media/8336/resucing_dudes_tutorial.gif" alt="" /> <p>But be careful - if you are shot down or run out of fuel with passengers on board, you will not be able to rescue them! (ran out of tokens to fit that in, sorry)</p> <p><strong>Non violence mode</strong><br /> You will still get shot at, so it's not 100% violence free, but I wanted to include a less bloodthirsty way to complete a mission. Non-violence mode is active as long as you don't kill anything, and you don't get killed. You can complete the level by rescuing all friendlies on the map.<br /> Once something has been destroyed, you will need to complete the main objectives to finish the mission.</p> <p>And Happy New Year!</p> <p>edit: I completely forgot to credit Allister Brimble as the original author of the music - the track in this game is a manual conversion of his Zeewolf 1 title track.</p> <p>old versions:<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 /> <table><tr><td> <a href="/bbs/?pid=71621#p"> <img src="/bbs/thumbs/pico8_zedwolf-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=71621#p"> Zedwolf 1.24</a><br><br> by <a href="/bbs/?uid=8336"> Catatafish</a> <br><br><br> <a href="/bbs/?pid=71621#p"> [Click to Play]</a> </td></tr></table> <br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=36430 https://www.lexaloffle.com/bbs/?tid=36430 Wed, 01 Jan 2020 04:40:58 UTC Tunnel effect <p>(originally posted in <a href="https://www.lexaloffle.com/bbs/?tid=33995">https://www.lexaloffle.com/bbs/?tid=33995</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="https://lodev.org/cgtutor/tunnel.html">https://lodev.org/cgtutor/tunnel.html</a></p> https://www.lexaloffle.com/bbs/?tid=33998 https://www.lexaloffle.com/bbs/?tid=33998 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="https://lodev.org/cgtutor/plasma.html">https://lodev.org/cgtutor/plasma.html</a></p> <p>edit: tunnel cart moved to <a href="https://www.lexaloffle.com/bbs/?tid=33998">https://www.lexaloffle.com/bbs/?tid=33998</a></p> https://www.lexaloffle.com/bbs/?tid=33995 https://www.lexaloffle.com/bbs/?tid=33995 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="https://www.lexaloffle.com/bbs/?uid=8336&amp;mode=carts&amp;sub=0#m">https://www.lexaloffle.com/bbs/?uid=8336&amp;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="https://www.lexaloffle.com/bbs/?pid=59639#p">https://www.lexaloffle.com/bbs/?pid=59639#p</a></p> <p>Is there a way to remove it from my list?<br /> Thanks</p> https://www.lexaloffle.com/bbs/?tid=33844 https://www.lexaloffle.com/bbs/?tid=33844 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="https://www.lexaloffle.com/bbs/?pid=16351">https://www.lexaloffle.com/bbs/?pid=16351</a>:</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/8336/3dracing.PNG" alt="" /> <p>edit: background differences are more obvious at full res, sorry for the poor vertical alignment.</p> https://www.lexaloffle.com/bbs/?tid=32459 https://www.lexaloffle.com/bbs/?tid=32459 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="https://www.lexaloffle.com/bbs/?tid=32380">https://www.lexaloffle.com/bbs/?tid=32380</a> - posted after the update (and electricgryphon also is having the same issue)<br /> <a href="https://www.lexaloffle.com/bbs/?pid=16351">https://www.lexaloffle.com/bbs/?pid=16351</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="https://www.lexaloffle.com/bbs/?pid=46687">https://www.lexaloffle.com/bbs/?pid=46687</a></p> https://www.lexaloffle.com/bbs/?tid=32423 https://www.lexaloffle.com/bbs/?tid=32423 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> https://www.lexaloffle.com/bbs/?tid=28403 https://www.lexaloffle.com/bbs/?tid=28403 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> https://www.lexaloffle.com/bbs/?tid=27721 https://www.lexaloffle.com/bbs/?tid=27721 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="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/8336/nppico.png" 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="https://gist.github.com/andygreen1/31fa0541dba9a773f6de6919acf45737">Github Gist</a></p> https://www.lexaloffle.com/bbs/?tid=3978 https://www.lexaloffle.com/bbs/?tid=3978 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 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> 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="margin-bottom:16px" border=0 src="http://i.imgur.com/1AlLnxR.gif" 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> https://www.lexaloffle.com/bbs/?tid=3678 https://www.lexaloffle.com/bbs/?tid=3678 Wed, 22 Jun 2016 21:08:57 UTC