geekymoose / 2d-tilemap-engine

[CLOSED] A simple 2D sprite engine with SDL for learning purpose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2D tilemap engine

This is a simple 2D engine using SDL2. It is not finished and not functional. I used this project to learn about SDL (special thanks to sdltutorials.com) as well as some game engine basics.

Dependencies

  • CMake
  • SDL2 (must be installed system-wide)
  • SDL2_image (must be installed system-wide)

Build and run (Linux only)

  • Requires C++11.
  • Compiled and tested with g++ 6.3.0
  • Requires "pragma once" support
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release .. # Debug has an issue, use Release instead
make
make run # Use ESC to exit

Features

  • 2D engine
    • TimeManager
    • FPS
    • Sprite Animation
    • 2D map rendering
    • Camera
  • GamePlay
    • Player
  • Physic
    • Simple 2D collision

Author

Constantin Masson (geekymoose)

About

[CLOSED] A simple 2D sprite engine with SDL for learning purpose

License:GNU General Public License v3.0


Languages

Language:C++ 79.3%Language:CMake 18.7%Language:C 2.0%