mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-18 01:06:47 +01:00
Now the TurnPanel and TouchPad's size is a lot smaller, this makes tap targeting a lot simpler, and more intuitive. (Eventually I will probably go back to the original plan, revert the size but add clickthrough support.)
This commit is contained in:
parent
468284fc60
commit
0e453670ff
@ -47,7 +47,6 @@ transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0
|
|||||||
[node name="Model" type="Spatial" parent="Body/Rotation_Helper"]
|
[node name="Model" type="Spatial" parent="Body/Rotation_Helper"]
|
||||||
|
|
||||||
[node name="character" parent="Body/Rotation_Helper/Model" instance=ExtResource( 1 )]
|
[node name="character" parent="Body/Rotation_Helper/Model" instance=ExtResource( 1 )]
|
||||||
refresh_in_editor = false
|
|
||||||
|
|
||||||
[node name="GUILayer" parent="." instance=ExtResource( 3 )]
|
[node name="GUILayer" parent="." instance=ExtResource( 3 )]
|
||||||
[connection signal="onc_open_loot_winow_request" from="." to="GUILayer" method="_on_Player_onc_open_loot_winow_request"]
|
[connection signal="onc_open_loot_winow_request" from="." to="GUILayer" method="_on_Player_onc_open_loot_winow_request"]
|
||||||
|
@ -90,7 +90,6 @@ __meta__ = {
|
|||||||
|
|
||||||
[node name="Analog" parent="GUI/TouchTargetControls/HBoxContainer/TargetPad" instance=ExtResource( 13 )]
|
[node name="Analog" parent="GUI/TouchTargetControls/HBoxContainer/TargetPad" instance=ExtResource( 13 )]
|
||||||
position = Vector2( 40, 30 )
|
position = Vector2( 40, 30 )
|
||||||
listenerNodePath = NodePath("../../../../../..")
|
|
||||||
padname = "TargetPad"
|
padname = "TargetPad"
|
||||||
|
|
||||||
[node name="TouchMovementControls" type="MarginContainer" parent="GUI"]
|
[node name="TouchMovementControls" type="MarginContainer" parent="GUI"]
|
||||||
@ -115,39 +114,70 @@ mouse_filter = 2
|
|||||||
size_flags_horizontal = 7
|
size_flags_horizontal = 7
|
||||||
size_flags_vertical = 7
|
size_flags_vertical = 7
|
||||||
|
|
||||||
[node name="TouchPad" type="Control" parent="GUI/TouchMovementControls/HBoxContainer"]
|
[node name="VBoxContainer" type="VBoxContainer" parent="GUI/TouchMovementControls/HBoxContainer"]
|
||||||
margin_right = 203.0
|
margin_right = 244.0
|
||||||
|
margin_bottom = 350.0
|
||||||
|
mouse_filter = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="Control" type="Control" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer"]
|
||||||
|
margin_right = 244.0
|
||||||
|
margin_bottom = 171.0
|
||||||
|
mouse_filter = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="TouchPad" type="Control" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer"]
|
||||||
|
margin_top = 179.0
|
||||||
|
margin_right = 244.0
|
||||||
margin_bottom = 350.0
|
margin_bottom = 350.0
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
size_flags_horizontal = 15
|
size_flags_horizontal = 15
|
||||||
size_flags_vertical = 15
|
size_flags_vertical = 15
|
||||||
|
|
||||||
[node name="Analog" parent="GUI/TouchMovementControls/HBoxContainer/TouchPad" instance=ExtResource( 13 )]
|
[node name="Analog" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer/TouchPad" instance=ExtResource( 13 )]
|
||||||
position = Vector2( 100, 290 )
|
position = Vector2( 100, 290 )
|
||||||
listenerNodePath = NodePath("../../../../../..")
|
|
||||||
padname = "TouchPad"
|
padname = "TouchPad"
|
||||||
|
|
||||||
[node name="Control" type="Control" parent="GUI/TouchMovementControls/HBoxContainer"]
|
[node name="Control" type="Control" parent="GUI/TouchMovementControls/HBoxContainer"]
|
||||||
margin_left = 207.0
|
anchor_left = -0.00231481
|
||||||
margin_right = 533.0
|
anchor_right = -0.00231481
|
||||||
|
margin_left = 248.0
|
||||||
|
margin_right = 614.0
|
||||||
margin_bottom = 350.0
|
margin_bottom = 350.0
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
size_flags_horizontal = 15
|
size_flags_horizontal = 15
|
||||||
size_flags_vertical = 15
|
size_flags_vertical = 15
|
||||||
size_flags_stretch_ratio = 1.6
|
size_flags_stretch_ratio = 1.5
|
||||||
|
|
||||||
[node name="TurnPanel" type="Control" parent="GUI/TouchMovementControls/HBoxContainer"]
|
[node name="VBoxContainer2" type="VBoxContainer" parent="GUI/TouchMovementControls/HBoxContainer"]
|
||||||
margin_left = 537.0
|
margin_left = 618.0
|
||||||
margin_right = 864.0
|
margin_right = 864.0
|
||||||
margin_bottom = 350.0
|
margin_bottom = 350.0
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="Control" type="Control" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer2"]
|
||||||
|
margin_right = 246.0
|
||||||
|
margin_bottom = 131.0
|
||||||
|
mouse_filter = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="TurnPanel" type="Control" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer2"]
|
||||||
|
margin_top = 139.0
|
||||||
|
margin_right = 246.0
|
||||||
|
margin_bottom = 350.0
|
||||||
|
mouse_filter = 2
|
||||||
size_flags_horizontal = 15
|
size_flags_horizontal = 15
|
||||||
size_flags_vertical = 15
|
size_flags_vertical = 15
|
||||||
size_flags_stretch_ratio = 1.6
|
size_flags_stretch_ratio = 1.6
|
||||||
|
|
||||||
[node name="Node2D" type="Node2D" parent="GUI/TouchMovementControls/HBoxContainer/TurnPanel"]
|
[node name="Node2D" type="Node2D" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer2/TurnPanel"]
|
||||||
position = Vector2( -600, -200 )
|
position = Vector2( -600, -200 )
|
||||||
script = ExtResource( 7 )
|
script = ExtResource( 7 )
|
||||||
|
listenerNodePath = "../../../../../../.."
|
||||||
|
|
||||||
[node name="Buttons" type="Control" parent="GUI"]
|
[node name="Buttons" type="Control" parent="GUI"]
|
||||||
anchor_left = 0.5
|
anchor_left = 0.5
|
||||||
|
@ -2,7 +2,7 @@ extends Node2D
|
|||||||
|
|
||||||
const INACTIVE_IDX = -1;
|
const INACTIVE_IDX = -1;
|
||||||
|
|
||||||
export (NodePath) var listenerNodePath : NodePath = "../../../../../.."
|
export (String) var listenerNodePath : String = "../../../../../.."
|
||||||
export (String) var padname : String = ""
|
export (String) var padname : String = ""
|
||||||
|
|
||||||
var parent : Control
|
var parent : Control
|
||||||
|
@ -4,7 +4,7 @@ extends Node2D
|
|||||||
|
|
||||||
const INACTIVE_IDX = -1;
|
const INACTIVE_IDX = -1;
|
||||||
export var isDynamicallyShowing = false
|
export var isDynamicallyShowing = false
|
||||||
export (NodePath) var listenerNodePath : NodePath = "/root/game/player"
|
export (String) var listenerNodePath : String = "../../../../../../.."
|
||||||
export var padname = ""
|
export var padname = ""
|
||||||
|
|
||||||
var ball
|
var ball
|
||||||
|
Loading…
Reference in New Issue
Block a user