Mode one = best ray caster Mode two = normal ray caster ___________________________________________________ Anything less than accuracy 2 on my ray caster should be used o turbowarp. https://turbowarp.org/projects/971676271/ ___________________________________________________ This ray caster basically works by being the opposite of a normal ray caster and covering every small spot on the map with reversed rays. ___________________________________________________ You can use this ray caster to create the same effects as a normal one by going to ray and finding the last x and y of each individual ray and reversing it. so that it is from the perspective of the player instead of the map. ___________________________________________________ This is the theoretical most precise ray caster that can possibly be made on scratch, it can detect some thing down to the nearest pixel. ___________________________________________________ Yes, it is superior to the ray casters used by famous scratchers like @Griffpatch. But while it is the most precise and evenly distributed ray caster, It causes too much lag to be of much use. But at a low enough quality, I am certain I can make a good game out of it since it is much more distributed than any other ray caster.
All by me Link to turbowarp - https://turbowarp.org/projects/971676271/ Note: this is not a 3d ray cast, it is just the ray caster by it self, although it can easily be turned in to a 3d cast with a few adjustment codes.