Skip to content
Sign upLog in
← Back to Community

Raycaster

Profile icon
UDXS

A simple raycaster demo
https://repl.it/@UDXS/Raycaster

Voters
Profile icon
PixelRunner
Profile icon
BCP
Profile icon
TheRicks2
Profile icon
UDXS
Comments
hotnewtop
Profile icon
PixelRunner

i would make it so that you move in a vector depending on the camera's rotation instead of along the coordinates in the world space.

also the game could use collision (if you use vectors to move get the vector's head and if it is in a wall don't move the player in that direction)

Profile icon
BCP

good, the only thing is you can go through walls

Profile icon
CoolqB

Very cool! I get some strange movement glitches on my system, but you seem to have done your projections properly :)