undersquire / platformer-public

A 2D platformer written in C++ using SDL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE: This project is not a good example of "professional" code. I wrote this in 2 weeks for a school project, so don't expect the cleanest or most efficient code.

NOTE 2: The art is not mine, I got it from OpenGameArt. I just combined it all into a single PNG for easier asset management 🤓

Project Information:

Libraries used:

  • SDL2
  • stb_image

Compiling this project (requires CMake 3.25+):

  • Clone the repository - git clone https://www.github.com/undersquire/platformer-public --recursive

macOS, Linux (requires Ninja):

  • Initialize CMake build directory - cmake -B build -G "Ninja Multi-Config" .
  • Build the project via CMake - cmake --build build --config Release

Windows (requires Visual C++ Build Tools):

  • Initialize CMake build directory - cmake -B build -G "Visual Studio 17 2022" -A x64 .
  • Build the project via VS Build - cmake --build build --config Release

About

A 2D platformer written in C++ using SDL.

License:MIT License


Languages

Language:C 77.3%Language:C++ 22.5%Language:CMake 0.2%