feat : mobile input controller
This commit is contained in:
+47
-51
@@ -113,7 +113,7 @@ auto_randomize = true
|
||||
start_item = 2
|
||||
end_item = 3
|
||||
immutable_items = Array[int]([4])
|
||||
metadata/_editor_floor_ = Vector3(0, 0, 0)
|
||||
metadata/_editor_floor_ = Vector3(0, 5, 0)
|
||||
|
||||
[node name="Camera3D200" type="Camera3D" parent="." unique_id=1763366951]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.5077037, 0.86153173, 0, -0.86153173, 0.5077037, 7, 32.3, 25.8)
|
||||
@@ -1245,13 +1245,13 @@ clip_contents = true
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -285.99988
|
||||
offset_top = 96.000015
|
||||
offset_right = 174.00012
|
||||
offset_bottom = 611.0
|
||||
offset_left = -252.0
|
||||
offset_top = 90.0
|
||||
offset_right = 208.0
|
||||
offset_bottom = 733.0
|
||||
grow_horizontal = 0
|
||||
rotation = 0.10297442
|
||||
scale = Vector2(0.6, 0.6)
|
||||
scale = Vector2(0.5, 0.5)
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_c6pm6")
|
||||
@@ -1609,8 +1609,23 @@ layout_mode = 2
|
||||
custom_minimum_size = Vector2(25, 25)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PowerUpInventoryUI" type="Control" parent="." unique_id=1105620089]
|
||||
[node name="TouchLayer" type="CanvasLayer" parent="." unique_id=1234512345]
|
||||
layer = 103
|
||||
|
||||
[node name="TouchControls" type="Control" parent="TouchLayer" unique_id=1539594058]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 318.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme = ExtResource("18_pm3ni")
|
||||
script = ExtResource("touch_manager")
|
||||
|
||||
[node name="PowerUpInventoryUI" type="Control" parent="TouchLayer/TouchControls" unique_id=1105620089]
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
@@ -1626,54 +1641,25 @@ rotation = -0.10297442
|
||||
theme = ExtResource("18_pm3ni")
|
||||
script = ExtResource("powerup_ui_script")
|
||||
|
||||
[node name="PowerUpBtn" type="Button" parent="PowerUpInventoryUI" unique_id=1549270030]
|
||||
layout_mode = 0
|
||||
offset_left = 0.78915405
|
||||
offset_top = 2.0920486
|
||||
offset_right = 76.5548
|
||||
offset_bottom = 79.51765
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
focus_mode = 0
|
||||
icon = ExtResource("26_2f3dj")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="TouchLayer" type="CanvasLayer" parent="." unique_id=1234512345]
|
||||
|
||||
[node name="TouchControls" type="Control" parent="TouchLayer" unique_id=1539594058]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 318.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme = ExtResource("18_pm3ni")
|
||||
script = ExtResource("touch_manager")
|
||||
|
||||
[node name="VirtualJoystick" type="Control" parent="TouchLayer/TouchControls" unique_id=1983608919]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 120.0
|
||||
offset_top = -280.0
|
||||
offset_right = 280.0
|
||||
offset_bottom = -120.0
|
||||
offset_left = 58.0
|
||||
offset_top = -285.0
|
||||
offset_right = 311.0
|
||||
offset_bottom = -32.0
|
||||
grow_vertical = 0
|
||||
script = ExtResource("virtual_joystick")
|
||||
|
||||
[node name="PowerBarBtn" type="VBoxContainer" parent="TouchLayer/TouchControls" unique_id=278736451]
|
||||
layout_mode = 0
|
||||
offset_left = 56.0
|
||||
offset_top = 117.44364
|
||||
offset_right = 138.0
|
||||
offset_bottom = 284.44363
|
||||
rotation = -0.10297442
|
||||
offset_left = 1084.0
|
||||
offset_top = 169.00003
|
||||
offset_right = 1166.0
|
||||
offset_bottom = 336.00003
|
||||
rotation = 0.10297442
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="AttackModeBtn" type="Button" parent="TouchLayer/TouchControls/PowerBarBtn" unique_id=1380511463]
|
||||
@@ -1697,11 +1683,11 @@ expand_icon = true
|
||||
|
||||
[node name="InteractionBtn" type="VBoxContainer" parent="TouchLayer/TouchControls" unique_id=1738242916]
|
||||
layout_mode = 0
|
||||
offset_left = 138.0
|
||||
offset_top = 116.0
|
||||
offset_right = 215.3921
|
||||
offset_bottom = 190.84177
|
||||
rotation = -0.10297442
|
||||
offset_left = 1187.9999
|
||||
offset_top = 179.0
|
||||
offset_right = 1265.392
|
||||
offset_bottom = 345.9999
|
||||
rotation = 0.10297442
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="GrabBtn" type="Button" parent="TouchLayer/TouchControls/InteractionBtn" unique_id=914810452]
|
||||
@@ -1725,6 +1711,16 @@ flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="PowerUpBtn" type="Button" parent="TouchLayer/TouchControls/InteractionBtn" unique_id=1549270030]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
focus_mode = 0
|
||||
icon = ExtResource("26_2f3dj")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="PauseMenu" type="CanvasLayer" parent="." unique_id=181131829]
|
||||
process_mode = 3
|
||||
layer = 1002
|
||||
@@ -1818,7 +1814,7 @@ text = "Quit Match"
|
||||
|
||||
[node name="HowToPlayPanel" type="CanvasLayer" parent="." unique_id=123456789]
|
||||
process_mode = 3
|
||||
layer = 11
|
||||
layer = 102
|
||||
visible = false
|
||||
|
||||
[node name="Background" type="ColorRect" parent="HowToPlayPanel" unique_id=123456790]
|
||||
|
||||
Reference in New Issue
Block a user