is it better too have....

Get help using Construct 2

Post » Sun Aug 24, 2014 12:16 pm

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 :)
B
37
S
16
G
2
Posts: 447
Reputation: 4,865

Post » Sun Aug 24, 2014 2:14 pm

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.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Sun Aug 24, 2014 2:24 pm

@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.
Vote for all the Construct 2 games on Steam Greenlight - Find them here
B
33
S
9
G
7
Posts: 450
Reputation: 6,778

Post » Sun Aug 24, 2014 4:21 pm

Thanks Guys :) very helpful :)
B
37
S
16
G
2
Posts: 447
Reputation: 4,865


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 20 guests