Does Every Layout Need its Own Event Sheet?

0 favourites
  • 9 posts
From the Asset Store
14 amazing sound files of game events like Level Ups, Level Completes, object spawn, object taking etc.
  • whatsup everybody,

    i need to know if every layer needs its own event sheet or can i incorperate existing event sheets to new Layers?

  • Yes, when you create it say no to "Create new event sheet" the select your layout in the project bar and on the properties bar on the left you should see a form name Event Sheet. Just select the one you want to use, like that you can use the same sheet for multiple layouts.

  • Billygoat Thanks man this information helps me out alot.I didnt want to go any further without knowing.thanks again

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Don't hesitate to also look into the include feature.

    And just a correction, I guess you meant layout, not layers.

  • Kyatric Thanks,

    That Include had me stumped yesterday,I did just figure that out not to long ago and it is awesome how it functions.I love how alot of the functions work on C2.This engine is a dream I just have so many questions about things.I also did mean Layouts im sorry about that,Im going to fix it right now.

  • Not only is it easier than writing an event sheet for each layout, but can make organizing better too.

    For example, spread the game engine over a few different event sheets, all interaction with the player in one, all collisions in another, etc. Makes working one things easier.

    Then make an event sheet for each layout level, with events specific to that level, and include the main game engine in that.

    Other tips: Put all your global variables in one event sheet, since they are global, it won't have to be included in any other sheet.

    You could also put all your functions in one sheet, (or two if you're function happy.)

  • Multiple event sheets and Include can make a world of difference in organizing and creating code for specific objects without accidentally messing with other events. I started using multiple sheets and includes and it's made things easier as I tend to make less mistakes.

    Groups can do this and be disabled too but all included sheets within that group would still be active, which is a slight advantage but easily gotten around by putting everything in 1 sheet in a master group for that sheet and disable that on command.

  • Paradox Thndr Awesome info guys,Thanks for that extra tidbit.I was wondering at first if i had to create seperate sheets for every level and it just didnt make sense.But that was yesterday and this is today,I am way smarter today thanks to the community.Once again thanks guys for the feedback

  • Don't hesitate to also look into the include feature.

    And just a correction, I guess you meant layout, not layers.

    ^-----this is super helpful. It adds a layer of abstraction. Really helpful.

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