spites vs animations: memory usage

Discussion and feedback on Construct 2

Post » Sun Sep 02, 2012 6:21 am

I am in a position where I could use either individual sprites, or a single sprite with many animation frames, and have them spawn at their designated locations when needed.

I'm just curious whether or not there is likely to be any advantage is terms of memory size of my gamefile, and/or a difference is framerate resulting from the way the assets have been imported.

Thank you!
B
28
S
6
G
5
Posts: 248
Reputation: 5,463

Post » Sun Sep 02, 2012 6:36 am

Tom speaks of the use of spritesheets to optimize website loading time here.

This is, potentially, evidence that the use of animation frames in lieu of individual sprites may be advisable. Unless webpage loading times function differently than direct javascript/hmtl5 loadtimes? (sorry if that last bit is a tad miswritten - like that ).
B
28
S
6
G
5
Posts: 248
Reputation: 5,463

Post » Sun Sep 02, 2012 7:03 am

under the hood spritesheets in Construct 2

I apologize, I found the answer to my own question. I've read at least some of this blog entry before, I'm not sure why the knowledge didn't feel accessible.
B
28
S
6
G
5
Posts: 248
Reputation: 5,463

Post » Fri Sep 21, 2012 1:08 am

@teahousemoon, thanks for calling this out as it has yet to gel with me.
B
28
S
4
G
3
Posts: 70
Reputation: 4,879

Post » Fri Sep 21, 2012 1:28 am

I was hoping it would be useful in the forum search :)
B
28
S
6
G
5
Posts: 248
Reputation: 5,463


Return to Construct 2 General

Who is online

Users browsing this forum: Colludium, Psychokiller1888 and 9 guests