Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make changes to lobby (2024-Nov-29) #94

Merged
merged 17 commits into from
Nov 30, 2024
Prev Previous commit
update naming-related stuff
  • Loading branch information
UTheCat committed Nov 30, 2024
commit a8598f0b99f2a68d9b6f8e4c44ca0fc7a07e8605
2 changes: 1 addition & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ character_jump={
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
]
}
character_shift_lock={
character_fast_turn={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194325,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
]
Expand Down
4 changes: 2 additions & 2 deletions src/app/Players/Movement/FastTurnControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace JumpvalleyApp.Players.Movement
/// </summary>
public partial class FastTurnControl : Node, IDisposable
{
private static readonly string INPUT_MAP_SHIFT_LOCK = "character_shift_lock";
private static readonly string INPUT_MAP_FAST_TURN = "character_fast_turn";

private BaseMover _mover;

Expand Down Expand Up @@ -110,7 +110,7 @@ public void Update()

public override void _UnhandledInput(InputEvent @event)
{
if (Input.IsActionJustPressed(INPUT_MAP_SHIFT_LOCK))
if (Input.IsActionJustPressed(INPUT_MAP_FAST_TURN))
{
UserEnabledFastTurn = !UserEnabledFastTurn;
}
Expand Down