I added the ability to walk sideways and added some essential features like not being able to walk off the map. I also cleaned up the code. I wanted to put the image below just to show the repercussions of not using DDA in a raycaster. It looks all jagged because my rays are moving at fixed intervals instead of moving from grid space to grid space. This causes the ray to detect walls irregularly. To fix this, you would need your ray steps to be incredibly small (very laggy) or implement DDA. The next devlog should be me implementing it hopefully!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.