scottb [Lexaloffle Blog Feed] comments counting for chars <p>So, comments don't count for tokens, which is good. But, they do count for characters. This kinda provides an incentive to avoid the level of comment in code that might be useful to others in the community, which is too bad.</p> <p>Any chance this could be changed to be more in line with how tokens are counted?</p> Thu, 06 Aug 2015 12:08:46 UTC Ganymed <p> <table><tr><td> <a href="/bbs/?pid=12068#p"> <img src="/bbs/thumbs/pico12563.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=12068#p"> Ganymed 0.6</a><br><br> by <a href="/bbs/?uid=10208"> scottb</a> <br><br><br> <a href="/bbs/?pid=12068#p"> [Click to Play]</a> </td></tr></table> </p> <p>An asteroids-like game for PICO 8.</p> <p>Controls:</p> <p>UP: thrust<br /> LEFT/RIGHT: rotate<br /> Z: shoot<br /> X: blast (area attack radiating from ship; uses energy)</p> <p>Don't get hit by the asteroids; shoot the asteroids for points. Big ones split into medium, medium ones sometimes split, small ones never do.</p> <p>Each player starts with 3 lives, and also has a &quot;power&quot; gauge. The longer you stay alive, the higher the gauge goes. When it passes certain points, you automatically upgrade (upgrades: more bullets, longer distance bullets, multi-shot). When you die, it resets. The secondary attack (&quot;blast&quot;) uses up 1 &quot;tick&quot; of energy (3 ticks per upgrade), so you can choose to use it to save yourself and rack up points, but it will slow down your upgrade path.</p> <p>At this point, probably all that I'm going to polish on this is sfx and maybe some graphical tweaks.</p> <p><strong>Original Post</strong></p> <p>So, I'd been thinking of making an asteroids-like game (probably Asteroids, but with some interesting weapons or abilities added in). I was a bit hesitant to go full vector drawing, plus I kinda wanted to mess with sprites. But, you can't rotate sprites (though amusingly, grobstein just posted a thread about just that).</p> <p>My solution: a two-sprite ship, with both sprites circular. This allows for an arrow-like shape, (via rotating one sprite's coordinates around the other).</p> <p>I ... kinda like it so far? Right now it's got movement and physics and such. No collisions yet, very boring asteroids. But, a start.</p> <p>Controls: </p> <p>UP: Thrust<br /> Right/Left: rotate</p> Thu, 30 Jul 2015 21:21:53 UTC Supercover Algorithm Test <p> <table><tr><td> <a href="/bbs/?pid=12024#p"> <img src="/bbs/thumbs/pico12023.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=12024#p"> Supercover Algorithm Test 0.1</a><br><br> by <a href="/bbs/?uid=10208"> scottb</a> <br><br><br> <a href="/bbs/?pid=12024#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a really basic test of a supercover algorithm (for determining which grids in a square a line from square 1 to square 2 crosses). Potentially useful for collision detection or line of sight.</p> <p>Algorithm is cribbed from online (with minor tweaks), and this is otherwise quite simple. Mostly a proof of concept, and to see how well it performed within PICO 8.</p> <p>Up / Down / Left / Right: move the end point.<br /> Z: change which end point you're moving</p> Wed, 29 Jul 2015 19:02:26 UTC