Efficiency and size considerations

0 favourites
  • 3 posts
From the Asset Store
A versatile and wide-ranging selection of large to medium-sized creature sounds.
  • Hi,

    In terms of efficiency and size of project considerations, how significant is it to have more objects (sprites, text, etc) vs less? assuming the total number of images/texts is the same?

    For example, what are the implication for size and memory demands of running the same layout in two versions:

    1. having a single sprite object with 20 frames

    VS

    2. having 20 sprite objects with a single frame each

    And the same for many vs few Event sheets - what are the implications on the project.

    Thanks!

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Basically the performance, download size and memory usage of the project depends entirely on what kind of content you put in your project. See the manual guides on Performance tips, Memory usage and Download size.

    In general the same amount of content will have the same amount of download size/memory usage requirement. However in Construct specifically, its memory management loads or unloads entire objects in memory, including all animations and frames. So for example it's better to use multiple Sprite objects (and use Families to share logic) instead of one gigantic sprite that has everything in the game in it: then Construct can only load what you use. But if everything is used anyway, then there's no difference. And there's no point trying to go too far in the opposite direction - trying to make every single animation, or even every single frame, a separate Sprite object is just going to make your life harder for no real benefit. Just use a sensible design and it's probably fine.

  • Great, thanks for the detailed and prompt response!

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