The-Church-of-Daniel-Pham / TankInfinity

Tank Infinity is a simple tank game made with LibGDX
MIT License
2 stars 1 forks source link

darken scale #10

Closed samuelyhunter closed 6 years ago

samuelyhunter commented 6 years ago

black image to darken background when paused does not scale correctly. due to viewport resizing it down, as if it were an actor in the level

samuelyhunter commented 6 years ago

fixed - float was being applied after division of 2 integers was already rounded (for scaling). now numerator int is cast to a float before dividing