i’m having some problems with resizing images, just because i want to use 2 kind of resolutions, one to use in iPhone, and the other with retina display.
I have one mainstack "flyPig" with a card "game_on" (320x460px)
and a substack "FlyPig_high" with a card "game_on_high" (640x920px)
i’m using this
Code: Select all
on preopenStack
if iphoneDeviceScale() = 2 then
go to card "game_on_high" of stack "FlyPig_high"
end if
end preopenStack
then a try put the card "game_on_high" (640x920px) into mainstack "flyPig" resizing the mainstack
Code: Select all
on preopenStack
if iphoneDeviceScale() = 2 then
go to card "game_on_high"
end if
end preopenStack
can anyone help me?
Thanks