paranoidcactus [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=29414 SFX Instrument Looping/Retriggering Bug <p>SFX instruments that have no loop set (i.e. both loop parameters are set to 0) still loop when used in a pattern.</p> <p>Also, if effect 3 is used at the point where the SFX instrument should be finishing, it won't retrigger the note until the following beat. If you have a long string of notes with effect 3 it won't trigger the note until the beat after the last note with effect 3 on it.</p> <p>Here's a sample cart with SFX to demonstrate the issue. It doesn't have any code so you'll have to open it the editor.<br /> <table><tr><td> <a href="/bbs/?pid=91686#p"> <img src="/bbs/thumbs/pico8_sfxloopbug-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=91686#p"> sfxloopbug</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=91686#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=42818 https://www.lexaloffle.com/bbs/?tid=42818 Sat, 08 May 2021 13:01:27 UTC Crash when calling line() with certain values <p>Calling line() with these arguments is causing PICO-8 to crash. It seems any iteration around having these &quot;extreme&quot; values on one axis is causing it to either get stuck in an infinite loop or crash outright.</p> <p>line(16,-15070,17,29772,12)</p> <p>Oddly, if you flip the x and y values it'll finish executing and display the command prompt without rendering the line, but then crashes as soon as a key is pressed.</p> <p>line(-15070,16,29772,17,12)</p> https://www.lexaloffle.com/bbs/?tid=42537 https://www.lexaloffle.com/bbs/?tid=42537 Mon, 19 Apr 2021 08:04:54 UTC UFO Swamp Odyssey <p> <table><tr><td> <a href="/bbs/?pid=77254#p"> <img src="/bbs/thumbs/pico8_ufo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=77254#p"> UFO Swamp Odyssey</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=77254#p"> [Click to Play]</a> </td></tr></table> </p> <p>A short atmospheric platformer with metroidvania elements. Your UFO has been knocked out of the sky by scavengers and you're now trapped in their swampy junk yard. With the help of some friendly aliens, find a way to disable the electromagnetic pulse cannon that's keeping you from escaping.</p> <p>This was my entry for RNDGAME Jam 2020.</p> <p>Left/Right - Move<br /> Z - Jump<br /> X - Use Zapper (once you have received it)<br /> Up/Down - Cycle Zapper Modes (when you have more than 1)</p> https://www.lexaloffle.com/bbs/?tid=38153 https://www.lexaloffle.com/bbs/?tid=38153 Wed, 27 May 2020 07:11:37 UTC DEL Key Bug in Tracker <p>DEL key doesn't work when the cursor in on the first row of the tracker. This is in both the SFX editor and the pattern editor.</p> https://www.lexaloffle.com/bbs/?tid=37437 https://www.lexaloffle.com/bbs/?tid=37437 Sun, 19 Apr 2020 04:04:58 UTC Lava Joe <p> <table><tr><td> <a href="/bbs/?pid=71580#p"> <img src="/bbs/thumbs/pico8_lavajoe-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=71580#p"> lavajoe</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=71580#p"> [Click to Play]</a> </td></tr></table> </p> <p>My entry for Toy Box Jam. Keep climbing to avoid the rising lava. Collect treasure and take down monsters for bonus points.</p> https://www.lexaloffle.com/bbs/?tid=36418 https://www.lexaloffle.com/bbs/?tid=36418 Tue, 31 Dec 2019 05:02:42 UTC X-Zero <p> <table><tr><td> <a href="/bbs/?pid=70362#p"> <img src="/bbs/thumbs/pico8_xzero-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70362#p"> X-Zero</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=70362#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hack all the terminals and defeat the boss.</p> <p>This is my attempt at making a polished game in a week and a half, although it ended up being 2 weeks. I had to drop a few features I wanted to put in due to time, and code ended up getting a bit messy. Still, I'm pretty happy with how it came out.</p> <p>The frame rate can drop sometimes, particularly in the later parts of the game when there are a lot of enemies around.</p> <p>UPDATE<br /> Removed a tiny amount of unused code and added as many comments as I could fit without going over compressed size.</p> <p>UPDATE 2<br /> Added the ability to swap jump and shoot buttons because the defaults felt awkward in gamepad. Also fixed a couple of minor audio bugs.</p> https://www.lexaloffle.com/bbs/?tid=36053 https://www.lexaloffle.com/bbs/?tid=36053 Fri, 29 Nov 2019 12:24:58 UTC Castlevania Soundtrack <p>Okay, so not really the soundtrack so much as 2 tracks from Castlevania.</p> <p> <table><tr><td> <a href="/bbs/?pid=69394#p"> <img src="/bbs/thumbs/pico8_vampire_killer-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69394#p"> Vampire Killer</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=69394#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=69394#p"> <img src="/bbs/thumbs/pico8_heart_of_fire-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69394#p"> Heart of Fire</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=69394#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=35780 https://www.lexaloffle.com/bbs/?tid=35780 Mon, 28 Oct 2019 10:38:06 UTC Polygon Drawing Method <p> <table><tr><td> <a href="/bbs/?pid=64614#p"> <img src="/bbs/thumbs/pico8_mupudeyowa-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=64614#p"> Polyfill</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=64614#p"> [Click to Play]</a> </td></tr></table> </p> <p>Update 3: Added a 148 token version.</p> <p>Update 2: Now down to 157 tokens.</p> <p>Update 1: With improvements from <a href="https://www.lexaloffle.com/bbs/?uid=25532">@freds</a></p> <p>This is a token optimized version of the polygon drawing routine I originally used in Pico Tennis. I've managed to get it down to 173 tokens, which I'd like to think is comparable to <a href="https://www.lexaloffle.com/bbs/?tid=31478">p01's 163 token trifill</a> routine.</p> <p>Obviously it's going to depend on your needs for which method you use. If you only need to draw triangles then you'll want to use the trifill method, but this allows you to draw shapes with any arbitrary number of vertices.</p> <p>The only catch with this method is that it only allows your shape to be concave on a single axis.</p> <p>If anyone has any alternative methods or optimizations please let us know.</p> https://www.lexaloffle.com/bbs/?tid=34282 https://www.lexaloffle.com/bbs/?tid=34282 Mon, 20 May 2019 11:40:34 UTC Shadows of Dunwich 2.0 <p> <table><tr><td> <a href="/bbs/?pid=63959#p"> <img src="/bbs/thumbs/pico8_shadowsofdunwich-4.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=63959#p"> Shadows of Dunwich 2.0</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=63959#p"> [Click to Play]</a> </td></tr></table> </p> <p>MAJOR UPDATE<br /> With this update the game now progresses across multiple battles, soldiers can level up and have a talent tree, and 2 new enemy types have been added.</p> <p>The game has 16 levels, and you need to beat level 16 to win. However, levels don't progress 1 at a time, the level you are assigned is based on the combined level of all your soldiers. If a soldier survives a battle they will gain a level and be granted 1 skill point. So if all soldiers survive level 1 you will progress to level 4, if they all survive level 4 you will progress to level 7 etc.. So it's possible to do a perfect run and win the game by playing only 6 battles.</p> <p>If a player doesn't survive they will be replaced with a new recruit. As you progress through the levels new recruits will start with more skill points so if you lose any soldiers or have a full wipe you won't be set back too far (and you can respec your soldiers).</p> <p>If you abort a mission after any soldiers have died they will remain dead. However, because the game is only saved between missions you can &quot;save scum&quot; by resetting the cart and continuing the game with all soldiers alive.</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/29414/shadows-manual.png" alt="" /> <p>X-Com like game with procedurally generated maps that I started developing about 6 months ago. I just came back to it over Easter and finished it off. It uses the same 3D sprite system I developed for Pico Tennis but I ended up making a middleware tool in C# so I could easily build and animate the 3D skeletons for them.</p> <p>I really wanted to give it a bit more visual flair in a lot of areas as well as add more enemy unit types with different abilities, but I just couldn't afford the tokens. The war on tokens with this one was all too very real.</p> <p>I had this crazy fantasy when I started that it could have an overworld where you would conquer territory and buy and upgrade units. If I was to do that it'd have to become a duel cart game. I'm not sure how doable that would be, but I think it would ass a lot more fun to game. The outcome of the battles would actually be meaningful and a play session could go from being 10-15 minutes to maybe 2 hours.</p> <p>Anyway, I'm still pretty pleased with how it turned out. Let me know if there are any issues that need fixing or tweaks you think it could do with.</p> <p>minor update 1.01</p> <ul> <li>added the option to choose number of enemies from the title screen (previous it was always 13)</li> <li>fixed the action popup so it won't go off screen when at the bottom or right of the map</li> <li>enemies will no longer shock a player if they're already shocked</li> </ul> <p>minor update 1.02</p> <ul> <li>fixed a grenade bug that was introduced in the previous update</li> </ul> <p>major update 2.0</p> <ul> <li>added new basic enemy with only 50 health that doesn't hit very hard</li> <li>added new enemy that that only has 50 health but hits hard and splits into 2 basic enemies when killed</li> <li>added leveling system</li> <li>added talent trees</li> <li>added game saving</li> <li>added a victory screen</li> <li>fixed a bug that caused the red soldier to steal threat when it was the same as other players</li> </ul> https://www.lexaloffle.com/bbs/?tid=34047 https://www.lexaloffle.com/bbs/?tid=34047 Thu, 25 Apr 2019 07:11:07 UTC Music clipping/distortion in 0.1.12 <p>As the title says; music playback is clipping and causing distortion since upgrading to 0.1.12</p> <p>I've tried rectifying the problem by setting music_volume to 128 (which is what I had previously always had it set to), but the music_volume value in the config.txt file gets reset to 256 every time Pico-8 is closed.</p> https://www.lexaloffle.com/bbs/?tid=33854 https://www.lexaloffle.com/bbs/?tid=33854 Fri, 12 Apr 2019 09:35:47 UTC Pico Tennis <p> <table><tr><td> <a href="/bbs/?pid=53753#p"> <img src="/bbs/thumbs/pico8_picotennis2-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=53753#p"> picotennis2</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=53753#p"> [Click to Play]</a> </td></tr></table> </p> <p>I was playing with some 3D rendering stuff and ended up making a tennis game.</p> <p>Play against AI or with up to 4 players.</p> <p>Z to hit the ball. To hit the ball in different directions you need to hit it when it's off to your side. So the further to your right the ball is when you hit it the more it will go left.</p> <p>X to do a power shot. Whenever you return the ball during a rally you will build up power. You can do a power shot anytime you have power in your meter, but the more it builds up the faster your shot will be.</p> <p>UPDATE 1.2</p> <ul> <li>As per Felice's comment I changed the display when a point is scored to make it easier to understand. It will now display PLAYER 1 POINT in blue. There's is also a message above that in orange for things like OUT or FAULT etc.</li> <li>Also adjusted the service so hitting a fault isn't unpredictable. Now the only way you should get a fault is if you over angle the ball (by moving sideways after you've thrown the ball, but before you hit it)</li> </ul> <p>UPDATE 1.21</p> <ul> <li>Corrected the range from which you can hit the ball because it was WAY too far.</li> </ul> <p>UPDATE 1.22</p> <ul> <li>Readjusted the hit distance to be a little more forgiving. Still not a broad as it was in the early version.</li> <li>Power shots are now a bit easier to direct. I was previously culled the angle on them a bit too much to account for the extra speed.</li> <li>Made a slight change so the AI isn't quite so strong. Basically just dumbed it down a bit more. I'd need to add some more advanced logic to make it more fun to play against. I've managed to get about 300 tokens, so I might look into it if I have time.</li> </ul> <p>UPDATE 1.3</p> <ul> <li>Added new label image.</li> <li>Reduced AI difficulty slightly (particularly for Normal mode).</li> <li>Fixed a bug that caused the game to go into an inescapable AI match if the menu screen was left on for about 10 to 15 minutes.</li> </ul> <p>UPDATE 1.4</p> <ul> <li>Changed matches to be best-of so they'll now end when a player/team has won more than half of the sets.</li> </ul> <p>Now available on itch.io <a href="https://paranoidcactus.itch.io/pico-tennis">https://paranoidcactus.itch.io/pico-tennis</a></p> https://www.lexaloffle.com/bbs/?tid=31450 https://www.lexaloffle.com/bbs/?tid=31450 Sun, 24 Jun 2018 10:00:32 UTC Tomb of G'Nir <p> <table><tr><td> <a href="/bbs/?pid=52574#p"> <img src="/bbs/thumbs/pico52573.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=52574#p"> Tomb of G'Nir</a><br><br> by <a href="/bbs/?uid=29414"> paranoidcactus</a> <br><br><br> <a href="/bbs/?pid=52574#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is my first attempt at using PICO-8. I'm pretty impressed with how quick and easy it is.</p> <p>The code's a bit messy because I didn't really know what I was building at first, and I've never used lua before.</p> https://www.lexaloffle.com/bbs/?tid=31258 https://www.lexaloffle.com/bbs/?tid=31258 Thu, 10 May 2018 09:05:11 UTC