Skip to content

topisteronyango/maze_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Maze_project

A simple Ray Casting 3D engine using SDL as the rendering back-end.

AUTHORS

The goal of this project is to create a game in 3D using raycasting !

This was designed for kids so that it could improve their spatial recognition and analytical skills. We are looking forward to implement features that includes each age, suggestions are welcomed!😋😋

Keyboard Keys for Players

  • Arrow Keys -- Player Directions
  • R -- Refresh
  • M -- Map
  • C -- Zoom Player view
  • [ -- Zoom Out in Game
  • ] -- Zoom In in Game
  • F -- Change Views (Normal view to Panoramic view and vice versa)
  • T -- Change Texture of walls and square columns

Tools and Languages Used...

  • C language
  • SDL2 (Simple Directmedia Layer)
  • Ray-Casting
  • Bash

Compiling

Using a Windows Operating sysytem, Navigate to the src folder and Compile with gcc -std=c17 *.c -I{Path to SDL2\include} -L{Path to SDL2\lib} -Wall -lmingw32 -lSDL2main -lSDL2 -o raycaster Check out this link for help.

Using Linux, Navigate to the src folder and Compile with gcc -o raycaster *.c 'sdl2-config --cflags --libs' -lm

  • Remove the line #define SDL_MAIN_HANDLED from the source codes in Linux

Most of the code inspiration were adopted from DrDanick

More modifications are underway. Explore and enjoy it!

Screenshots

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages