Hi everyone,

I want to write fractions in a little game. They are composed of 3 parts : a fraction bar, a sprite text for the numeratr and a sprite text for the denominator. At the beginning the denominator and the numerator are set relatively to the fraction bar thanks to two image points.

I'd want to start with a tutorial for the player. So the fraction would be small at the beginning and then would smoothly go to a point I specified and getting bigger and bigger during the movement. The movement is done and the scaling as well, but I have an issue with this one.

When the bar is getting bigger, its image is bigger and bigger but it seems that the image points doesn't move proportionnaly to the place they used to be : they stay at the same place !

tl;dr : I'd like to get bigger two objects where one is set relatively to a second thanks to image point system. How do I hold the porpotionnal distance between them ?