How do I arrange my project (Event Sheets) ?

0 favourites
  • 2 posts
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • I seem to be running into issues where the communication between layouts and events sheets is complicating things.

    My current project basically has a Main event sheet which gets run first and then event sheets for each layout which individually include the main event sheet.

    However I want my main event sheet to contain various utility functions that can be used anywhere but it seems that way I have arranged things I cannot do this.

    For example, a function in the main event sheet called from another layout stops functioning when I switch layouts..presumably because the include gets included again in the new layout effectively resetting the main event sheet.

    ANyway, this gets all very messy very quickly so I just wanted to know what is best practice.

    As far as I can see, one giant event sheet with everything might be best, or are there advantages that I can get from multiple event sheets?

    Or maybe the only thing broken here is that functions with waits and/or waits stop working when a layout is switched??!?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are a lot of assumptions here but yeah the issue is probably with adding waits inside your functions, not with the way you're including a global event sheet into other layouts.

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