mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-06-16 21:32:55 +00:00
this button too
This commit is contained in:
parent
bf77631b19
commit
3644deef7b
2 changed files with 10 additions and 0 deletions
BIN
data/ui/discord.png
Normal file
BIN
data/ui/discord.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
|
|
@ -227,6 +227,16 @@ class MainMenuGui extends GuiImage {
|
|||
js.Browser.window.open("https://marbleblast.randomityguy.me");
|
||||
}
|
||||
this.addChild(mbp);
|
||||
|
||||
var discord = new GuiButton(loadStaticButtonImages("data/ui/discord"));
|
||||
discord.horizSizing = Right;
|
||||
discord.vertSizing = Top;
|
||||
discord.position = new Vector(0, 320);
|
||||
discord.extent = new Vector(152, 60);
|
||||
discord.pressedAction = (sender) -> {
|
||||
js.Browser.window.open("https://discord.gg/q4JdnRbVhF");
|
||||
}
|
||||
this.addChild(discord);
|
||||
#end
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue