A simple two stage parallax side-scrolling 2D retro game inspired by Moon Patrol.
Contains FULL SOURCE CODE and the executable for Windows desktop.
PLEASE NOTE: This is not a complete ready to publish game. It is a complete example of how to program a game in GLBasic. As such it contains two stages which is all that is needed to show how to handle the player completing one stage and proceeding to the next. You can easily add new stages in the Tiled map editor and update the program accordingly to allow the player to proceed to your new stages.
There are many other enhancements you can make such as adding a High Score Screen, programming different behavior for the two different aliens, adding new aliens (perhaps even a Boss battle at the end of the stage) and so forth.
Right now what you get is a complete framework for such a game. Think of it as a sort of GLBasic parallax side scrolling arcade game template.
I've been programming and making games for over 30 years now. This will show you how I program video games. The source code may be helpful to learn how to structure your games to manage game projects much more complex than this one.
I hereby release this source into the public domain for educational purposes. Feel free to use any of the code in your own projects.
Also be sure to check out my website and contact me regarding game development anytime.