mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Add music / sound / setting buttons (dysfunctional)
This commit is contained in:
@@ -33,5 +33,11 @@ export class HUDGameMenu extends BaseHUDPart {
|
||||
binding.appendLabelToElement(button);
|
||||
}
|
||||
});
|
||||
|
||||
const menuButtons = makeDiv(this.element, null, ["menuButtons"]);
|
||||
|
||||
this.musicButton = makeDiv(menuButtons, null, ["button", "music"]);
|
||||
this.sfxButton = makeDiv(menuButtons, null, ["button", "sfx"]);
|
||||
this.settingsButton = makeDiv(menuButtons, null, ["button", "settings"]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ export const UPGRADES = {
|
||||
description: improvement => "Speed +" + Math.floor(improvement * 100.0) + "%",
|
||||
tiers: [
|
||||
{
|
||||
required: [{ shape: "RuRuRuRu", amount: 200 }],
|
||||
required: [{ shape: "SuSuSuSu", amount: 200 }],
|
||||
improvement: 1,
|
||||
},
|
||||
{
|
||||
@@ -99,7 +99,7 @@ export const UPGRADES = {
|
||||
description: improvement => "Speed +" + Math.floor(improvement * 100.0) + "%",
|
||||
tiers: [
|
||||
{
|
||||
required: [{ shape: "RuRuRuRu", amount: 200 }],
|
||||
required: [{ shape: "WuWuWuWu", amount: 200 }],
|
||||
improvement: 1,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user