Skip to content

Stivenjs/Engine-game

Repository files navigation

2D Game Engine and Mini-Game

This project is a simple 2D game engine built using C++ and SDL2, designed to provide a foundation for developing basic 2D games. It includes essential features such as rendering, event handling, and basic collision detection. As a demonstration of its capabilities, a small mini-game has been created where a player avoids obstacles to survive.

Authors

Features

  • Window management and rendering using SDL2.
  • Basic update and render loop.
  • Fullscreen mode
  • Collision detection.
  • Player control with keyboard input.
  • Dynamic obstacle generation and movement.
  • Game-over message displayed on collision.

Installation

Install my-project with git

Install the required dependencies:

  • SDL2
  • SDL2_image
  • SDL2_ttf
  git clone https://github.com/Stivenjs/Engine-game.git
  
  cd my-project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published