0 Favourites

Grouping fragments into one sprite

  • Hello. Can I ask a little bit strange question? I'm designing a game for mobile devices so managing object is more important than desktop, right? Actually, my game now gets 40~50 fps with CJS but it contains only basic features. I'm gonna optimize it and this is where my question starts.

    There's many explosion things in my game. If you touch the screen, it explodes. and there are scraps and fragment, you know, and I wonder how to deal with these objects. Now I'm using 'particle' type, I just draw one of the fragments and 'particle' objects spread it all around, not that much, just 7~8, and then expired out. What I'm gonna try is to make whole animation of all the fragments in one sprite. It won't make randomness of particles but I think it would consume less memory, for it's just one sprite.

    What do you think? Would it be a good try?

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Take a look at using spriter if you want to use multiple objects in one sprite and animate them.

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