Fix Character help controls menu (#166)

This commit is contained in:
BCTIX
2023-07-03 13:26:07 +02:00
committed by GitHub
parent 8ed4370943
commit 7c97d03289
@@ -14,7 +14,8 @@ class HelpControls extends UISubstateWindow
super.create();
var helpText = new UIText(windowSpr.x + 25, windowSpr.y + 240, -1, "Left/Right/Up/Down Arrow: To change the offset of the current\nplaying animation.\n
var helpText = new UIText(windowSpr.x + 25, windowSpr.y + 45, -1, "Left/Right/Up/Down Arrow: To change the offset of the current\nplaying animation.\n
W/A/S/D: To move the camera.\n
Left mouse button on the character: Change character's position.\nK to change to prev anim, L to change to new anim
Space to play animation
@@ -22,7 +23,7 @@ I to zoom in
O to zoom out", 24);
add(helpText);
var closeButton = new UIButton(helpText.x, helpText.y + 160, "Close", function()
var closeButton = new UIButton(helpText.x, windowSpr.y + 500, "Close", function()
{
close();
});