Firstly, thank you a ton for showing interest in this, I will definitely look through all this advice and try improve my raycaster.
With that said...
I don't write comments because a) I write my code on the calculator, so comments are annoying to type and to scroll past, b) I didn't expect anyone to read my code, so I didn't bother. I will try adding more comments now, knowing that people are looking through stuff.
I haven't really found the error with the minimap, but if it affects you, it might affect more, so I will fix that. I'm not entirely sure why I add colons.
I am aware of the walls randomly disappearing, but I thought I fixed that in the version(s) I released. Are there any specific spots where that happens so I can analyze the problem?
Seeing through the corners is a bug that I'm going to fix by just making there be no corners to see through. I can just change the map to fix that bug.
I don't think I'll add strafing, especially with the key you recommended, since I plan to use [Alpha] for something else, such as opening doors, which is the current focus
I have tried multiple times to fix the fisheye effect, and it works to some extent at the cost of completely screwing up everything else. I'll still look into that.
I will look through your optimized code and make changes where I see necessary. Thank you so much for your help, I will definitely give you credit in the description when I post it here
Jeff calc 84 wrote:
One hell of a engine, though. π
Thanks a ton