My first maze game
Posted: October 6th, 2020, 9:27 pm
Sooo...
I'm a complete beginner and have so far navigated my way through to tutorial 10 of Chili's erotic home movies. I've made a few clones of the classic poo game as well as some other nonsense that has culminated in the greatest idea for a game ever (see attached). However I fear I may have flown to close to the sun with this one as cannot figure out how to make the walls of the maze impassable once drawn.
In the poo tutorials we used an if statement to establish if the player had left the bounds of the screen, but extrapolating this if statement approach to defining the movable area of the maze on x,y coordinates is a bastard, and there's got to be a simpler way.
Would welcome any advice or clues on how to proceed - would also accept an answer of "wait until you watch tutorial X before attempting" if there's some fancy way I haven't yet seen.
I'm a complete beginner and have so far navigated my way through to tutorial 10 of Chili's erotic home movies. I've made a few clones of the classic poo game as well as some other nonsense that has culminated in the greatest idea for a game ever (see attached). However I fear I may have flown to close to the sun with this one as cannot figure out how to make the walls of the maze impassable once drawn.
In the poo tutorials we used an if statement to establish if the player had left the bounds of the screen, but extrapolating this if statement approach to defining the movable area of the maze on x,y coordinates is a bastard, and there's got to be a simpler way.
Would welcome any advice or clues on how to proceed - would also accept an answer of "wait until you watch tutorial X before attempting" if there's some fancy way I haven't yet seen.