Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1012 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 1012 Bytes

csdl_test

goal of this project is making a 2d game that can use maps created by tiled mapeditor.
current assets are temporary and will be replaced by original ones later on.
it's made in plain c, and only has sdl2 as dependency.
it can be built with just make and cleaned with make clean.

current state: working on collisions and gravity system.

what it does so far:

  • load and parse a tiled map
  • build collision map
  • build and render map
  • move map and collision layer
  • player sprite animation
  • handle collisions with player and map
  • handle gravity

  • use arrow keys to move the player.
    press ` f ` for fullscreen.
    press ` d ` to render collision map.
    press ` esc ` to quit.