How do I create a global event for walking?

0 favourites
  • 5 posts
From the Asset Store
Globals 2.0
$3.99 USD
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • Hi folks, I'm really new to Construct 3.

    I added an event with which the Player is mirroring it self while pressing the left or right arrow. It works but when I go from the Level 1 of the game to the level 2, the script (event) stops to work.

    Is there a way to add this kind of global events to the whole game beside the Level I'm in?

    Thanks

  • Sounds like Level 2 is running off a different Event Sheet than Level 1? You can right click the event sheet Level 2 is using, and choose "Include event sheet", and choose the one that has your character movement Events/Actions.

    EDIT: Grammatical errors.

  • Thanks buddy. I thought like th ebest practice would be create an event sheet for each level but now i understand it's not the best idea. Thanks for your help!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks buddy. I thought like th ebest practice would be create an event sheet for each level but now i understand it's not the best idea. Thanks for your help!

    Sure thing. Happy I could help :). It depends on how you want to setup your project. Some of my projects I will have a "Main" Event Sheet, that includes the other Event Sheets. So I may have one Event Sheet that focuses on Player Movement, Interactions, etc. Then another Event Sheet that focuses on Enemies AI(movement, attacks, etc). Then another Event Sheet that houses my Functions. Then Include them in the Main Event Sheet which runs on each Layout. But, again, it depends on your own personal "house keeping"/organizational practices.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)