Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[Resolved]Help with implementing traps

First of all, you don't even need the 2nd and 4th event pages, their commands are redundant as you've already turned on self-switch A, plus they won't even be activated because of page priorities.

Now, have you checked whether 1 tile below the spike trap is passable? If it's not, the player won't be able to jump there and it will freeze. Also, the self-switch C is unnecessary, as you don't even have a page with that Condition checked. Change that instead to "self-switch A = OFF", which will make the event go back to page 1 and repeat if you step on the trap again.
 
Regi":2pp5p9k8 said:
First of all, you don't even need the 2nd and 4th event pages, their commands are redundant as you've already turned on self-switch A, plus they won't even be activated because of page priorities.

Now, have you checked whether 1 tile below the spike trap is passable? If it's not, the player won't be able to jump there and it will freeze. Also, the self-switch C is unnecessary, as you don't even have a page with that Condition checked. Change that instead to "self-switch A = OFF", which will make the event go back to page 1 and repeat if you step on the trap again.

Ah yes!  That worked perfectly, thank you!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top