Skip to content

SafakOnol/RaycastEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RaycastEngine

image

My 2D game engine with Raycast renderer, written in C.

Control the player's movement with WASD and look with Left Arrow and Right Arrow keys.

TASKS COMPLETED:

  • Raycasting with DDA Algorithm
  • Rendering Rays
  • Map Rendering (Line and Rect render methods)
  • Wall Rendering
  • Texture mapping
  • Sprites
  • Movement
  • Wall Collision
  • Sprite depth sorting
  • Z-Buffer (Bubble sort algorithm)

Demo video: https://youtu.be/hzF2T2mgris

Play JavaScript prototype here: https://safakonol.github.io/RaycastJS/

TODO:

  • Floor & Ceiling Casting
  • Sprite collision
  • Sprite animations
  • Collectables
  • Door & key logic
  • Projectile
  • Enemies
  • Health
  • UI

References:

Safak Onol 2024

About

Raycast Engine Project for a tiny Wolfenstein3D-like game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors