aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/player/onscreen_controls/controls.gd4
-rw-r--r--client/player/onscreen_controls/controls.tscn5
2 files changed, 6 insertions, 3 deletions
diff --git a/client/player/onscreen_controls/controls.gd b/client/player/onscreen_controls/controls.gd
index 395f6665..be7fe67e 100644
--- a/client/player/onscreen_controls/controls.gd
+++ b/client/player/onscreen_controls/controls.gd
@@ -16,8 +16,8 @@
extends CanvasLayer
@onready var buttons = $Buttons
-@onready var boost = $Control/Boost
-@onready var interact = $Control/Interact
+@onready var boost = $Buttons/Boost
+@onready var interact = $Buttons/Interact
@onready var modulate_color = $MovementStick.pressed_color
func _ready():
diff --git a/client/player/onscreen_controls/controls.tscn b/client/player/onscreen_controls/controls.tscn
index 960a48b1..53acc922 100644
--- a/client/player/onscreen_controls/controls.tscn
+++ b/client/player/onscreen_controls/controls.tscn
@@ -9,8 +9,11 @@
script = ExtResource("1_rnoki")
[node name="MovementStick" parent="." instance=ExtResource("1_4k4lh")]
+modulate = Color(1, 1, 1, 0.752941)
+joystick_mode = 1
[node name="Buttons" type="Control" parent="."]
+modulate = Color(1, 1, 1, 0.752941)
layout_mode = 3
anchors_preset = 3
anchor_left = 1.0
@@ -28,7 +31,7 @@ scale = Vector2(0.5, 0.5)
texture_normal = ExtResource("2_i4ife")
[node name="Interact" type="TouchScreenButton" parent="Buttons"]
-position = Vector2(0, 150)
+position = Vector2(150, 150)
scale = Vector2(0.5, 0.5)
texture_normal = ExtResource("3_37rne")