Skip to content

A 2D shooter game where the goal is to achieve the highest score possible by shooting the alien without missing. Every hit constitutes a point making the alien moves faster, thus increasing the difficulty. If you miss, it’s game over!

License

Notifications You must be signed in to change notification settings

Shahir-47/SpaceAccuracy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpaceAccuracy

Description:

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:

  1. main.lua:- controls the main function of the program like keyboard inputs and background drawing
  2. player.lua:- the file of player
  3. enemy.lua:- the file of the the enemy we have to shoot
  4. bullet.lua:- the file of the bullet that the player shoots

How to install and run this game:-

  1. Download the SpaceAccuracy.zip file in this repository
  2. Extract the SpaceAccuracy.zip file
  3. Run SpaceAccuracy.exe
Alternate way to install and run this game:-
  1. Download the file named "SourceCode"
  2. Donwload and Install Love from :- https://love2d.org/
  3. Launch the game by dragging the SourceCode folder to love.exe

Credits:-

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.

License:-

This Project uses a GNU General Public License v3.0. For more info refer to the LICENSE file

Note:-

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.

About

A 2D shooter game where the goal is to achieve the highest score possible by shooting the alien without missing. Every hit constitutes a point making the alien moves faster, thus increasing the difficulty. If you miss, it’s game over!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages