Skip to content

Chillhopper/LeGravity

Repository files navigation

LeGravity Game

image

About the Game

LeGravity is a space-themed arcade shooter game set amidst the backdrop of a starry cosmic landscape. In this game, players control a spaceship that must dodge and destroy incoming enemies while navigating the gravitational anomalies of space.

Features

  • Dynamic Enemy AI: Encounter various enemy ships with unique movement patterns.
  • Weapon Upgrades: Collect power-ups to enhance your ship's firepower.
  • Physics-based Movement: Experience the pull of gravity as it affects the ship's trajectory.
  • Pixel Art Graphics: Enjoy a retro aesthetic with modern game mechanics.

Getting Started

Prerequisites

  • Qt 5.x
  • CMake 3.x
  • A C++17 compliant compiler

Installation

  1. Clone the repository to your local machine.
  2. Navigate to the cloned directory.
  3. Run cmake . in the terminal to generate the Makefile.
  4. Build the project by running make.

Running the Game

After the build is complete, run the executable created in the bin directory.

Controls

  • WASD controls: Move the spaceship.
  • Spacebar: Fire bullets.

Development

LeGravity is built using the Qt framework for the user interface and game rendering. The game's logic is implemented in C++ for optimal performance.

Structure

  • Bullet.cpp: Manages bullet behavior and rendering.
  • Enemy.cpp: Defines enemy characteristics and AI.
  • Game.cpp: Main game loop and state management.
  • mainwindow.ui: Qt UI file for the game window.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Image Credits

The following assets are used in the LeGravity game, with gratitude to the original creators:

About

A shooter with some physics, hobby project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published