UnderwareDESIGN

PlayBASIC => Resources => Source Codes => Topic started by: kevin on March 06, 2010, 01:35:23 PM

Title: Shoot The Alien
Post by: kevin on March 06, 2010, 01:35:23 PM
 Shoot The Alien

    This example is for of the CleverCoder challenge #19 (http://www.underwaredesign.com/forums/index.php?topic=3224.0).   The challenge was to create a space invader styles game, but limited the number of aliens to one.  

     The code is bit long that need be really, as the code draws simple polygons to shape to represent the Alien / Player  & Bullets.  The polygons are then merged to shapes for collision detection between the various character types.    I've tried to divide everything into groups of function to separate everything as much as possible.  Which in turn creates a little extra code, but is less error prone in longer projects.


Downloads
 
      [plink]Shoot The Alien (http://www.underwaredesign.com/forums/index.php?action=dlattach;topic=3385.0;attach=3239)[/plink]   This version requires PlayBasicV1.64k  or above.  

      [plink]Shoot The Alien (http://www.underwaredesign.com/forums/index.php?action=dlattach;topic=3385.0;attach=3242)[/plink]   This version will run on all versions (V1.63 Learning Edition)