P
ProjectJM
Guest
Is there a way to change a sprite but set its subimage where the current subimage is ?
I know that but there's another problem going on actually:image_index
By default, when you change the sprite_index of an object, it keeps the image_index it had before. So, for example, if you were on image_index 2, and then switched to a new sprite that has at least 3 images (remember, the first is 0), then the new sprite will start at image_index 2. If you are currently at a higher image_index than the new sprite has, it will reset to 0.