Alien Invasion! is a side-scroller shoot-em-all arcade game that was made for a school assignment on object oriented programming. It was written in C++ using pure Win32 API and GDI. The game is built on top of a simple 2D engine called the XEngine which I made just for this occasion. Unlike many earthly games, the player assumes the role of an invading flying saucer commander and his goal is to eliminate all defending earth forces by shooting them while trying not to get shot.
While the game features only two short levels the user can create own levels. New levels can be created in Notepad and added to the game easily. See level creation guide at the end of this page.
Create custom levels
You can create custom levels easily by following this guide. Levels for this game are simple text files and you can edit them using Notepad (or your favourite text editor). Levels are stored in the Data\levels\ sub-folder. The very first level of the game must be named level1.txt.
Each level file starts with three lines followed by an empty line:
After the first three lines (and an empty line) you can define an arbitrary number of enemies. Enemies are spawned at the right edge of the screen and travel from right to left. Each enemy is defined by three lines of text followed by an empty line: