freds72 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=25532 tline3d incorrect sub-pixel rendering <p>tline3d misses sub-pixel precision and generate incorrect samples at borders.</p> <p>note: tline3d adheres to the (correct) rule of filling [x0//1;x1//1[</p> <p>how to reproduce:</p> <ul> <li>run attached cart</li> <li>left: per pixel</li> <li>right: tline3d</li> <li>notice border artifacts &amp; texture wobbling</li> </ul> <p> <table><tr><td> <a href="/bbs/?pid=146373#p"> <img src="/bbs/thumbs/pico64_satanebika-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=146373#p"> satanebika</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=146373#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=141647 https://www.lexaloffle.com/bbs/?tid=141647 Thu, 11 Apr 2024 16:38:14 UTC vec adds crash <p>version: 0.1e<br /> Os: Windows 10</p> <p>How to reproduce:</p> <ul> <li>run following code</li> </ul> <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> a=vec(1,2,3) b=vec(1,2,3) print(0.5*(a+b)) </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>picotron crashes to deskop with:</li> </ul> <p>Exception thrown at 0x004A231E in picotron.exe: 0xC0000005: Access violation reading location 0x00000000.</p> <p>Workaround #1:</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> a=vec(1,2,3) b=vec(1,2,3) print((a+b):mul(0.5)) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Workaround #2:</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> a=vec(1,2,3) b=vec(1,2,3) print((a+b) * 0.5) </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=141471 https://www.lexaloffle.com/bbs/?tid=141471 Fri, 05 Apr 2024 18:29:26 UTC memmap(addr) crash <p>Version: 0.1e<br /> Host: Windows 10</p> <p>How to reproduce:</p> <ul> <li>in the terminal type:</li> </ul> <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> memmap(0x8000) </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>Picotron crashes</li> </ul> <p>related: how to un-memmap???</p> https://www.lexaloffle.com/bbs/?tid=141415 https://www.lexaloffle.com/bbs/?tid=141415 Wed, 03 Apr 2024 17:18:44 UTC incorrect tline3d clipping <p>How to reproduce:</p> <ul> <li>use tline3d with &quot;w&quot; parameters</li> <li>draw a tline where the starting point crosses the screen border</li> <li>notice that result gets skewed </li> </ul> <p>demo cart:</p> <ul> <li>arrows to move square</li> <li>see what happens when moving left :)</li> </ul> <p>unrelated: tline3d doc needs some carriage returns!</p> <p> <table><tr><td> <a href="/bbs/?pid=144279#p"> <img src="/bbs/thumbs/pico64_wowogomewe-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=144279#p"> wowogomewe</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=144279#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=141046 https://www.lexaloffle.com/bbs/?tid=141046 Sun, 24 Mar 2024 06:34:54 UTC message footer truncates long lines <p>how to reproduce:</p> <ul> <li>create a lua file in a long path<br /> say:<br /> /apps/mygame/program.p64/library/maths/matrix/code.lua</li> <li>see how syntax errors message get truncated:</li> </ul> <img style="margin-bottom:16px" border=0 src="/media/25532/55_Capture.PNG" alt="" /> https://www.lexaloffle.com/bbs/?tid=141018 https://www.lexaloffle.com/bbs/?tid=141018 Sat, 23 Mar 2024 12:22:00 UTC time drift (screensaver) <p>how to reproduce:</p> <ul> <li>select &quot;dizzy.p64&quot; as screensaver</li> <li>let it run for some minutes</li> <li>rotation/effect speed increases over time</li> </ul> https://www.lexaloffle.com/bbs/?tid=141017 https://www.lexaloffle.com/bbs/?tid=141017 Sat, 23 Mar 2024 11:47:24 UTC feature request: mouse lock <p>Rationale:</p> <ul> <li>sfx buttons would make more sense with a hidden mouse</li> <li>a couple of projects of mine :)</li> </ul> https://www.lexaloffle.com/bbs/?tid=140980 https://www.lexaloffle.com/bbs/?tid=140980 Thu, 21 Mar 2024 21:29:37 UTC printh doesn't produce any output <p>Symptoms:</p> <ul> <li>platform: Windows / Mac?</li> <li>printh from a program yields nothing in the program output window</li> </ul> <p>How to reproduce:</p> <ul> <li>copy following code in main.lua</li> </ul> <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> printh(&quot;bob&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>precision: confirmed to work on Linux, text is directed to the console that launched picotron</p> https://www.lexaloffle.com/bbs/?tid=140945 https://www.lexaloffle.com/bbs/?tid=140945 Wed, 20 Mar 2024 19:36:20 UTC no print output until _update loop <p>Symptom: </p> <ul> <li>a program that loops (intentionnaly or not!) will not produce any print before _update or program exits.</li> </ul> <p>How to reproduce: </p> <ul> <li>paste following code in main.lua</li> </ul> <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> for i=1,10 do print(string.format(&quot;hi world %ith&quot;,i)) end while true do end </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=140944 https://www.lexaloffle.com/bbs/?tid=140944 Wed, 20 Mar 2024 19:33:32 UTC Demi Daggers <p> <table><tr><td> <a href="/bbs/?pid=137782#p"> <img src="/bbs/thumbs/pico8_freds72_daggers_title-8.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=137782#p"> Demi Daggers</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=137782#p"> [Click to Play]</a> </td></tr></table> </p> <p><strong>Note: game must be played from splore - this page doesn't support mouse lock</strong><br /> <strong>Note: global leaderboard not yet available</strong></p> <p>Take the cursed dagger, use its power to dispatch the horrors from this hellish place, score the best time!</p> <p><em>Note: this is not an official Devils Daggers port for PICO8 but a fan game using Sorath's game universe.</em></p> <img style="margin-bottom:16px" border=0 src="/media/25532/playtrough.gif" alt="" /> <h1>How to play</h1> <ul> <li>Default controls: ESDF + mouse</li> <li>Fire: left mouse button</li> <li>Jump: space</li> </ul> <p>Local stats icons:</p> <ul> <li><img style="margin-bottom:16px" border=0 src="/media/25532/jewels.png" alt="" /> number of jewels collected</li> <li><img style="margin-bottom:16px" border=0 src="/media/25532/daggers.png" alt="" /> number of daggers fired</li> <li><img style="margin-bottom:16px" border=0 src="/media/25532/precision.png" alt="" /> hit ratio</li> <li><img style="margin-bottom:16px" border=0 src="/media/25532/deaths.png" alt="" /> obituary message</li> <li><img style="margin-bottom:16px" border=0 src="/media/25532/clock.png" alt="" /> session time</li> </ul> <h1>Configuration &amp; Settings</h1> <p>Go to Settings , adjust and accept to save your changes.</p> <img style="margin-bottom:16px" border=0 src="/media/25532/settings.gif" alt="" /> <h1>Online Leaderboard</h1> <p>Game uses Newgrounds leaderboard for competitive play.</p> <p>Play from until scoresub is available:<br /> <a href="https://freds72.itch.io/demi-daggers">https://freds72.itch.io/demi-daggers</a><br /> <a href="https://www.newgrounds.com/portal/view/905300">https://www.newgrounds.com/portal/view/905300</a></p> <p>Click on online - connect button on title screen to login (or create) with your NG account.</p> <p>Online ladder can be disabled from settings menu.</p> <h1>Editor How to</h1> <p>Game ships with a built-in editor.<br /> Design your own voxel enemies and share your creations on #demidaggers!</p> <img style="margin-bottom:16px" border=0 src="/media/25532/editor.gif" alt="" /> <p>(see workaround below for middle click)</p> <h2>Editor 101</h2> <p>*All commands have a tooltip, hover the mouse on the icon and a sliding text will appear:</p> <img style="margin-bottom:16px" border=0 src="/media/25532/tooltip.gif" alt="" /> <p>Mouse bindings:</p> <ul> <li>left click: draw voxel</li> <li>middle click (hold): rotate view</li> <li>right click: pick color from cursor</li> <li>green line: represents the drawing plane (switches dynamically)</li> <li>mouse wheel: moves drawing plane back&amp;forth (slices)</li> </ul> <p>In case you want to revert to original models, hit P (for pause) and select <strong>reset all</strong> (needs confirmation).</p> <h2>Saving &amp; Sharing</h2> <p><strong>play</strong> command saves the models, generates images and goes back to title</p> <p><strong>copy</strong> copies the current model to the clipboard, easy to share a single model. Don't forget to post the corresponding gif!</p> <p>Paste the text on the target model to use it.</p> <p><strong>export</strong> saves all models for sharing</p> <h3>When running standalone (binaries or PICO8 desktop), file is located under</h3> <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>%APPDATA%\pico-8\appdata\freds72_daggers\export.p8l</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <h3>When running on web, use browser dev tools to extract the &quot;freds72_daggers_asssets.p8l&quot; file.</h3> <p>Drag&amp;drop an export.p8l file over an open editor to replace your current voxel collection.</p> <h1>Credits</h1> <ul> <li>Sorath: original game!</li> <li>Ridgek: (awesome) music &amp; sound design</li> <li>Artyom Brullov: additional gfx (thanks!)</li> <li>Heracleum: cover art</li> <li>Werxyz, Miss Mouse: beta testers</li> <li>Zep and the #pico8 discord folks!</li> </ul> <h1>Post-mortem &amp; Technical Details</h1> <p>See: <a href="https://freds72.itch.io/demi-daggers/devlog/638738/journey-to-demi-daggers">https://freds72.itch.io/demi-daggers/devlog/638738/journey-to-demi-daggers</a></p> <h1>Changelog</h1> <h2>V1.3 (15064e3)</h2> <p>changed: removed multi-spritesheet exploit with new Pico 0.2.6 version<br /> changed: covert art by Heracleum</p> <h2>V1.2 (8f696d9)</h2> <p>changed: improved egg model (re-generate via editor)<br /> changed: squid spawn no longer invicible before spewing<br /> changed: reduced shotgun duration (3 frames)<br /> changed: reduced worm difficulty<br /> changed: Increase spawn &amp; chatter spider sfx loudness<br /> changed: lower streak wait time<br /> changed: high level shotgun fire over several frames<br /> changed: large centipede health<br /> changed: increased skull gravity<br /> fixed: improved shotgun cpu usage<br /> fixed: prevent chatter from not playing back after Ctrl+R reload<br /> changed: reduced skulls upward speed<br /> changed: improved squid hitbox<br /> added: auto gif option for best score&gt;30s<br /> changed: attract cooldown for shotgun<br /> changed: build version in settings menu<br /> fixed: crash in editor for bad colors<br /> fixed: high cpu switching menu in title<br /> fixed: skulls fountain on title<br /> fixed: removed invalid color in editor</p> <h2>V1.1 (164e498)</h2> <p>changed: shotgun on &quot;long&quot; click<br /> change: upward move on squid spawns<br /> fixed: smooth &quot;coyotte&quot; move<br /> fixed: jump on press<br /> fixed: removed browser mouse acceleration<br /> fixed: editor not going back to title<br /> fixed: editor crash on last color</p> https://www.lexaloffle.com/bbs/?tid=55113 https://www.lexaloffle.com/bbs/?tid=55113 Wed, 22 Nov 2023 20:19:24 UTC reload disregards source cart size <p>How to reproduce:</p> <ul> <li>save a zero length pico8 file</li> </ul> <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> cstore(0,0,0,&quot;blah.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>reload() file from another cart</li> </ul> <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> reload(0x0,0x0,0x4300,&quot;blah.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> <p>surprise! 0x0 -- 0x42ff was been wiped out clean even if &quot;blah.p8&quot; doesn't contain any data :/</p> https://www.lexaloffle.com/bbs/?tid=55067 https://www.lexaloffle.com/bbs/?tid=55067 Fri, 17 Nov 2023 18:24:45 UTC Mouse lock drift on Firefox <p>Symptoms: the mouse drifts right on Firefox (only)</p> <p>How to reproduce:</p> <ul> <li>export demo cart as an html page</li> <li>publish page on itch.io (or equivalent)</li> <li>run game on Firefox (MacOS or Windows - Linux is fine)</li> <li>notice mouse x-drifting</li> </ul> <p>Note: does <strong>not</strong> occur when game is run locally<br /> Note: does <strong>not</strong> occur when game is run fullscreen using the Pico8 button<br /> Wild guess: suspect a Firefox bug regarding mouse coordinates and iframes?</p> <p>Test cart:</p> <ul> <li><a href="https://freds72.itch.io/mouse-lock-test">https://freds72.itch.io/mouse-lock-test</a></li> <li>password: mouse</li> </ul> <p>Code:</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 _init() poke(0x5f2d,0x5) end _x,_y=0,0 function _update() _x=mid(_x+stat(38),0,127) _y=mid(_y+stat(39),0,127) end function _draw() cls() print(_x..&quot;/&quot;.._y,2,2,7) circfill(_x,_y,4,8) end </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=54910 https://www.lexaloffle.com/bbs/?tid=54910 Sun, 05 Nov 2023 15:15:42 UTC Invalid pre-processing of ternary <h1>How to reproduce</h1> <ul> <li>execute code:</li> </ul> <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> print(&quot;a&quot;) (nil or print)(&quot;b&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>outputs:</li> </ul> <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> A runtime error line 1 tab 0 print(&quot;a&quot;) attempt to call a number value at line 1 (tab 0) </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>note that print(&quot;a&quot;) is correctly executed regardless of the error being reported on that line!</p> <h1>Workaround</h1> <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> print(&quot;a&quot;) local fn=nil or print fn(&quot;b&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=53289 https://www.lexaloffle.com/bbs/?tid=53289 Fri, 30 Jun 2023 19:46:49 UTC cstore() to p8.rom filename saves png <p>Expected:</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> -- save to p8.rom format cstore(0,0,0x4300,&quot;test.p8.rom&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>Outcome (bug): test.p8.rom is actually a png file!!</p> https://www.lexaloffle.com/bbs/?tid=51494 https://www.lexaloffle.com/bbs/?tid=51494 Sun, 05 Feb 2023 13:32:46 UTC 0.2.5d _env syntax error <p>The _env (lower case) keyword is no longer supported:</p> <img style="margin-bottom:16px" border=0 src="/media/25532/env.PNG" alt="" /> <p>example cart: <a href="https://www.lexaloffle.com/bbs/?tid=48907">https://www.lexaloffle.com/bbs/?tid=48907</a></p> <p>likely a general bugs on upper/lower case remapping.</p> https://www.lexaloffle.com/bbs/?tid=50636 https://www.lexaloffle.com/bbs/?tid=50636 Tue, 13 Dec 2022 19:27:36 UTC some p8scii string won't copy to clipboard <p>Marking as resolved - this is a &quot;feature&quot; of printh to stop at \0.<br /> Solution to export p8scii to clipboard is given here: <a href="https://www.lexaloffle.com/bbs/?tid=38692">https://www.lexaloffle.com/bbs/?tid=38692</a></p> <p>Repro cart:<br /> <table><tr><td> <a href="/bbs/?pid=116055#p"> <img src="/bbs/thumbs/pico8_haguramako-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=116055#p"> haguramako</a><br><br> by <a href="/bbs/?uid=25532"> freds72</a> <br><br><br> <a href="/bbs/?pid=116055#p"> [Click to Play]</a> </td></tr></table> </p> <p>Outcome:</p> <ul> <li>p8scii correctly copies bytes on screen</li> <li>bug: clipboard gets only a truncated command (should be 612 chars)</li> </ul> <p>Note: works as expected if background is not 0</p> https://www.lexaloffle.com/bbs/?tid=48972 https://www.lexaloffle.com/bbs/?tid=48972 Sat, 20 Aug 2022 13:38:10 UTC inconsistent poke 0x5f56 rules <p>The new poke to set map start cannot be applied to 0x20.<br /> eg:</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> &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 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> &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="margin-bottom:16px" border=0 src="/media/25532/chamboul_0.gif" alt="" /> <p>or a &quot;Santa Bombers&quot;!</p> <img style="margin-bottom:16px" 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="margin-bottom:16px" border=0 src="/media/25532/36_keyboard.png" alt="" /> <p>Alternate scheme (select from <strong>controls</strong> menu):</p> <img style="margin-bottom:16px" 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