sprite swap

Get help using Construct 2

Post » Fri Feb 03, 2012 12:12 am

Is there a way to change the image of a sprite without effecting the size of the sprite in any of the layouts. For example I have a 250x250 sprite and I want to change the image to a 125x125 image, but I don't want the size to change in the layouts, so the sprites would still be 250x250 in the layouts(just scaled up from 125x125)
B
8
S
3
G
2
Posts: 107
Reputation: 2,219

Post » Fri Feb 03, 2012 2:03 am

All I can think of is importing the smaller sprite and then size it on the layout larger (Or doing it with an event at startup.) You will loose graphics quality for that object though. you can scale the entire layer, but again, that is the entire layer.
B
192
S
6
G
7
Posts: 213
Reputation: 10,178

Post » Fri Feb 03, 2012 2:05 am

If you are making the change after the fact (I.E. The game is done, and you are down sizing images for the whole game) - I got no ideas...
B
192
S
6
G
7
Posts: 213
Reputation: 10,178

Post » Fri Feb 03, 2012 2:30 am

thanks, yeah its after the fact. A startup event might work though.
B
8
S
3
G
2
Posts: 107
Reputation: 2,219

Post » Fri Feb 03, 2012 4:15 am

Yea, I guess you could import all the images the same % smaller, then in startup increase layout or layer size... or image sizes... Hmmm... Good Luck
B
192
S
6
G
7
Posts: 213
Reputation: 10,178

Post » Thu Dec 12, 2013 6:35 pm

i'm facing the same situation, have to update same sprite across 20+ layouts and keeping them in old size, any new solution to this? :/
Doo Doo Diving App Store | Google Play

Donut Pirate App Store | Google Play
B
14
S
2
G
1
Posts: 193
Reputation: 1,483


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests