8000 GitHub - Shahir-47/SpaceAccuracy: 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!
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Repository files navigation

SpaceAccuracy

Image 1 Image 2 Image 3

Description:

A 2D shooter game where the player shoots at an alien to score points. Each successful hit increases the alien's speed, making the game progressively harder. Missing the target ends the game. The goal is to achieve the highest score by consistently hitting the alien.

This game demonstrates my knowledge of Functions/Methods and Object-Oriented Programming (OOP). It is developed in Lua, a language similar to Python but better suited for game development due to its simplicity and robust support for graphics and OOP.

The source code is organized into the following files, located in the "SourceCode" folder:

  1. main.lua - Handles main game logic, keyboard inputs, and background rendering.
  2. player.lua - Defines player behaviors and animations.
  3. enemy.lua - Defines the enemy logic, including movement.
  4. bullet.lua - Handles the player's shooting mechanics.

How to Install and Run the Game:

For Windows:

  1. Download the SpaceAccuracy.zip file from this repository.
  2. Extract the contents of the zip file.
  3. Run SpaceAccuracy.exe to launch the game.

For macOS and Linux:

  1. Download and install Love2D.
  2. Clone or download this repository.
  3. Navigate to the folder containing the SpaceAccuracy.love file.
  4. Launch the game using the following command:
    love SpaceAccuracy.love

Credits:

Special thanks to this tutorial for demonstrating how to bundle Lua source code into a single executable file.


License:

This project uses the GNU General Public License v3.0. For more information, see the LICENSE file.


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
39FE

Contributors 2

  •  
  •  

Languages

0