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.
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 …