Quick Check - is this normal (Having template type sprites off screen)?

0 favourites
  • 4 posts
From the Asset Store
Fruit Slicer Template & Quality fruit and slice graphics (capx,c3p,png,illustrator files)
  • Hi,

    I often have sprites, particle emitters and spriter animations 'off screen' like shown in the screenshot below.

    The reason is so they'll remember their settings for behaviours like sine, rotate. And so they'll remember their WxH settings.

    Is this the correct way to do this? Or is it better practice to bring them in programatically and set various settings in actions?

    Thanks!

    Tom

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Create a layout called object dumb and then have a global layer with all these objects on that you have on both screens.

    Check this out:

    youtube.com/watch

    -- Jerementor uses a global layer

  • The common practice is to store such objects on a separate unused layout, as LaurenceBedford suggested. They don't need to be on a global layer though. If you add a global layer with all these objects to your main game layout, you will end up with the same mess you have on your screenshot. So the idea is that you create such objects (like explosions etc.) only when needed and keep your layout nice and tidy.

  • Thanks guys!

    I've gone from the above to this:

    By using a separate layout for all the bits

    I hadn't realised objects put on one layout could be used on another in this way.

    Thanks

    Tom

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