How do I use images efficiently

Get help using Construct 2

Post » Fri Oct 03, 2014 10:46 am

What is more memory and speed efficient, 50 images in one animation object and referenced by frame number or 50 seperate PNG images? In case of creating a puzzle, i use now 2 animations for placement of the puzzle pieces. Then when overlap occures i compare the animation frames of the one on the background and the one dragged over. Is that the way to go?

Thanks for your help.
B
3
Posts: 2
Reputation: 204

Post » Fri Oct 03, 2014 12:39 pm

I don't think there are any different really. 50 images are 50 images. You could probably argue that making 50 individually images would have a bigger impact since it would have to take the objects into account, but I think that would be such a little impact that it would be a lot more efficient to just reduce the image size by 1 pixel.

Anyway not 100% sure, its just what I think :D

Then when overlap occures i compare the animation frames of the one on the background and the one dragged over. Is that the way to go?

Yeah that should work fine.
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Fri Oct 03, 2014 2:38 pm

Cool, thanks :)
B
3
Posts: 2
Reputation: 204


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests