mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
version update and download icon
This commit is contained in:
parent
3d065c116e
commit
d275730b3e
6 changed files with 12 additions and 1 deletions
BIN
data/ui/menu/download_d.png
Normal file
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
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
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
BIN
data/ui/menu/download_n.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
|
|
@ -42,7 +42,7 @@ class MarbleGame {
|
||||||
|
|
||||||
static var instance:MarbleGame;
|
static var instance:MarbleGame;
|
||||||
|
|
||||||
static var currentVersion = "1.6.0";
|
static var currentVersion = "1.6.1";
|
||||||
|
|
||||||
var world:MarbleWorld;
|
var world:MarbleWorld;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -97,6 +97,7 @@ class MainMenuGui extends GuiImage {
|
||||||
}
|
}
|
||||||
mainMenuContent.addChild(optionsButton);
|
mainMenuContent.addChild(optionsButton);
|
||||||
|
|
||||||
|
#if hl
|
||||||
var exitButton = new GuiButton(loadButtonImages("data/ui/menu/quit"));
|
var exitButton = new GuiButton(loadButtonImages("data/ui/menu/quit"));
|
||||||
exitButton.position = new Vector(-5, 388);
|
exitButton.position = new Vector(-5, 388);
|
||||||
exitButton.extent = new Vector(247, 164);
|
exitButton.extent = new Vector(247, 164);
|
||||||
|
|
@ -106,6 +107,16 @@ class MainMenuGui extends GuiImage {
|
||||||
#end
|
#end
|
||||||
};
|
};
|
||||||
mainMenuContent.addChild(exitButton);
|
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"));
|
var replButton = new GuiButton(loadButtonImages("data/ui/menu/replay"));
|
||||||
replButton.horizSizing = Left;
|
replButton.horizSizing = Left;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue