Skip to content

nsklaus/csdl_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


       

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published