Raycasting, how does it work for tilemaps?, and How do I make the player see to an x distance(example: darkness after 4 feet(can’t see past))
I want to make a game, that is quite scary, yet I don’t know how to do raycasting with tilemaps nor how to make the player see to an x distance, how do I do that?