sprite & memory ?

Get help using Construct 2

Post » Thu Apr 03, 2014 7:06 pm

Hi, just a small question...if I have one sprite, and I copy and paste it maaaany times...does this make slower the game if it is the same sprite ???


thanks:)
B
38
S
16
G
2
Posts: 459
Reputation: 4,914

Post » Thu Apr 03, 2014 10:20 pm

The short answer is yes :)

But your question is a bit double, it wont use more memory as the new objects are just copies of the one already there, so it doesn't use more memory for graphics at least. But if you want the sprite to do something, example collisions, if you have 10000 objects on the screen it would require more checks to test for collisions compared to if you have 10 objects. So it would reduce performance.
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Fri Apr 04, 2014 4:46 am

hi :) thanks... no, it is only to decorate the scene with more objects...
B
38
S
16
G
2
Posts: 459
Reputation: 4,914


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests