Added icon for game clock, updated game clock background image, made game clock background image auto-scale to fit window

This commit is contained in:
2021-09-29 14:21:51 -05:00
parent 2948b02f12
commit 7b7efabaf6
6 changed files with 1471 additions and 1348 deletions

View File

@@ -159,7 +159,9 @@ module TAC
end
def draw
@background_image.draw(0, 0, -3)
background_image_scale = [window.width.to_f / @background_image.width, window.height.to_f / @background_image.height].max
@background_image.draw(0, 0, -3, background_image_scale, background_image_scale)
@particle_emitters.each(&:draw)
@clock.draw