04-12-2024, 06:08 PM
Raycasting games are just like top down 2d games. Maybe you can look at how I coded the enemies in farmer man (in7/examples/other)? I believe they chase the player when they see him. There should also be a function in wolf3d to check if a point (x, z) is visible from another point.