sprite sheet for all sprite objects ?

Discussion and feedback on Construct 2

Post » Sat Jul 23, 2016 5:36 pm

I know there was talk of being able to use spritesheets in editor and create animations by referencing the spritesheet instead of splitting it up into separate frames/images, etc. I hope that kind of feature gets implemented, because it would make editing sprites a lot easier if I only had to work with one image instead of reimporting every frame.
B
43
S
19
G
65
Posts: 1,098
Reputation: 37,933

Post » Sat Jul 23, 2016 6:13 pm

mahdi71 wrote:@newt , @tunepunk
in a game you have alot of different sprites
let say you have 1 sprite with size of 300 * 300
and another with size of 300 * 100
and 2 sprite with size of 100 * 100
ok if you load each one : (the way wich construct 2 using now)
sprite1 = 512 * 512
sprite2 = 512 * 512
sprite 3,4 = (128* 128) 2X
- now the way wich i suggest :
pack sprite 1,2,3,4 to one 512 * 512 texture .
result : huge memory optimization


Sprite Sheeting only happens when you have multiple frames, and goes to the nearest power of 2. Are you saying you have an animation with 300x100, and100x100 frames?
If you have a bunch of odd sized textures you will not gain any bonus from sheets, as there will be more unused space that way.
Image ImageImage
B
168
S
50
G
169
Posts: 8,282
Reputation: 108,193

Post » Sat Jul 23, 2016 7:39 pm

newt wrote:
mahdi71 wrote:@newt , @tunepunk
in a game you have alot of different sprites
let say you have 1 sprite with size of 300 * 300
and another with size of 300 * 100
and 2 sprite with size of 100 * 100
ok if you load each one : (the way wich construct 2 using now)
sprite1 = 512 * 512
sprite2 = 512 * 512
sprite 3,4 = (128* 128) 2X
- now the way wich i suggest :
pack sprite 1,2,3,4 to one 512 * 512 texture .
result : huge memory optimization


Sprite Sheeting only happens when you have multiple frames, and goes to the nearest power of 2. Are you saying you have an animation with 300x100, and100x100 frames?
If you have a bunch of odd sized textures you will not gain any bonus from sheets, as there will be more unused space that way.

each sprite have 1 image.
no do you know images save on memory by power of 2 ?
so how can you say that ?
my example is very clear
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Sat Jul 23, 2016 9:12 pm

What you are saying isn't clear at all, but then again I already know you won't stop trying to argue about it.
I know that because my first response explained why it's not feasible for a completely different reason, and yet you keep posting the same thing.
Image ImageImage
B
168
S
50
G
169
Posts: 8,282
Reputation: 108,193

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests