Space Invaders ala Adobe Flex

Ok, I had a really nice story written up, and then Mambo’s Story Editor blew up and refreshed the page for no apparent reason.  So I’ll keep this one short and simple.

http://projects.zoulcreations.com/games/FlexInvaders/

Above is a link to a Space Invaders clone written in Adobe Flex.  There are three components that make up this game, the Ship, Shot and Invader classes.  The Ship component is the player ship and has simple ‘move left/right’ functionality along with ‘fire shot’.  The Shot component is the fiery bullet that the Ship shoots when you press the Spacebar.

The Invader class is fairly simple at this point, and contains little to no logic.  The Invaders are currently stale and do not move around the level.  This functionality was not required to accomplish my simple test, which was to see if Flex was a suitable game development environment.  So far, I’m thinking that is definitely has the potential to develop simple Flash video games … not sure about it’s ability to get more complex — along with Flex’s ability to load up SWF’s ‘on the fly’ … you could intermix Flash and Flex stuff to make the game more complex (visually).

So give it a try, and let me know what you think …

2 comments for “Space Invaders ala Adobe Flex

  1. Robert
    December 8, 2008 at 1:28 pm

    Mr.
    Can you send me the code of Space invaders, I want to learn how to do It.

    Bye

  2. December 8, 2008 at 2:45 pm

    I do not believe I have the source to this laying around anymore. Although, putting it together was quite simple – feel free to ask any questions you’d like …

Leave a Reply