How to zoom and keed the hud on the right position. Help with mathmatics...
Hello.
I already watched the excelent tshirtbooth video about how to zoom and keep the hud on the right position, but the problem is that I'm not going to zoom from 480x320 to 960x640 as explaing in the video.

I want to zoom from 480x320 to 550x367 ( a small zoom) when a button is touched... What I don't know is what kind of calculation I do now to get exactley the position and size for the hud to keep them in the right position?
I already watched the excelent tshirtbooth video about how to zoom and keep the hud on the right position, but the problem is that I'm not going to zoom from 480x320 to 960x640 as explaing in the video.

I want to zoom from 480x320 to 550x367 ( a small zoom) when a button is touched... What I don't know is what kind of calculation I do now to get exactley the position and size for the hud to keep them in the right position?
Comments
self.mywidth*550/480