Hello!
I made a chasing event which the player has to evade traps that stops them, if the player stands over the event/trap that stops them, then the player has to press Z to release themselve.
The thing is that when the enemy is going to catch the player and the player is in the event that stops them out, the enemy doesn't trigger the game over unless the player is already released from the trap.
And that breaks the player's immersion, I would like to know if anybody knows a way to make the enemy triggers the game over even if the player is in the trap, I'm not very good at programming and I would like some help with this.
Over Here I'm going to leave what I made to create the chasing event.
1. Make a variable that is equal to 4. This is the one that is going to determinate how many times the player is going to press Z. This Event is set to parallel process. I erased the event in this occasion.
2. Create the enemy. The enemy is going to get close to the player and once the player has contact with the enemy is going to trigger the game over.
3. Create the trap. Once the player is on this event, a switch is going to be ON and this switch activates a common event.
4. The common event. This is going to prevent the player moving until the variable "Press Z" is equal to 0.
When the player presses the z button the variable "Press Z" decreases 1.
When the Variable "Press Z" is equal to 0, the switch "trapped" is Off.
And that's it. The only problem I have is that the enemy doesn't triggers the game over when the character is on the trap, I would appreciate any help with this problem.
Sorry for Any misspelling, English is not my first language :,D
I made a chasing event which the player has to evade traps that stops them, if the player stands over the event/trap that stops them, then the player has to press Z to release themselve.
The thing is that when the enemy is going to catch the player and the player is in the event that stops them out, the enemy doesn't trigger the game over unless the player is already released from the trap.
And that breaks the player's immersion, I would like to know if anybody knows a way to make the enemy triggers the game over even if the player is in the trap, I'm not very good at programming and I would like some help with this.
Over Here I'm going to leave what I made to create the chasing event.
1. Make a variable that is equal to 4. This is the one that is going to determinate how many times the player is going to press Z. This Event is set to parallel process. I erased the event in this occasion.
2. Create the enemy. The enemy is going to get close to the player and once the player has contact with the enemy is going to trigger the game over.
3. Create the trap. Once the player is on this event, a switch is going to be ON and this switch activates a common event.
4. The common event. This is going to prevent the player moving until the variable "Press Z" is equal to 0.
When the player presses the z button the variable "Press Z" decreases 1.
When the Variable "Press Z" is equal to 0, the switch "trapped" is Off.
And that's it. The only problem I have is that the enemy doesn't triggers the game over when the character is on the trap, I would appreciate any help with this problem.
Sorry for Any misspelling, English is not my first language :,D

and I will stop editing this post.)