nasaonacid / abstractAardvark

0 stars 0 forks source link

Scaling issues - Completion message #41

Closed nasaonacid closed 9 years ago

nasaonacid commented 9 years ago

The location and width of the completion state box will change dependant on resizes during the game meaning in certain instances it will be in the incorrect place and will be the incorrect size.

nasaonacid commented 9 years ago

Fixed. Issue was due to the way the stage scales. The stage scales but unbeknownst to me coordinates also scale. As the drawing functions we using the scaled width and height for the draw the items were drawn in varying ways. Fixed by using the originalWidth and height