This is just a demonstration of how to achieve infinite scrolling background with parallax. It also demonstrates impact detection, animation, bounds checking, and a little bit of enemy intelligence. Movement: Arrow Keys Shoot: Spacebar Bomb: b (You only get 4!) Note: You can't actually destroy the enemy ship.. this isn't a game so much as a tech demonstration :)
Notice that some stars are stationary, others appear to move slowly and some move faster. This is called the parallax effect. Take a look inside to see how I achieved it. Special thanks again to all those great folks at opengameart.org I included these graphical and sound assets: http://opengameart.org/content/cyberspace-hunters http://opengameart.org/content/space-ship-construction-kit http://opengameart.org/content/explosion-0 http://opengameart.org/content/space-ship-shooter-pixel-art-assets http://opengameart.org/content/shiny-hud http://opengameart.org/content/animated-explosions http://opengameart.org/content/icy-game-over