Skip to content

Adam-Haas/2D-platformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Platformer

A small SDL2 platformer written in C++.

Prerequisites

The build requires a C++23 compiler, GNU Make, pkg-config, SDL2, and SDL2_image.

On macOS with Homebrew:

brew install pkg-config sdl2 sdl2_image

On Debian or Ubuntu:

sudo apt install build-essential pkg-config libsdl2-dev libsdl2-image-dev

Build and run

make
make run

The default build is a debug build at build/debug/2d-platformer. For an optimized build:

make release
make MODE=release run

Run make help for all supported commands. The game must start with the repository root as its working directory because it loads assets from res/; the run target handles this automatically.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors