mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-22 02:32:01 +00:00
this button too
This commit is contained in:
parent
14c7885f58
commit
7a648a8aeb
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 |
|
|
@ -259,6 +259,16 @@ class MainMenuGui extends GuiImage {
|
|||
js.Browser.window.open("https://marbleblastultra.randomityguy.me");
|
||||
}
|
||||
this.addChild(mbu);
|
||||
|
||||
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
|
||||
|
||||
#if js
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue