Need Advanced "Change Image" Help
conrad74
Member Posts: 50
I have an actor, that when touched, needs to have the image change to another image. Problem is, the original image is smaller than the image I want to change it to. So, when I change the image to the new one, it shrinks in size to the same dimensions of the original image. Is there a way to change the image without this happening?
Comments
under the [Change Image]...add the [Change Attribute] self.size.Width = "new image width" and do same for Height
add in Otherwise: [Change Attribute] original Width and Height...and when touch is released original image size will be correct. (if you want to revert to it)
MH