I saw this video and I get very interested.
I'm trying to do the same in my game, but I don't know how to make the game recognize that the player stepped outside the puzzle area.
I know how to make the tile change image when the player pass through it. But I don't know how to reset it when the player step somewhere where he should not step.
I also want to make one thing different from the example. There if he step on a tile that he already passed he would fail the puzzle. But on my version I want some tiles to be able to pass through twice. I want it to be like a fragile floor, if you step once it cracks step twice it open a hole, if you try to pass again you fall.
How can I do the set up part, I'm terrible with java script. That's still my 1st game.
I'm trying to do the same in my game, but I don't know how to make the game recognize that the player stepped outside the puzzle area.
I know how to make the tile change image when the player pass through it. But I don't know how to reset it when the player step somewhere where he should not step.
I also want to make one thing different from the example. There if he step on a tile that he already passed he would fail the puzzle. But on my version I want some tiles to be able to pass through twice. I want it to be like a fragile floor, if you step once it cracks step twice it open a hole, if you try to pass again you fall.
How can I do the set up part, I'm terrible with java script. That's still my 1st game.