is it better too have....

0 favourites
  • 4 posts
From the Asset Store
High Quality Magical Sounds to make your game even better! :D
  • is it better too have 4 different prites of a variation of rocks (for background use )or is it better to have 1 sprite with 4 different animations ... Is one better to save memory ?

    question 2:

    Is it better to have 1 bigger image on which there are basicly 4 variations of a element...or is it better to have each elemnt seprated but smaller as image size ???

    thanks

  • I don't believe there is any difference in memory usage. It's a question of what's best for you in practice.

    On the second question, it really depends on the specifics of what you're doing. I could think of reasons why either could be best. You really have to give it a go and test it out.

    If you want to get a better ide of what affects performance, you should search tutorials and the manual. There's plenty of information. Understanding things that are known performance issues can help you make better coding decisions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • mariogamer

    Separate sprites would only be of benefit if you don't use all 4 variations in the same layout, as it would only load the sprites you need, but if you do use all 4 in the same layout then there is no difference in memory usage.

    As for multiple images in one file, I believe Construct 2 automatically puts smaller images onto a bigger one on export, so it's nothing you would really need to worry about. Just do whatever is easiest for you to import.

  • Thanks Guys

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