Hello all! At the moment, I have a level in the game in which the player is stuck in a room filled with monsters and the goal is to get away.
So, in theory, the player should die (hit a game over screen) when touched by a monster.
I've tried "player touch" AND "event touch" and both don't work. This is due to, or as I can assume, the player not facing the monster?
If anyone has tips to fix this, I'd appreciate it. And I can give further details if this was too vague.
Thanks!
monster chasing (and ending) player
● ARCHIVED · READ-ONLY
-
-
then you did something wrong, because "event touch" is the correct way - it triggers when the moving event moves on the player.
please give us a screenshot of your "event touch" monster event and we can check where you made your mistake. -
You should try some of Yanfly's Event Plugins. I think they might help you out.
-
Maybe needs to be set to autorun.
Adding a screenshot will get this resolved quicker, imo. -
Wouldn't autorun disable the players ability to move?
I like to place my events with 'through on' and then have a common event to check player and monster x and y, if they match it goes to game over, but it is a bit more complicated, -
To everyone who replied--
I fixed it...kind of. I'm still using event touch, and it works...for the most part. The only issue I'm having is sometimes the character touches the monster but the event doesn't run immediately. Usually, as long as the player doesn't move during this moment of nothing, the event will trigger.
I don't think this is a "fixable" issue. But I'll leave a screenshot anyways.
-
That is not a bug but the result of your frequency setting.The only issue I'm having is sometimes the character touches the monster but the event doesn't run immediately. Usually, as long as the player doesn't move during this moment of nothing, the event will trigger.
With movement, the speed determines how fast the event moves and the frequency determines how often it moves - basically a half-random wait. That is because if it were moving constantly, it would look as if every NPC were running and not like natural movement.
Event touch triggers when the event moves onto the player, not just when they're next to each other. And the frequency still causes a random delay here.
For more fluent movement you would have to increase frequency and if that is too fast reduce speed. -
For more fluent movement you would have to increase frequency and if that is too fast reduce speed.
That makes sense. Thank you for the help! I appreciate it :)