Question by
cjsjyh · Sep 05, 2016 at 12:08 PM ·
coordinatesgenerating
How to check if the coordinate is inside the wall?
Hi! I'm making a maze game and there will be monsters patrolling around the maze. I made a function that generates random coordinate but there will be times when the coordinates are inside the maze wall so i want to prevent that from happening. I want the coordinates to be generated only on the paths. How can I do that? Thanks!
Comment