Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

96 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Œ Squared

Squared is a WIP Private Project that will be solely developed by myself. The aim is to create a project that helps me gain familiarity / comfort with C++, RayLib and Make. Make is primarily used to help with ease of compilation on Linux.

The game is aimed to be an endless runner where the player can wrap around the game window. The idea is to kill enemies, score points and survive as long as possible.

πŸ“š Libraries

πŸ”¨ Build [Linux]

  • Open Terminal.
  • Navigate to the folder.
  • make will build & run the project.

βœ… Features

  • Game Timer.
  • Pause / Resume Functionality.
  • Basic Enemy Movement.
  • Player Health / Lives System.
  • Basic Scoring System.

πŸ”§ TODO

  • Seperate into Header / CPP Files.
    • static inline will be corrected with this. I need to read more about the benefits.
    • static inline was fixed with Pointers & References instead. This will make seperation easier.
  • Enemies Attack Player.
    • Enemies will deal collision damage to the player upon impact.
  • Player Health Bar.
  • Enemy Waves & Timer.
    • Implemented in a basic manner. Enemies will spawn in waves based on game timer.
    • Number of Enemies spawned are based on std::map of gameLevel -> numEnemies.
  • Different Projectiles.
  • Wave Duration.
    • Indicate how long a wave has taken to be killed.
    • Issue: As enemy count increases, this duration will become more relevant but harder to track as new waves will be spawning.
  • Enemies Killed / Waves Killed Counter.
    • Interesting metric for the user.

πŸ–ŒοΈ Assets

  • Assets are created by myself, using Aseprite. This is still very much a learning experience.
Asset Name Image
Player Character Player Character
Enemy Character Enemy Character
Projectile Projectile
Pickups: Health Pickup: Health
Pickups: Life Pickup: Life
Pickups: PowerUp Pickup: PowerUp

About

Squared is a WIP Private Project. Solely developed by myself to help learn, develop and improve in C++.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages