Use up and down arrow keys to move This will be used in raycasting games like Wolfenstein 3d. 95% by me, credits below, this is a very important project because its a result of self-study Works in every x and y coordinate. If the intersection does out of the screen, it won't gonna be render. I am preparing to implement this to a raycasting project where it projects wall in a 2.5D map.
This is my first Raycasting project in a grid. This uses the DDA technique to cast rays and find vertical and horizontal intersections. This took some weeks to make and test. But, before that, I've been studying about raycasting for a year already, so here is the list of credits : - Inspirations - @Java_Programmer (+explaination) @iaobardar (+explaination) @kc021 @piano_miles @DogCatPuppyLover @Finlay_Cool @Griffpatch @eudes @SuperCoder900 @ITALY_5454646 @RokCoder @gtoal @Layzej @toblerone 108 And all the scratchers who made list-based raycaster, DDA raycasting and 2.5D raycaster projects. -Code and mathemathics algorithm- Permadi.com : https://permadi.com/1996/05/ray-casting-tutorial-7/ Matt Godbolt : https://www.youtube.com/watch?v=eOCQfxRQ2pY WeirdDevers : https://www.youtube.com/watch?v=g8p7nAbDz6Y&t=179s 3DSage : https://www.youtube.com/watch?v=gYRrGTC7GtA&t=570s (This project is 95% by me) I wanna have a special thanks to and who inspired and explained to me about the algorithms. I also found more interest in mathematics (I always like mathematics) and more specifically trigonometry.