diff --git a/lib/game_clock/view.rb b/lib/game_clock/view.rb index 1f478f0..a380314 100644 --- a/lib/game_clock/view.rb +++ b/lib/game_clock/view.rb @@ -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 diff --git a/lib/states/editor.rb b/lib/states/editor.rb index 71a8df2..6c29fa6 100644 --- a/lib/states/editor.rb +++ b/lib/states/editor.rb @@ -94,7 +94,7 @@ class Editor < CyberarmEngine::GuiState page(TAC::Pages::DriveTeamRotationGenerator) end - button get_image("#{TAC::ROOT_PATH}/media/icons/trophy.png"), margin: 4, tip: "Game Clock", image_width: 1.0 do + button get_image("#{TAC::ROOT_PATH}/media/icons/custom_stopWatch.png"), margin: 4, tip: "Game Clock", image_width: 1.0 do page(TAC::Pages::GameClock) end diff --git a/media/background.png b/media/background.png index 30e289b..7f3c39f 100644 Binary files a/media/background.png and b/media/background.png differ diff --git a/media/background.svg b/media/background.svg index c959e66..e505c40 100644 --- a/media/background.svg +++ b/media/background.svg @@ -34,8 +34,8 @@ inkscape:snap-nodes="false" inkscape:snap-others="false" inkscape:zoom="0.35355339" - inkscape:cx="649.12403" - inkscape:cy="519.01638" + inkscape:cx="773.57482" + inkscape:cy="264.45794" inkscape:window-width="1920" inkscape:window-height="1011" inkscape:window-x="0" @@ -4892,1349 +4892,1353 @@ inkscape:groupmode="layer" id="layer2" inkscape:label="Layer 2"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/icons/custom_stopWatch.png b/media/icons/custom_stopWatch.png new file mode 100644 index 0000000..cfb5294 Binary files /dev/null and b/media/icons/custom_stopWatch.png differ diff --git a/media/icons/custom_stopWatch.svg b/media/icons/custom_stopWatch.svg new file mode 100644 index 0000000..e620d8f --- /dev/null +++ b/media/icons/custom_stopWatch.svg @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + +