platformer enemy ai (using raycasting) | ScratchStats