pixelshenanigans [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=99265 airattack <p> <table><tr><td> <a href="/bbs/?pid=149820#p"> <img src="/bbs/thumbs/pico8_airattack-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=149820#p"> airattack</a><br><br> by <a href="/bbs/?uid=99265"> pixelshenanigans</a> <br><br><br> <a href="/bbs/?pid=149820#p"> [Click to Play]</a> </td></tr></table> </p> <p><img loading="lazy" style="margin-bottom:16px" border=0 src="/media/99265/airattack_0.gif" alt="" /><img loading="lazy" style="margin-bottom:16px" border=0 src="/media/99265/airattack_2.png" alt="" /><img loading="lazy" style="margin-bottom:16px" border=0 src="/media/99265/airattack_3.png" alt="" /><img loading="lazy" style="margin-bottom:16px" border=0 src="/media/99265/airattack_4.png" alt="" /></p> <p>Controls</p> <p>Press &quot;X&quot; to drop a bomb. </p> <p>Rules</p> <p>This a one button game. The aircraft flies by itself and will descend each time it reaches the end of the screen. Destroy all the buildings to land safely on the ground! A bomb has to explode {destroying 1-4 building blocks) before you can drop another, so use them wisely!</p> <p>Behind the Scenes</p> <p>This is my first Pico-8 game and is based on the Commodore Pet game, Air Attack, by Peter Calver. It was released in 1979 by Supersoft. This was the game that sparked my interest in computers and video games. We had a Commodore Pet at college and I typed in the code for this game from a magazine (possibly the December 1979 edition of Personal Computer World). The magic of being able to play this game, even with no understanding of the code at the time, was certainly a seed for my career in software and my love for game development.</p> <p>The buildings are created randomly, using a seed (incremented between levels) to ensure levels are the same for everyone. I'm basically picking a column, then dropping that block in the column. I'm using mset() to control the map programmatically and mget() for collision detection. Each bomb will destroy 1-4 building blocks - this rule was in the original game. Some new features include a simpler aircraft and animated explosions. I added speeding up the aircraft on new levels to gently ramp up the difficulty, also not in the original game. I'm still learning about sound, so I'm not 100% happy with the sfx. </p> <p>Credits</p> <p>Thanks to Lazy Devs Academy and SpaceCat for the awesome YouTube videos on Pico-8 game development!</p> https://www.lexaloffle.com/bbs/?tid=142682 https://www.lexaloffle.com/bbs/?tid=142682 Tue, 11 Jun 2024 21:36:51 UTC