Skip to content

JadonBelair/dda-raycast

Repository files navigation

DDA Raycasting Engine

a simple DDA raycaster written in rust

Controls

W/S: move forward/backward
A/D: look left/right

Useful links

javidx9 video on the DDA algorithm
article i got some of the math from
all textures come from the Faithful 64x minecraft resource pack

TODO

  • add easier way to make maps
  • have nicer LDtk integration
  • add shaded floor/ceiling
  • allow any texture for use in floor/ceiling
  • make floor/ceiling drawing work at different WIDTH_3D values other than 1
  • have better way of calculating magic number for floor
  • add better collision system
  • make engine more modular / less dependant on game logic.

About

a simple raycaster using the DDA algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages