mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 17:15:55 +00:00
Reticule cursor for gameplay
This commit is contained in:
parent
eae2b142f9
commit
b40f32bf5e
7 changed files with 76 additions and 8 deletions
|
|
@ -90,7 +90,7 @@ public partial class GameManager : Node2D
|
|||
}
|
||||
|
||||
|
||||
GlobalState.Instance.ResizeCursor();
|
||||
GlobalState.Instance.ChangeCursor(false);
|
||||
|
||||
if (GlobalState.Instance.SessionSettings.AllowSaving)
|
||||
{
|
||||
|
|
@ -359,17 +359,21 @@ public partial class GameManager : Node2D
|
|||
case GameState.Dialogue:
|
||||
case GameState.Shop:
|
||||
case GameState.Inventory:
|
||||
GlobalState.Instance.ChangeCursor(true);
|
||||
|
||||
GetTree().SetPause(true);
|
||||
//Input.MouseMode = Input.MouseModeEnum.Visible;
|
||||
break;
|
||||
case GameState.Playing:
|
||||
case GameState.Controlling:
|
||||
//Input.MouseMode = Input.MouseModeEnum.Confined;
|
||||
GlobalState.Instance.ChangeCursor(false);
|
||||
DelayedUnpause();
|
||||
//CallDeferred(MethodName.DelayedUnpause);
|
||||
//GetTree().SetPause(false);
|
||||
break;
|
||||
case GameState.Menu:
|
||||
GlobalState.Instance.ChangeCursor(true);
|
||||
//Input.MouseMode = Input.MouseModeEnum.Visible;
|
||||
DelayedUnpause();
|
||||
//CallDeferred(MethodName.DelayedUnpause);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue