Hi,
A top down game where I move a guy through a maze.
I drew a maze in paint and imported it in as a sprite (think pacman looking level)
I couldn’t think of a way to make my player trigger events when colliding with the walls.
I cant use 2d polygon collider as it tries to look at the sprite as a whole.
Ways I’ve thought, but I thought I’d just ask.
-Slice the sprite in the sprite editor, but I’d have to draw boxes over every single line.
-Research if raycasts can detect a certain colour. (I haven’t learnt raycasts yet)
-Learn blender and use the maze image as a guide and plonk cubes on it to make a 3d version of it.
-Recreate the maze in game using just a line sprite.
Is there an easier way?
Thanks in advance.