Skip to content

lachfoy/2dgameABANDONED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

278 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2dgame

This is a simple 2D game project that uses SDL2 for rendering. I don't have any huge goals or ambitions for this project - I'm mainly working on this for fun and to improve my software design and C++ skills.

Inheritance Diagram

Inheritance diagram generated from inheritance.gv using Graphviz.

inheritance.gv.png

Building

If you would like to try and build this project (requires SDL2, sdl2_ttf, sdl2_image, sdl2_mixer and cmake)...

  1. Clone the repo into any location

  2. Create a build directory

    mkdir build
  3. Generate the build files using cmake

    cmake -S . -B build
  4. Build the program

    make -C build
  5. Run the program!

    build/2dgame

Hopefully it works ;)

Considerations for Future Projects

  • Try using an ECS architecture
  • Look into using a scripting system

About

side project

Topics

Resources

Stars

Watchers

Forks