version update and download icon

This commit is contained in:
RandomityGuy 2024-07-21 13:02:53 +05:30
parent 3d065c116e
commit d275730b3e
6 changed files with 12 additions and 1 deletions

BIN
data/ui/menu/download_d.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
data/ui/menu/download_h.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
data/ui/menu/download_i.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
data/ui/menu/download_n.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -42,7 +42,7 @@ class MarbleGame {
static var instance:MarbleGame;
static var currentVersion = "1.6.0";
static var currentVersion = "1.6.1";
var world:MarbleWorld;

View file

@ -97,6 +97,7 @@ class MainMenuGui extends GuiImage {
}
mainMenuContent.addChild(optionsButton);
#if hl
var exitButton = new GuiButton(loadButtonImages("data/ui/menu/quit"));
exitButton.position = new Vector(-5, 388);
exitButton.extent = new Vector(247, 164);
@ -106,6 +107,16 @@ class MainMenuGui extends GuiImage {
#end
};
mainMenuContent.addChild(exitButton);
#end
#if js
var exitButton = new GuiButton(loadButtonImages("data/ui/menu/download"));
exitButton.position = new Vector(-5, 388);
exitButton.extent = new Vector(247, 164);
exitButton.pressedAction = (sender) -> {
js.Browser.window.open("https://github.com/RandomityGuy/MBHaxe");
};
mainMenuContent.addChild(exitButton);
#end
var replButton = new GuiButton(loadButtonImages("data/ui/menu/replay"));
replButton.horizSizing = Left;