gradualgames [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=23858 Possible to scroll well past end of text even without whitespace <p>I noticed today because I have a mouse wheel that can unlock and spin that it is possible to scroll very far past the end of a text tab in PICO-8, and then I have to spin it all the way back up. Even if there's no white space populating the document. I would expect scrolling to stop when the last character hits the top or just above the top of the screen or something like that. Hard to illustrate with a gif since you can't know when I'm using the mouse wheel (except by a pause and the cursor is jittering cause i'm hammering the mouse wheel down a bunch of times then up), but, here's one anyway.</p> <img style="margin-bottom:16px" border=0 src="/media/23858/77_darby_0.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=50616 https://www.lexaloffle.com/bbs/?tid=50616 Sun, 11 Dec 2022 23:44:11 UTC Star Raiders (Atari 400/800 demake) <p> <table><tr><td> <a href="/bbs/?pid=109205#p"> <img src="/bbs/thumbs/pico8_starraiders-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=109205#p"> starraiders</a><br><br> by <a href="/bbs/?uid=23858"> gradualgames</a> <br><br><br> <a href="/bbs/?pid=109205#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a demake of the classic Atari 400/800 game Star Raiders. It is intended to be as faithful as possible while making some improvements.</p> <p>You are the pilot of Star Cruiser 7, protector of the galaxy. A fleet of enemy Zylon fighters has intruded the galaxy, bent on destroying all of the peaceful space stations you are entrusted to protect. Your goal is to hunt down squadrons of enemy fighters and destroy them.</p> <p>Both the keyboard and the gamepad are used to control Star Cruiser 7.</p> <p>O (z): Select difficulty mode on the title screen. Default is &quot;novice,&quot; followed by &quot;pilot,&quot; &quot;warrior,&quot; and &quot;commander.&quot;</p> <p>X: Start game, and fire photon torpedos.</p> <p>Arrows/dpad: Steer the ship through space.</p> <p>0-9: Set sub-warp impulse engine velocity.</p> <p>S: Activate shields.</p> <p>A: Aft view.</p> <p>F: Fore view.</p> <p>G: Galactic chart for selecting hyperwarp destination.</p> <p>H: Engage hyperwarp engines.</p> <p>K: Activate attack computer.</p> <p>T: Activate targeting computer.</p> <p>M: Manual target select.</p> <p>L: Long range sector scan.</p> <p>Gameplay:</p> <p>When the game starts, you will be by yourself in an empty sector of the galaxy. Watch out for asteroids! They are everywhere. You can shoot them before they strike your ship. It is a good idea to turn on your shields! However, be aware this will use up your energy a little faster.</p> <img style="margin-bottom:16px" border=0 src="/media/23858/40_starraiders_0.gif" alt="" /> <p>The first thing you should do is view the galactic chart. Hit 'G' to view it:</p> <img style="margin-bottom:16px" border=0 src="/media/23858/starraiders_0.png" alt="" /> <p>The glowing dot is your location in the galaxy. Use the dpad to move around the hyperwarp target destination dot. Once you have selected a destination, hit 'F' for fore view and then hit 'H' to engage hyperwarp. If you are in the 'novice' difficulty mode, you will simply warp to your target destination. At higher difficulty modes, you must keep the ship steady in hyperspace by continuously centering the reticle with the arrows/dpad:</p> <img style="margin-bottom:16px" border=0 src="/media/23858/starraiders_0.gif" alt="" /> <p>If you successfully pilot Star Cruiser 7 through hyperspace to your target destination, you will get a flashing &quot;Red Alert&quot; warning if you have entered enemy territory.</p> <p>Enemy squadrons on the galactic chart look like this:<br /> <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/23858_4.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_23858_4"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/23858_4.txt", function (retdata){ var el = document.getElementById("gfxcode_23858_4"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_23858_4" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <br /> <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/23858_5.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_23858_5"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/23858_5.txt", function (retdata){ var el = document.getElementById("gfxcode_23858_5"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_23858_5" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <br /> <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/23858_6.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_23858_6"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/23858_6.txt", function (retdata){ var el = document.getElementById("gfxcode_23858_6"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_23858_6" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <p>Space stations on the galactic chart look like this:<br /> <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/23858_7.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_23858_7"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/23858_7.txt", function (retdata){ var el = document.getElementById("gfxcode_23858_7"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_23858_7" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <p>Enemies will eventually confront you. But when you need help finding enemies, or a space station, you can use the long-range scan. Activate long-range scan with 'L':</p> <img style="margin-bottom:16px" border=0 src="/media/23858/lrscan.gif" alt="" /> <p>The long range scan is a zoomed out view of the surrounding space, from high above the ship, so you can see far-away objects. You can steer the ship while in this view and examine the relative position of stars, asteroids, enemy ships and space stations relative to the ship.</p> <p>Space Battle:</p> <p>When you encounter Zylon fighters, you will see ships of three types:</p> <p>Fighter: <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/23858_8.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_23858_8"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/23858_8.txt", function (retdata){ var el = document.getElementById("gfxcode_23858_8"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_23858_8" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <br /> Cruiser: <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/23858_9.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_23858_9"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/23858_9.txt", function (retdata){ var el = document.getElementById("gfxcode_23858_9"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_23858_9" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <br /> BaseStar: <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/23858_10.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_23858_10"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/23858_10.txt", function (retdata){ var el = document.getElementById("gfxcode_23858_10"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_23858_10" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <p>Fire photon torpedos at them with 'X'. To help aim, you activate the attack computer with 'K'. You will see a small monitor in the bottom right hand of the screen. Enemy fighters and space stations will appear in this monitor in bright green. If the vertical and horizontal locking guides are illuminated as they are here, your photon torpedos will fire a double blast and will home in on the locked enemy.</p> <img style="margin-bottom:16px" border=0 src="/media/23858/atkcomp.png" alt="" /> <p>If desired, you can also engage the tracking computer, which will show a reticle on screen showing which enemy is targeted. The view will automatically shift between 'aft' and 'fore' when this is engaged, like this:</p> <img style="margin-bottom:16px" border=0 src="/media/23858/target.gif" alt="" /> <p>Make sure to not delay hunting down enemy squadrons efficiently. The star date (visible on the galactic chart) advances as you play and periodically, enemy squadrons will advance towards a space station and surround it, which looks like this (SPED UP TO ILLUSTRATE):</p> <img style="margin-bottom:16px" border=0 src="/media/23858/38_starraiders_0.gif" alt="" /> <p>When this occurs, the sub-space radio will report to you that a starbase has been surrounded. You should immediately warp to one of the surrounding enemy squadrons and eliminate them! Otherwise, after more time elapses, they will destroy the starbase!</p> <p>Refuel/repair at a starbase:</p> <p>If your energy is low, or if you have suffered damage (higher difficulty levels, see below for description), you can refuel and repair at a space station. Find a space station on the galactic chart, warp there, then find the space station with long range scan. Advance towards the space station and stop with velocity '0' in front of the space station. If you center it, you will orbit the space station and a refuel/repair shuttle will fly out to serve you, like this:</p> <img style="margin-bottom:16px" border=0 src="/media/23858/starbase.gif" alt="" /> <p>Console:</p> <p>Here's a brief description of each value shown on the ship's console:</p> <img style="margin-bottom:16px" border=0 src="/media/23858/hude.png" alt="" /> <p>The most important value to keep an eye on on this console is your ship's energy. Different things use energy at different rates. If you are stationary and no ship features are activated, you will still slowly use energy for the life support system.</p> <p>Ship Damage:</p> <p>At difficulty levels higher than novice, sometimes suffering enemy torpedo or asteroid impacts with shields on will result in ship damage. On the galactic chart, there is a Damage Control or &quot;DC&quot; readout showing the letters: &quot;PESCLR&quot;. These stand for:<br /> P - Photon torpedos<br /> E - Engines<br /> S - Shields<br /> C - Computer<br /> L - Long range scan<br /> R - Sub-space radio</p> <p>Each of these components can be in one of three states: operational (green), damaged (yellow), or destroyed (pink).</p> <p>Photon torpedos: When damaged, you can only fire one photon torpedo. When destroyed, you can no longer fire torpedos.<br /> Engines: When damaged, you move much more slowly at sub-warp speeds. When destroyed, there's a backup engine that enables you to move through space, but at an extremely slow pace.<br /> Shields: When damaged, further impacts take more energy to keep you from dying. When destroyed, you're on your own---the next impact might be fatal, so make sure to shoot down enemy torpedos and asteroids before they reach you!<br /> Computer: When damaged, the target offset readout no longer functions. When destroyed, targeting and attack computer can no longer be used.<br /> Long-range scan: When damaged, the display becomes hard to read. When destroyed, the display becomes almost impossible to read.<br /> Sub-space radio: When damaged, the galactic chart can no longer tell you what resides in a given sector, only that something is there. When destroyed, you no longer will receive messages about space stations getting surrounded by enemy squadrons.</p> <p>Game end/Rank calculation:</p> <p>There are three ways the game can end. Either you run out of energy, are destroyed by an asteroid or Zylon fighter torpedos, or you have destroyed all enemy squadrons in the galaxy. After the game ends, you will be given a rank and class according to your performance. </p> https://www.lexaloffle.com/bbs/?tid=47117 https://www.lexaloffle.com/bbs/?tid=47117 Sat, 26 Mar 2022 17:47:09 UTC noise+NOIZ not smoothly interpolated with slide effect <p>I do not hear smooth interpolation between notes for this noise+NOIZ sfx:</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> <iframe src="sfxp2.php?id=23858_0" width="402" height="300" style="border:none; overflow:hidden" scrolling="no" allow="autoplay"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_23858_0"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/23858_0.txt", function (retdata){ var el = document.getElementById("sfxcode_23858_0"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_23858_0" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>but if I change the waveform to triangle, it is 100% smooth:</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> <iframe src="sfxp2.php?id=23858_1" width="402" height="300" style="border:none; overflow:hidden" scrolling="no" allow="autoplay"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_23858_1"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/23858_1.txt", function (retdata){ var el = document.getElementById("sfxcode_23858_1"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_23858_1" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Is there a way to get noise+NOIZ 100% smooth, or is this a limitation?</p> https://www.lexaloffle.com/bbs/?tid=46351 https://www.lexaloffle.com/bbs/?tid=46351 Fri, 28 Jan 2022 12:27:45 UTC gfx tag on bbs appears broken? <p>I'm unable to paste gfx into the bbs anymore. The ones I have in one of my cartridges are broken as well. </p> <p> <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/23858_3.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_23858_3"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/23858_3.txt", function (retdata){ var el = document.getElementById("gfxcode_23858_3"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_23858_3" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> https://www.lexaloffle.com/bbs/?tid=45835 https://www.lexaloffle.com/bbs/?tid=45835 Thu, 23 Dec 2021 23:24:15 UTC New version of cart not auto-detected. <p>The latest version of PICO-8 didn't seem to pick up on a cart update. I had my own cart, hobobot, favorited locally, but it was the old version hobobot-0. The thread had been updated to hobobot-1 a while ago. Usually PICO-8 picks up on there being a newer version and prompts the user but it didn't seem to do this on either the PC or raspberry pi version this morning. I had to unfavorite and re-search for the cartridge to get the newest version. Curious if this was removed or if this is a bug.</p> https://www.lexaloffle.com/bbs/?tid=42936 https://www.lexaloffle.com/bbs/?tid=42936 Tue, 18 May 2021 14:23:36 UTC targetcount=0 printed in linux terminal after exit. may be causing stutters? <p>I noticed on both my raspberry pi 3 and my raspberry pi zero w this evening that after exiting PICO-8 having run certain games (in particular, my cart Mad Wizard) the terminal is filled with the text:</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>targetcount=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>I also noticed this same game stuttering a little bit where I don't remember it stuttering before, and I'm guessing it is due to this console output. Unremoved debug print perhaps?</p> https://www.lexaloffle.com/bbs/?tid=42566 https://www.lexaloffle.com/bbs/?tid=42566 Thu, 22 Apr 2021 02:17:36 UTC Can't select individual closing paren or space, they select as a unit, in cases. <p>v0.2.2<br /> Every so often I click to select one character. I ran into this situation where a closing parenthesis and the following space acted as a unit when selected; I could not select either one independently. But in an expression in the line directly above, I was able to. See the following gif.</p> <img style="margin-bottom:16px" border=0 src="/media/23858/darby_0.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=41732 https://www.lexaloffle.com/bbs/?tid=41732 Wed, 24 Feb 2021 00:00:38 UTC v0.2.2 Scrolling when selecting text became too fast <p>It has become very awkward to select text in the PICO-8 editor. Unless you nudge it really carefully it starts rocketing in the direction you're scrolling too fast for it to feel natural, I now have to use the keyboard exclusively for selecting text. Not sure if the speed change was intentional or accidental, but it would be great if it were at least configurable.</p> <img style="margin-bottom:16px" border=0 src="/media/23858/22_madwizard_0.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=41690 https://www.lexaloffle.com/bbs/?tid=41690 Sat, 20 Feb 2021 23:27:13 UTC Quit to console, change var, resume, menu crash. runtime error tab 0, line 0... <p>I've got an interesting bug. It only happens in PICO-8 itself. The bug can be reproduced with the following small program and reproduction steps:</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() menuitem( 1, &quot;switch weapon&quot;, function() --if (getthunder()==1) hwep=(hwep+1)%2 end) end function _update() end function _draw() 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>Steps to reproduce:</p> <ol> <li>Run the program.</li> <li>Quit to console with ESC.</li> <li>Type: <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>x=10</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Any variable will cause the bug.</p></li> <li>Type: <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>resume</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div></li> <li> <p>Press enter to bring up in game menu. Choose &quot;switch weapon&quot;</p> </li> <li>Observe crash. See image.</li> </ol> <img style="margin-bottom:16px" border=0 src="/media/23858/PICO-8_000.png" alt="" /> https://www.lexaloffle.com/bbs/?tid=40405 https://www.lexaloffle.com/bbs/?tid=40405 Sat, 14 Nov 2020 16:47:18 UTC The Mad Wizard <p> <table><tr><td> <a href="/bbs/?pid=83980#p"> <img src="/bbs/thumbs/pico8_madwizard-6.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83980#p"> madwizard</a><br><br> by <a href="/bbs/?uid=23858"> gradualgames</a> <br><br><br> <a href="/bbs/?pid=83980#p"> [Click to Play]</a> </td></tr></table> <br /> <img style="margin-bottom:16px" border=0 src="/media/23858/16_madwizard_12.gif" alt="" /><img style="margin-bottom:16px" border=0 src="/media/23858/17_madwizard_15.gif" alt="" /><img style="margin-bottom:16px" border=0 src="/media/23858/19_madwizard_32.gif" alt="" /><img style="margin-bottom:16px" border=0 src="/media/23858/20_madwizard_47.gif" alt="" /></p> <p>This is a port of The Mad Wizard, an NES game by indie game developer Rob Bryant, originally released in 2014. The original NES ROM is available free from the developer on his website <a href="https://slydogstudios.org/">https://slydogstudios.org/</a> under &quot;The Candelabra Epic.&quot; It is a metroidvania style adventure and if you know where everything is, has a substantial 1.5 hrs of gameplay in it. (longer if you don't know where things are!)</p> <p>The evil summoner Amondus from The Order of the Talon has taken over Prim, Hekl's once happy homeland. And nothing drives a wizard more crazy than having their territory trampled on! Can you help Hekl defeat the enemies that Amondus has populated throughout the landscape? To do so, you will need to master the art of levitation, find magic spells that will assist you in reaching new areas, and upgrade your weapons. All of these will be necessary in order to give Hekl the power he needs to restore peace to Prim. Do you have what it takes? If you dare, venture into this, the first installment of the Candelabra series!</p> <h3>THE FIRST CHRONICLE</h3> <p>In the vast province of Prim lies a great forest known as The Primwoods. It is here that the powerful wizard alliance &quot;The Order of the Talon&quot; has made their expedition. Among them was Hekl, also known as &quot;The Mad Crow&quot; who was dismissed from the group due to his experiments with arcane scrolls and alchemy. It seems he has lost his mind attempting to master the art of flight and was expelled for his most ambitious nature.</p> <h3>THE SILENT OWL INCURSION</h3> <p>However, there may be more to the reason...<br /> It seems Hekl knew something of the Order of the Talon that the archleader Amondus &quot;the Silent Owl&quot; did not approve of.<br /> Amondus swiftly invaded Hekl's homeland, constructed a great floating palace in the sky, and used his powers of summoning to control a legion of evil.</p> <h3>RETRIBUTION OF A MADMAN</h3> <p>Amondus' intentions are unclear, but he has ordered his many goblin minions to steal Hekl's precious magic items and hide them throughout the land to deter Hekl's effort.</p> <p>Hekl's only hope is to build up his magical powers, rid the area of all evil foes, and locate the legendary trident that is known as the TRI-CASTER to give him the means of reaching the Floating Palace to defeat Amondus and restore peace at once.</p> <h3>GET STARTED ON YOUR QUEST!</h3> <p>THE MAD WIZARD is a screen-by-screen, side-view, platform adventure game in which you guide the wizard &quot;Hekl&quot; throughout an open-ended fantasy world. The focus is on exploration, magic use, puzzle solving, and reaching areas through levitation. Along the way, Hekl will find hidden items to grant new abilities which will allow him to access more parts of the world.<br /> You will be granted infinite continues to complete your quest. The game ends when Amondus is finally defeated.</p> <h3>BASIC CONTROLS</h3> <p>Moving around and about.</p> <p>Left/Right: Use left/right to make Hekl walk in the desired direction.</p> <p>Up/Down: Use to climb or descend ladders or choose on the continue screen.</p> <h3>LEVITATION CONTROLS</h3> <p>X(X): Press to levitate. Press again or hold to go higher after upgrade.</p> <p>Left/Right: Use left/right to move in the direction while floating in the air.</p> <p>Down: Press to cancel levitate to quickly fall back to the ground.</p> <h3>MAGIC ATTACK CONTROLS</h3> <p>Hekl can attack his foes using his strong magic. The range and power of attacking is upgraded by finding the mystical hidden diamonds.</p> <p>O(Z): Press to fire the MAGIC MISSILE. This is the default attack.</p> <p>Enter: Press to bring up the in-game menu. Select &quot;SWITCH WEAPON&quot; to switch between default missile and vertical lightning attack.</p> <h3>ADVANCED MAGIC CONTROLS</h3> <p>Special adventure abilities!</p> <p>Up + X(X): Press to place the PRISM CUBE directly in front of Hekl.</p> <p>Down + X(X): Press to summon the SPECTRAL BRIDGE when standing at a ledge.</p> <p>Up + O(Z): Press to use Hekl's TELEPORTATION ability to zoom forward.</p> <h3>ABILITY ICONS DESCRIPTION</h3> <p>Identifying all icons in status bar at the bottom of the play screen.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/lifesphere.png" alt="" /> The LIFE SPHERES. Number of hits Hekl can take.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/magicmissile.png" alt="" /> Icon for the MAGIC MISSILE. Basic attack.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/lives.png" alt="" /> Number of LIVES that Hekl has. Gets 2 per continue.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/level.png" alt="" /> Current level for ability. Full bar = max level.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/xecromthun.png" alt="" /> Icon for XECROM'S THUNDER. Vertical attack.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/prismcube.png" alt="" /> Indicates having the spell of PRISM CUBE.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/spectralbridge.png" alt="" /> Indicates SPECTRAL BRIDGE magical ability.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/teleportation.png" alt="" /> Indicates TELEPORTATION warping skill.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/horizlev.png" alt="" /> Horizontal levitation upgraded by finding X scrolls.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/vertlev.png" alt="" /> Vertical levitation upgraded by finding Y scrolls.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/levsp.png" alt="" /> Levitation speed. Can be doubled by finding S potion.</p> <h3>COLLECTIBLES AND UPGRADES</h3> <p><img style="margin-bottom:16px" border=0 src="/media/23858/diamond.png" alt="" /> DIAMOND - Increases the attack power or distance of the magic missile.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/xecthun.png" alt="" /> XECROM'S THUNDER - Hekl casts a lightning bolt down from the heavens.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/lifesphere.png" alt="" /> LIFE SPHERE - Increases the total amount of hit points permanently.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/scroll.png" alt="" /> SCROLL - Levitate further. X scroll for horizontal. Y scroll for vertical.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/potion.png" alt="" /> S POTION - Will double Hekl's levitation speed.</p> <h3>SPECIAL MAGIC ABILITIES</h3> <p>The spells Hekl can learn! NOTE - Can only cast 1 spell at a time initially.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/56_prismcube.png" alt="" /> PRISM CUBE - Create a block to use as a shield or platform to stand on.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/spectralbridge2.png" alt="" /> SPECTRAL BRIDGE - Casts a bridge of energy near a ledge for safe crossing.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/teleportation.png" alt="" /> TELEPORTATION - Projects Hekl's image forward to warp across the screen.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/tricaster.png" alt="" /> TRI-CASTER - All 3 spells can be cast at once!</p> <h3>EARLY AREAS OF EXPLORATION</h3> <p>HEKL'S HOME - A cabin in the central woods. The well in the backyard runs deeper than one might imagine.</p> <p>THE PRIMWOODS - Dense forest of hundreds foot high trees, wooden bridges, a graveyard, and a river.</p> <p>KAPLAN CAVERNS - Damp underground cave that's mined for its previous minerals.</p> <p>THE ELDERWOOD - Largest and oldest tree in the world. The hollowed insides serve as the goblins' fortress.</p> <h3>INTERMEDIATE DANGER ZONES</h3> <p>RUINS OF KYR TEMPLE - A once proud sanctuary of stone pillars now collapsed and haunted by untrusted ones.</p> <p>THE UNDER RIVER - Limestone tunnel of raging water rapids beneath the earth. Home to a race of lizardmen.</p> <p>BRIMSTONE GROTTO - A blazing core deep beyond the roots. Here lies a legendary weapon and many fiery inhabitants.</p> <p>FLOATING PALACE - The place of Amondus' great power. Soars high in the sky.</p> <h3>CREATURES OF THE PRIMWOODS</h3> <p><img style="margin-bottom:16px" border=0 src="/media/23858/snaker.png" alt="" /> SNAKER - Venemous prowler. Can get up trees.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/bones.png" alt="" /> BONES - Undead warriors raised by Amondus.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/goblin.png" alt="" /> GOBLIN - Annoying beings that run and climb.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/bat.png" alt="" /> BAT - Dangerous dweller of caves and the woods.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/trent.png" alt="" /> TRENT - Demon bush immune to some magic spells.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/raven.png" alt="" /> RAVEN - Fierce predator of the treetops.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/ghost.png" alt="" /> GHOST - Guardian soul near sacred areas.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/gargoyle.png" alt="" /> GARGOYLE - Awakened statues that drop skulls.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/fgoblin.png" alt="" /> FIRE GOBLIN - Head resistant menace.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/golem.png" alt="" /> GOLEM - Stone foe capable of causing rockfalls.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/lizardman.png" alt="" /> LIZARDMAN - Uses spear and shield near water areas.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/salamander.png" alt="" /> SALAMANDER - Fireproof. Tougher than the lizardman.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/charwit.png" alt="" /> CHARWIT - A phoenix. Ultimate Gain of Strength!</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/beancy.png" alt="" /> BEANCY - Accursed zombie pirate captain.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/flerg.png" alt="" /> FLERG - The ghost falcon. Pet of Beancy.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/rant.png" alt="" /> RANT - The golden gargoyle. Underworld general.</p> <p><img style="margin-bottom:16px" border=0 src="/media/23858/amondus.png" alt="" /> AMONDUS - The master summoner and ambitious leader of the Order of the Talon. Lives in a sky palace.</p> <h3>ADVICE FOR THE ADVENTURER</h3> <ul> <li> <p>When Hekl flashes after taking damage, he will be momentarily invulnerable.</p> </li> <li> <p>Always look for ladders or branches that lead off-screen. They could be a path to a new area.</p> </li> <li> <p>If you find it difficult to avoid certain enemy attacks, you might not yet have enough speed.</p> </li> <li> <p>Falling in water will reset the screen but no life points will be lost.</p> </li> <li>Tri-caster can combine blocks and bridges. Use it to go almost anywhere!</li> </ul> <h3>THE MAD WIZARD - CREATED BY</h3> <p>The Mad Wizard was created for the Nintendo Entertainment System by Sly Dog Studios (Rob Bryant) in 2014. It is well loved in the NES homebrew community as one of the most enjoyable homebrew titles ever released.</p> <p>Porting it to the PICO-8 system has been one of the most enjoyable game development projects I've ever undertaken, and I am immensely grateful to the creator for giving me permission to do so, both for my own enjoyment and so that the game might be enjoyed by another enthusiastic audience.</p> <p>Special thanks to Daniel Hwozdek for a thorough play test! Helped iron out quite a few differences and bugs!</p> https://www.lexaloffle.com/bbs/?tid=40295 https://www.lexaloffle.com/bbs/?tid=40295 Sun, 08 Nov 2020 15:00:10 UTC web player fuzzy <p>The web player is fuzzy/anti-aliased in a recent release. Probably aware, but I didn't see an open bug about it.</p> https://www.lexaloffle.com/bbs/?tid=39543 https://www.lexaloffle.com/bbs/?tid=39543 Thu, 10 Sep 2020 19:56:03 UTC Config option request: all leading tabs to spaces <p>Recently an option was added to change the width of tabs in PICO-8. I would like to have a config option to change all leading tabs to spaces (and the tab width would determine how many spaces) like many code editors do. There are trade offs between tabs and spaces and I tend to like to have absolute control over the vertical positioning of code. This is especially useful in PICO-8 so that the code ends up looking pretty when viewed including in the web code viewer. When I use tabs, if I have several clauses of an if lined up right underneath each other for example, they might not be underneath each other if a different tab width is selected from what I had used when I wrote the code. I'd like it to look the same as when I wrote it, in any editor.</p> <p>I'm able to create pre-commit hooks and scripts to accomplish this for myself, but it'd be nice if it was built in as many code editors have the option.</p> https://www.lexaloffle.com/bbs/?tid=38353 https://www.lexaloffle.com/bbs/?tid=38353 Wed, 10 Jun 2020 01:39:47 UTC Dinky King <p> <table><tr><td> <a href="/bbs/?pid=77779#p"> <img src="/bbs/thumbs/pico8_dinkyking-9.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=77779#p"> dinkyking</a><br><br> by <a href="/bbs/?uid=23858"> gradualgames</a> <br><br><br> <a href="/bbs/?pid=77779#p"> [Click to Play]</a> </td></tr></table> </p> <p>CONTROLS:<br /> X - start the game, or jump<br /> Z - swing the scepter if you have it<br /> Arrows - walk left and right, or climb up and down ladders</p> <p>This is Dinky King, my homage to the original Donkey Kong arcade. You are the Dinky King! You must save the Queen from the Jealous Jester. Walk and climb with the arrow keys, and jump with X (x)! If you find the King's magic scepter, press O (z) to whack the Jester's balls right back at him! Or, just jump over the balls. The Queen dropped her stuff! Make sure to grab it for her on the way. Arrest that Jester! And if you can...topple him to his doom in the last level. Difficulty increases slightly each time you complete all four levels.</p> <p>Nothin' fancy, just a cute little homage.</p> <p>Oh, and watch out for SOCK PUPPETS.</p> <p>The music is a transcription of a riff from Yancey Stomp, by Jimmy Yancey. It's a great song, check it out here:<br /> <a href="https://youtu.be/c4eQbeuX2Y0">https://youtu.be/c4eQbeuX2Y0</a></p> <p>Changelog:<br /> 6-9-20 (4th update today!): A couple more small tweaks, stop slinkies when winning level 2</p> <p>6-9-20 (3rd update today!): Make sure flr is used for all calculations based on dif so timers don't skip the 0 condition. Make the highest difficulty level slightly easier so it is actually doable. (takes 8 times through all four levels...can you make it there???)</p> <p>6-9-20 (2nd update today!): Make slinkies far less aggressive when first playing level 2, but make them respond to the difficulty setting so over time if you keep completing all 4 levels they will pick up speed.</p> <p>6-9-20: Increase delay before sock puppets enter. Decrease volume of ladder and slinky sfx. Add press X message to title screen.</p> https://www.lexaloffle.com/bbs/?tid=38326 https://www.lexaloffle.com/bbs/?tid=38326 Mon, 08 Jun 2020 00:55:24 UTC Undo restores text and moves cursor simultaneously. <p>This bug may have been in place for the last several versions, not sure why I haven't reported it yet.</p> <p>In older versions, hitting ctrl-z would show you your undone text change and then hitting ctrl-z again<br /> would actually move the cursor to its previous position.</p> <p>These actions appear to be combined in recent versions as the cursor will frequently jump away from the text<br /> that I had changed.</p> <p>A minor annoyance, but I think some other folks have noticed it talking in the discord.</p> https://www.lexaloffle.com/bbs/?tid=37682 https://www.lexaloffle.com/bbs/?tid=37682 Thu, 30 Apr 2020 21:50:04 UTC 0.2.0: Line and rectangle drawing not working in map editor <p>I think line and rectangle drawing in the map editor are not working at the moment in 0.2.0. Circle is working however. Confirmed with some peeps in the discord. Sprite editor works for all shapes though.</p> <img style="margin-bottom:16px" border=0 src="/media/23858/2_PICO-8_0.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=37373 https://www.lexaloffle.com/bbs/?tid=37373 Wed, 15 Apr 2020 23:38:30 UTC Map O and X to more than one button, each? <p>The default for O and X is to be mapped to Z(O) X(X) C(O) V(X).</p> <p>In keyconfig, if we change the mapping of O and X, it appears that you can only map one key code to O and X. Is there any way to produce an alternative multimapping in the config file? for example, maybe I want O to map to U and K and X to map to I and J. Is there any way to do this?</p> <p>As far as I can tell, only the default state allows for a multimapping on O and X. Apologies if this is covered in the manual or elsewhere, I did search for this information but did not find anything.</p> https://www.lexaloffle.com/bbs/?tid=34973 https://www.lexaloffle.com/bbs/?tid=34973 Mon, 05 Aug 2019 18:41:16 UTC Gamma Slice <p> <table><tr><td> <a href="/bbs/?pid=65112#p"> <img src="/bbs/thumbs/pico8_gammaslice-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65112#p"> gammaslice</a><br><br> by <a href="/bbs/?uid=23858"> gradualgames</a> <br><br><br> <a href="/bbs/?pid=65112#p"> [Click to Play]</a> </td></tr></table> </p> <p>Gamma Slice is a puzzle game based on cutting the corners of squares containing triangles. The triangles are of four different colors. When they match, they disappear. How many can you clear from the well after 20 cuts?</p> <p>Controls:<br /> Arrow keys - Position the scissors<br /> O (Z) - Flip the scissors<br /> X (X) - Cut</p> <p>The scissors will cut along the diagonal of any given square and flip the triangles inside!</p> <p>Code &amp; Sound: Derek Andrews</p> <p>Graphics: Jeff Barr</p> <p>This game was a submission to Nerdery Game Jam 2019.</p> <p>Updated 5-21-21 to fix a small compatibility issue with updates to PICO-8 particularly where the title screen used btnp then did a while loop on btn waiting for it to stop being nonzero.</p> https://www.lexaloffle.com/bbs/?tid=34489 https://www.lexaloffle.com/bbs/?tid=34489 Sun, 09 Jun 2019 23:34:22 UTC Mac OS X no longer nicely sizing PICO-8 window. <p>When PICO-8 launches now on my Mac, it no longer sizes itself appropriately so that it fills a window. It used to fill roughly 1/5th or so of the screen at a nice size that was not too small or too large and the 128x128 display would fit a square window. Now it is a smaller sized display with a lot of black letterboxing around it.</p> <p>The latest build continues to work properly on windows, I'm only seeing this on Mac.</p> <p>I did already try to delete the plist file associated with PICO-8, in case it was a local caching issue due to me derping with window resizing, but it continues to launch like this.</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/23858/pico8mac.png" alt="" /> https://www.lexaloffle.com/bbs/?tid=34308 https://www.lexaloffle.com/bbs/?tid=34308 Wed, 22 May 2019 21:02:58 UTC Mysterious function becomes element of table <p>The following program, despite never adding a function to this table, sometimes has a function in the table. This was happening in a game of mine and I finally decided to try reproducing it with a tiny program and I have been able to. </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>cls() nds={flr(rnd(4))} for i=1,1000 do for k=1,flr(rnd(10)) do add(nds,flr(rnd(5))) end for j=1,1000 do nds={flr(rnd(4))} for d in all(nds) do if type(d)=='function' then print(&quot;function&quot;) end end 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>I would never expect this program to ever print &quot;function&quot; yet, it does, and intermittently.</p> https://www.lexaloffle.com/bbs/?tid=34256 https://www.lexaloffle.com/bbs/?tid=34256 Sat, 18 May 2019 14:21:50 UTC config.txt: fullscreen_method 2 works better on some machines. <p>I started tinkering with an _update60 cart the other day and I was getting stuttery behavior.</p> <p>Dug deep into possible performance bugs in my game. Then realized I had stuttery graphics (&lt; 60 fps) in simpler cartridges.</p> <p>Dug deep into updating drivers and BIOS on my Dell laptop. Still nothing. This laptop is from 2012, but is more powerful than my rpi3 which has no problem with _update60.</p> <p><strong><br /> Then, I took a look at PICO-8's own config.txt file and found fullscreen_method. Tried method 2, which is actual fullscreen rather than stretching a window.</p> <p>Totally resolved the issue.<br /> </strong></p> <p>How come 2 is not the default? Or maybe it is in fact the default and I'm forgetting having toyed with this months ago.</p> https://www.lexaloffle.com/bbs/?tid=33607 https://www.lexaloffle.com/bbs/?tid=33607 Tue, 12 Mar 2019 00:22:57 UTC