A 2D shooter game that requires the user to shoot an alien. With every hit, the player gets a point and the alien moves faster, thus increasing the difficulty. If you fail to hit the target, the game end. Hence, the goal is to achieve the highest score possible by shooting the alien without missing.
My knowledge of Functions/Methods and OOP inspired me to code this game and see how far I can get. This game is coded in lua langauge which is similar to your traditional python language but is more useful when it comes to coding games. This is because lua makes it easier to use and manipulate graphics and fully supports Object Oriented Programming (OOP). There are mainly 4 .lua source code files, which are in the "SourceCode" folder:
- main.lua:- controls the main function of the program like keyboard inputs and background drawing
- player.lua:- the file of player
- enemy.lua:- the file of the the enemy we have to shoot
- bullet.lua:- the file of the bullet that the player shoots
- Download the SpaceAccuracy.zip file in this repository
- Extract the SpaceAccuracy.zip file
- Run SpaceAccuracy.exe
- Download the file named "SourceCode"
- Donwload and Install Love from :- https://love2d.org/
- Launch the game by dragging the SourceCode folder to love.exe
Credit to https://www.youtube.com/watch?v=h7II1fiaWKA for showing me how to convert my mutliple .lua source code file into a single .exe file.
This Project uses a GNU General Public License v3.0. For more info refer to the LICENSE file
You'll notice that there are 2 contributors for this repository. shahir1775 is my old github account. So, I transfered ownserhip to my current account, which is Shahir-47. Thus, there is only 1 actual contributor to this project.