paranoidcactus [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=29414 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/pico55359.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=53753#p"> Pico Tennis 1.22</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> 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