tpalmerstudios / Jeli

A first-person game engine for the beginning developer
GNU General Public License v3.0
2 stars 0 forks source link
beginner-friendly beginner-project cpp game-development game-engine games graphic learning raycasting rendering sdl2 stb-image tutorial

Jeli

A first-person game engine for the beginning developer

Installation

  1. Clone this repository
    git clone https://github.com/tpalmerstudios/Jeli
  2. Download SDL2 for your system.
    As long as it is installed and sd2-config is in your path, it should work.
  3. Download dependency - nothing/stb
    cd Jeli && git clone https://github.com/nothings/stb
    The repository you just cloned should be inside this (Jeli) repository now. ls Jeli/stb should output a few directories and about 20 header files now.
  4. Compile
    make clean && make

Based on ssloy/tinyraycaster. I probably should've forked it or something, but at this point the code is drastically changed. In addition while it says initial commit, this is by no means the first changes I've done.I've been steadily working through his tutorial and recently have actually been adding features. My goal is to make it able to draw several shapes. Circle, Triangle, Cubes, and maybe ovals. In addition I want to rework the map system to allow for higher pov or lower. And possibly every single item having an altitude variable as well as an angle. I have started by adding a horizon variable that is used instead of just splitting the screen in half.My next step will probably be adding a jump action that will respond to SPACE. And lower the horizon 10% of screen height. This is not a great readme, but it allows me to figure out what I need to do next.

Step 1 - Shape rendering

Step 2 - Overlay rework

Step 3 - Add altitude

Step 4 - Actor rework

Step 5 - Map rework

Step 6 - Movement rework