For part of a game I'm making, I want to have a part with a timer that when it runs out, has an obstacle chase the player in a maze. If this obstacle reaches the player, it's an instant game over.
The idea is to keep resetting the timer so said obstacle doesn't spawn and eventually make it to the end of the maze. Not a ground-breaking level design concept, but it beats the monotony of "go to new area and beat everything up" that the game I'm making has suffered from so far.
I want this obstacle to be able to move through walls, but whenever I click the "through" box, it makes it so the player cannot interact with it either.
Here's a picture of what said obstacle is supposed to do, and what settings I have enabled.
In practice, when the timer runs out, the obstacle chases the player as intended, but does nothing when it touches the player. If I set "through" to off, it can't go through walls, but even when it touches the player, nothing happens unless the player actively moves in its direction to touch it, which the player obviously would not intentionally do unless they're trying to fail.
Are there any settings I can change to make it work properly, or will I need some kind of plugin to make this obstacle work as intended?
---
Edit: I've figured it out. I just had to change "Player Touch" to "Event Touch". I was under the impression that "Event Touch" meant 'another event touches this event' and not 'this event touches the player'. Maybe I should actually read the little pop-ups that appear when I hover over the options >.>
The idea is to keep resetting the timer so said obstacle doesn't spawn and eventually make it to the end of the maze. Not a ground-breaking level design concept, but it beats the monotony of "go to new area and beat everything up" that the game I'm making has suffered from so far.
I want this obstacle to be able to move through walls, but whenever I click the "through" box, it makes it so the player cannot interact with it either.
Here's a picture of what said obstacle is supposed to do, and what settings I have enabled.
In practice, when the timer runs out, the obstacle chases the player as intended, but does nothing when it touches the player. If I set "through" to off, it can't go through walls, but even when it touches the player, nothing happens unless the player actively moves in its direction to touch it, which the player obviously would not intentionally do unless they're trying to fail.
Are there any settings I can change to make it work properly, or will I need some kind of plugin to make this obstacle work as intended?
---
Edit: I've figured it out. I just had to change "Player Touch" to "Event Touch". I was under the impression that "Event Touch" meant 'another event touches this event' and not 'this event touches the player'. Maybe I should actually read the little pop-ups that appear when I hover over the options >.>