freds72 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=25532 inconsistent poke 0x5f56 rules <p>The new poke to set map start cannot be applied to 0x20.<br /> eg:</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> &mdash; does nothing :[ poke(0x5f56, 0x24) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>for small maps, the 0x2000 &lsquo;hardware&rsquo; map area cannot be reached in full:</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> &mdash; hw map poke(0x5f56, 0x20) &mdash; say tiles are starting after a large 32x32 map &mdash; set width poke(0x5f57, 2) &mdash; yikes, cannot set y offset (&gt;256) poke(0x5f3b, 32*32\2) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=45729 https://www.lexaloffle.com/bbs/?tid=45729 Thu, 16 Dec 2021 07:51:26 UTC Totally Accurate Holiday Bowling <p>Holiday season, stuck at home waiting to open presents?<br /> Despair snow more, a play of totally accurate bowling will enjoy the day!</p> <p> <table><tr><td> <a href="/bbs/?pid=102722#p"> <img src="/bbs/thumbs/pico8_freds72_bowling-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=102722#p"> freds72_bowling</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=102722#p"> [Click to Play]</a> </td></tr></table> </p> <h2>Devlog</h2> <p>Codebase expands from Ghost Rally, no longer limited to a single dynamic/static response.<br /> Collision hulls are limited to solid rectangles to benefit from simplified overlapping tests and clipping maths.<br /> The whole engine could be plugged into any 3d engine if you don't mind the staggering token cost :/</p> <p>Sources are available at: <a href="https://github.com/freds72/chamboultout">https://github.com/freds72/chamboultout</a></p> <p>The game went through multiple iterations (initial idea was a &quot;chamboultout&quot;), including odd things like:</p> <img style="" border=0 src="/media/25532/chamboul_0.gif" alt="" /> <p>or a &quot;Santa Bombers&quot;!</p> <img style="" border=0 src="/media/25532/chamboul_1.gif" alt="" /> <h2>Changelog</h2> <p>1.1 fixed: invalid &quot;spare&quot; message when producing a strike</p> <h2>Credits:</h2> <ul> <li>Physic code &amp; articles by Randy Gaul: <a href="https://github.com/RandyGaul/qu3e">qu3e</a></li> <li>Physic articles &amp; talks from Dirk Gregorious: <a href="http://media.steampowered.com/apps/valve/2015/DirkGregorius_Contacts.pdf">Contacts Talk</a></li> <li>Radix sort by James Edge (<a href="https://www.lexaloffle.com/bbs/?uid=39699"> @jimmi</a>)</li> <li>Secret Discord team (<a href="https://www.lexaloffle.com/bbs/?uid=24585"> @Jusiv</a>, @markgammed...)</li> </ul> https://www.lexaloffle.com/bbs/?tid=45701 https://www.lexaloffle.com/bbs/?tid=45701 Tue, 14 Dec 2021 06:16:11 UTC POOM <p> <table><tr><td> <a href="/bbs/?pid=101541#p"> <img src="/bbs/thumbs/pico8_poom_0-9.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=101541#p"> poom_0</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=101541#p"> [Click to Play]</a> </td></tr></table> </p> <p>BBS Edition to celebrate year 1 of POOM release!<br /> (limited to 1 level - sorry!)</p> <p>Enjoy full game at: <a href="https://freds72.itch.io/poom">https://freds72.itch.io/poom</a></p> <h2>Controls</h2> <img style="" border=0 src="/media/25532/36_keyboard.png" alt="" /> <p>Alternate scheme (select from <strong>controls</strong> menu):</p> <img style="" border=0 src="/media/25532/mobile controls.png" alt="" /> <h2>Devlog</h2> <p>Game is &quot;multi-cart&quot;, using 0x8000 region filled with raw data from 2 carts (poom_0+poom_1).</p> <p>Engine details: <a href="https://freds72.itch.io/poom/devlog/241700/journey-to-poom">https://freds72.itch.io/poom/devlog/241700/journey-to-poom</a></p> <h2>Credits</h2> <p>Art+Design+Music: <a href="https://www.lexaloffle.com/bbs/?uid=29414"> @paranoidcactus</a><br /> Code: <a href="https://www.lexaloffle.com/bbs/?uid=25532"> @freds72</a></p> <h2>Changes</h2> <ul> <li>added: Jelpi Spotter credit :)</li> </ul> https://www.lexaloffle.com/bbs/?tid=45572 https://www.lexaloffle.com/bbs/?tid=45572 Sun, 05 Dec 2021 13:04:52 UTC tline incorrect rendering on slanted lines <p>See repro cart - unless I am totally wrong on my software tline, pico8 tline (&quot;hw tline&quot;) is not correctly rendering lines with arbitrary slopes.</p> <p>Software version eventually converge toward correct pattern, tline does not.</p> <p> <table><tr><td> <a href="/bbs/?pid=93773#p"> <img src="/bbs/thumbs/pico8_rikegukawu-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=93773#p"> rikegukawu</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=93773#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=43420 https://www.lexaloffle.com/bbs/?tid=43420 Sun, 20 Jun 2021 08:25:03 UTC Unable to detect keys mapped to accentuated character <p>stat(31) fails to report any key mapped to an accentuated character (ex: on AZERTY keyboard, 2 is mapped to key &quot;&eacute;&quot;).<br /> It prevents support for diverse keyboard layouts.</p> <p>Suggest to have a raw keyboard stat value to report key number.</p> <p> <table><tr><td> <a href="/bbs/?pid=90300#p"> <img src="/bbs/thumbs/pico8_goyonusuha-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=90300#p"> goyonusuha</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=90300#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=42394 https://www.lexaloffle.com/bbs/?tid=42394 Fri, 09 Apr 2021 20:06:41 UTC menuitem function ignored if game doesn't have a _update loop <p>How to reproduce:</p> <ul> <li>register custom menu entry</li> <li>run game with an endless while/flip loop</li> </ul> <p><strong>bug</strong>: menu item code is never triggered</p> <p> <table><tr><td> <a href="/bbs/?pid=86023#p"> <img src="/bbs/thumbs/pico8_gijenijato-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=86023#p"> gijenijato</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=86023#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=41024 https://www.lexaloffle.com/bbs/?tid=41024 Fri, 01 Jan 2021 14:16:53 UTC Feature request: keyconfig api <p>It is not possible to present actual keys being used by pico in game.<br /> Pico8 keyconfig can be used to remap keys.</p> <p>Proposal:</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> keyconfig id [player] returns the character being used for button id and player (default 0) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=40825 https://www.lexaloffle.com/bbs/?tid=40825 Wed, 16 Dec 2020 08:31:24 UTC [multicart] Pause resets screen palette <p>How to reproduce:</p> <ul> <li>launch cart</li> <li>set custom screen palette: </li> </ul> <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> pal({140,1,139,3,4,132,133,7,6,134,5,8,2,9,10},1) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <ul> <li>load data:</li> </ul> <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> reload(0,0,0x4300,&quot;cart2.p8&quot;) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <ul> <li>while data gets processed, hit &quot;pause&quot;</li> <li>bug: screen palette gets reset</li> </ul> <p>Can be reproduced on POOM on the loading screen (<a href="https://freds72.itch.io/poom">https://freds72.itch.io/poom</a>)</p> <img style="" border=0 src="/media/25532/Capture.PNG" alt="" /> https://www.lexaloffle.com/bbs/?tid=40798 https://www.lexaloffle.com/bbs/?tid=40798 Mon, 14 Dec 2020 20:57:32 UTC headless export bugs <p>Using -export command to automate multi cart package building and blocked by a number of bugs:</p> <ul> <li>unable to specify HTML plate path (only works if export is actually performed from home folder)</li> <li>inconsistent path parameters between bin and html exports:</li> </ul> <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> # works for html pico8.exe carts\cart_0.p8 -home . -export &quot;game_alpha.html -p my_plate cart_1.p8 cart_2.p8&quot; # doesn't work for bin pico8.exe carts\cart_0.p8 -home . -export &quot;game_alpha.bin cart_1.p8 cart_2.p8&quot; # works for bin cd carts pico8.exe cart_0.p8 -export &quot;game_alpha.bin cart_1.p8 cart_2.p8&quot; </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <ul> <li>incomplete js generated unless export is run from carts folder</li> </ul> <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> # produces broken js pico8.exe carts\cart_0.p8 -home . -export &quot;game_alpha.html -p my_plate cart_1.p8 cart_2.p8&quot; </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=40098 https://www.lexaloffle.com/bbs/?tid=40098 Sat, 31 Oct 2020 14:01:28 UTC thick line routine <p>Thick line drawing routine (as a reply to <a href="https://www.lexaloffle.com/bbs/?uid=42638"> @JadeLombax</a> Twitter).<br /> <table><tr><td> <a href="/bbs/?pid=80095#p"> <img src="/bbs/thumbs/pico8_rabogemeri-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80095#p"> rabogemeri</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=80095#p"> [Click to Play]</a> </td></tr></table> </p> <p>Manual:</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> linefill x0 y0 x1 y1 r [col] draw a 2*r pixel wide line note: r must be &gt;= 0.5 to produce meaningful results note: the code uses sub-pixel precision rasterization, allowing smooth movement </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Example:</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> -- 4 pixel wide white line linefill(45,34,67,96,2,7) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=39016 https://www.lexaloffle.com/bbs/?tid=39016 Wed, 29 Jul 2020 16:32:40 UTC tline incorrect clipping <p>introduced in 0.2.0d<br /> how to reproduce:</p> <ul> <li>call tline with a start point outside of screen boundaries</li> <li>tline starts at 0 without adjusting lookup coordinates</li> </ul> <p>repro cart:<br /> <table><tr><td> <a href="/bbs/?pid=75284#p"> <img src="/bbs/thumbs/pico8_kuwirapima-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=75284#p"> kuwirapima</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=75284#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=37561 https://www.lexaloffle.com/bbs/?tid=37561 Fri, 24 Apr 2020 12:30:10 UTC Unable to draw after mouse pan <p>How to reproduce:</p> <ul> <li>switch to spritesheet</li> <li>select pen tool</li> <li>draw</li> <li>middle-mouse click to pan</li> <li>draw does nothing outside the initial zone</li> </ul> <img style="" border=0 src="/media/25532/assault_1.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=37409 https://www.lexaloffle.com/bbs/?tid=37409 Fri, 17 Apr 2020 15:52:20 UTC nil not handled as zero in bit operators <p>How to reproduce:</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> -- outputs zero local b=band(nil,4) -- throws error (arithmetic on field ?) local b=nil&lt;&lt;4 </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=37405 https://www.lexaloffle.com/bbs/?tid=37405 Fri, 17 Apr 2020 07:07:52 UTC info + #include reports random figures <p>How to reproduce:</p> <ul> <li>cart with 3 includes</li> </ul> <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> #include includes/bold.lua #include includes/bigscore.lua ... some other code ... #include includes/tquad.lua </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <ul> <li>reports invalid 'printb' not found (included in bold.lua)</li> <li>info produces random output:</li> </ul> <img style="" border=0 src="/media/25532/assault_001.png" alt="" /> <ul> <li>ctrl-r clears the error and runs the cart ok</li> </ul> https://www.lexaloffle.com/bbs/?tid=37404 https://www.lexaloffle.com/bbs/?tid=37404 Fri, 17 Apr 2020 07:00:23 UTC bit operators without assignment bogus syntax error message <p>how to reproduce: </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> for i=1,n do i&lt;&lt;5 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>Output:</p> <img style="" border=0 src="/media/25532/null_syntax_error.PNG" alt="" /> <p>or</p> <img style="" border=0 src="/media/25532/japanese_syntax_error.PNG" alt="" /> <p>Repro cart:<br /> <table><tr><td> <a href="/bbs/?pid=74867#p"> <img src="/bbs/thumbs/pico8_towakowibo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=74867#p"> towakowibo</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=74867#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=37403 https://www.lexaloffle.com/bbs/?tid=37403 Fri, 17 Apr 2020 06:36:36 UTC [request] Multicart on BBS <p>Multicart is really a nice expansion feature, to offer content beyond the 32K boundary.<br /> However, with reload not supporting BBS-hosted carts, large games are banned from BBS.</p> <p>Is that something considered in the pico roadmap to bring back multicart games to the &quot;official&quot; forums?</p> <p>Note that supporting more than a couple of data carts will require rework of the BBS file management.</p> <ul> <li>support for upload many files at once</li> <li>support for listing cart identifiers</li> <li>support for headless export of p8.png (limited to html/bin at time of writing)</li> <li>ability to assign same id pattern to many carts (ex: vracing_0... vracing_10)</li> </ul> <p>Cheers</p> https://www.lexaloffle.com/bbs/?tid=36991 https://www.lexaloffle.com/bbs/?tid=36991 Wed, 04 Mar 2020 19:53:52 UTC reload bug <p>As per documentation, reload does not support BBS carts.<br /> However, the function fails without any error while trying:</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> -- does nothing (or not??) reload(0,0,0x4300,&quot;#vracing_5&quot;) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Could the function reports an error in such case?</p> https://www.lexaloffle.com/bbs/?tid=36962 https://www.lexaloffle.com/bbs/?tid=36962 Sun, 01 Mar 2020 21:42:32 UTC Code panel freezes browser <p>On Chrome: Version 79.0.3945.88 (64 bits)<br /> How to reproduce:</p> <ul> <li>navigate to any game</li> <li>click on &quot;code&quot; dropdown</li> <li>page becomes unresponsive (cannot be selected, game cannot be launched...)</li> </ul> <p>Not reproduced on Edge (and apparently on Firefox - cannot test)</p> https://www.lexaloffle.com/bbs/?tid=36463 https://www.lexaloffle.com/bbs/?tid=36463 Thu, 02 Jan 2020 21:05:19 UTC snow! <p> <table><tr><td> <a href="/bbs/?pid=70497#p"> <img src="/bbs/thumbs/pico8_freds72_snow-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70497#p"> freds72_snow</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=70497#p"> [Click to Play]</a> </td></tr></table> </p> <p>Winter is coming (as every year actually...), time for some skiing!<br /> Enjoy going down the slope, trying to beat your previous track record or freeriding skills!</p> <p>Grab coins for some extra time bonus - watch out for off track hazards!<br /> Your polar jacket can sustain a couple of direct hits, avoid trees anyway...</p> <p>Note: there is no end racing line - you <strong>will</strong> loose :] question is how much time will you last?</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/25532/snow_intro.gif" alt="" /> <p><img style="" border=0 src="https://www.lexaloffle.com/bbs/files/25532/snow_gameplay1.gif" alt="" /> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/25532/snow_gameplay2.gif" alt="" /></p> <h2>Controls</h2> <ul> <li>Left/Right: control direction</li> <li>c: jump (hold to charge)</li> <li>x: restart (if stuck)</li> <li>follow GPS pointer if lost</li> </ul> <h2>Tracks</h2> <ul> <li>blue: easy</li> <li>red: moderate, with side tracks. Practice your tricks.</li> <li>black: heavy slope, with side tracks. Tricks or time out :)</li> </ul> <h1>About the PICO-8 Advent Calendar</h1> <p>This winter another group of PICO-8 elves has worked hard to release a shiny new toy every day in December. Check out the <a href="https://www.lexaloffle.com/bbs/?tid=36076">Pico-8 Advent Calendar 2019</a> each day for a new surprise! </p> <p>There's even more festive fun waiting on last year's calendar! <a href="https://www.lexaloffle.com/bbs/?tid=32388">https://www.lexaloffle.com/bbs/?tid=32388</a></p> <p>Happy Holidays!</p> <h1>Devlog</h1> <p>Before I joined the ranks of the Advent Calendar 2019, <a href="https://www.lexaloffle.com/bbs/?uid=15227"> @johanp</a>, <a href="https://www.lexaloffle.com/bbs/?uid=28958"> <a href="https://www.lexaloffle.com/bbs/?uid=28958"> @p01</a></a> and others were toying with terrain generation - resulting in this:</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/25532/wipeout_0.gif" alt="" /> <p>With the theme being set to winter, I had this prototype ready to test the idea:</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/25532/st8p_1.gif" alt="" /> <p>The gameplay evolved from some endless runner to something more akin a time attack game.<br /> Thanks to feedback from early testers, and several gameplay changes, I think I have something that is fun to play and challenging enough!</p> <p>Source code (+unminified version): <a href="https://github.com/freds72/midwinter">https://github.com/freds72/midwinter</a></p> <h2>Update 1.3</h2> <ul> <li>updated: high level gameplay :]</li> <li>know bug: minor visual artifacts on black track (due to the way I cull terrain)</li> </ul> <h1>Credits</h1> <ul> <li>Advent Calendar folks! (<a href="https://www.lexaloffle.com/bbs/?uid=16975"> @enargy</a> :)</li> <li>Midwinter mask: Andrew Elkerton (I guess...)</li> <li>intro music: @gruber_music</li> <li>trifill: <a href="https://www.lexaloffle.com/bbs/?uid=28958"> <a href="https://www.lexaloffle.com/bbs/?uid=28958"> @p01</a></a></li> </ul> https://www.lexaloffle.com/bbs/?tid=36092 https://www.lexaloffle.com/bbs/?tid=36092 Mon, 02 Dec 2019 19:39:05 UTC Rotated Ellipse Fill <p> <table><tr><td> <a href="/bbs/?pid=66809#p"> <img src="/bbs/thumbs/pico8_ellipsefill-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=66809#p"> ellipsefill</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=66809#p"> [Click to Play]</a> </td></tr></table> </p> <p>A little experiment with filled ellipse, supporting any rotation angle (the tricky part!).<br /> The code is moderately fast as it finds the root of the ellipse equation to get the segment extent for each row.</p> <p>Car headlight example use:</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/25532/ellipse_0.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=35124 https://www.lexaloffle.com/bbs/?tid=35124 Tue, 20 Aug 2019 20:47:24 UTC