few UX improvements
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dj267xgqniy2i" path="res://assets/decor/table_item_a_2.png" id="43_jucdw"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4u3o7fyryxxq" path="res://assets/decor/table_item_a.png" id="44_6miv3"]
|
||||
[ext_resource type="Texture2D" uid="uid://c3jx3y0mbueoo" path="res://assets/ui/arrow_004.png" id="47_6miv3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgrudt5ev651p" path="res://assets/ui/arrow_001.png" id="52_yisfj"]
|
||||
[ext_resource type="PackedScene" uid="uid://xwccasmeo5cy" path="res://scenes/arrow/arrow.tscn" id="52_ftp6y"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_gkmcc"]
|
||||
random_pitch = 1.122462
|
||||
@@ -97,9 +97,6 @@ Vector2i(-1, -1): {
|
||||
}
|
||||
}
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ya4ey"]
|
||||
size = Vector2(512, 1080)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_7smn1"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
@@ -393,44 +390,6 @@ _data = {
|
||||
&"idle": SubResource("Animation_62f45")
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ftp6y"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0.5, 0.5)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pd34m"]
|
||||
resource_name = "idle"
|
||||
length = 2.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:scale")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0.5, 0.5), Vector2(0.4, 0.4)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qjyke"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_ftp6y"),
|
||||
&"idle": SubResource("Animation_pd34m")
|
||||
}
|
||||
|
||||
[node name="Main" type="Node2D" unique_id=875553242]
|
||||
script = ExtResource("1_7smn1")
|
||||
|
||||
@@ -467,6 +426,7 @@ lvl2_guest_2 = ExtResource("37_yisfj")
|
||||
lvl3_guest_1 = ExtResource("33_f4j1x")
|
||||
lvl3_guest_2 = ExtResource("29_62f45")
|
||||
lvl3_guest_3 = ExtResource("27_6w6mm")
|
||||
dual_mask_probability = 0.1
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=1166192115]
|
||||
limit_left = -960
|
||||
@@ -478,18 +438,6 @@ position_smoothing_speed = 10.0
|
||||
script = ExtResource("14_0bhws")
|
||||
pan_speed = 16.04
|
||||
|
||||
[node name="PanRight" type="Area2D" parent="Camera2D" unique_id=1684320772]
|
||||
position = Vector2(960, 0)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Camera2D/PanRight" unique_id=1733069282]
|
||||
shape = SubResource("RectangleShape2D_ya4ey")
|
||||
|
||||
[node name="PanLeft" type="Area2D" parent="Camera2D" unique_id=1942262155]
|
||||
position = Vector2(-960, 0)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Camera2D/PanLeft" unique_id=77276628]
|
||||
shape = SubResource("RectangleShape2D_ya4ey")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1813843404]
|
||||
libraries/ = SubResource("AnimationLibrary_hxu8e")
|
||||
|
||||
@@ -497,7 +445,7 @@ libraries/ = SubResource("AnimationLibrary_hxu8e")
|
||||
position = Vector2(2711, 22)
|
||||
|
||||
[node name="Table2" parent="." unique_id=141765359 instance=ExtResource("35_r1bmu")]
|
||||
position = Vector2(2029, 236)
|
||||
position = Vector2(2017, 236)
|
||||
|
||||
[node name="Table3" parent="." unique_id=569701756 instance=ExtResource("35_r1bmu")]
|
||||
position = Vector2(3430, 217)
|
||||
@@ -518,6 +466,7 @@ scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("44_6miv3")
|
||||
|
||||
[node name="MaskList" parent="." unique_id=437192154 instance=ExtResource("25_6llfj")]
|
||||
visible = false
|
||||
position = Vector2(409, 523)
|
||||
rotation = 0.1675516
|
||||
scale = Vector2(0.99999994, 0.99999994)
|
||||
@@ -539,6 +488,7 @@ scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("47_6miv3")
|
||||
|
||||
[node name="GuestList" parent="." unique_id=2089675317 instance=ExtResource("25_6llfj")]
|
||||
visible = false
|
||||
position = Vector2(-409, 523)
|
||||
rotation = -0.16732943
|
||||
|
||||
@@ -578,32 +528,16 @@ texture = ExtResource("39_62f45")
|
||||
libraries/ = SubResource("AnimationLibrary_6g32y")
|
||||
autoplay = &"idle"
|
||||
|
||||
[node name="Arrow001" type="Sprite2D" parent="." unique_id=2051768141]
|
||||
[node name="ArrowRight" parent="." unique_id=774581185 instance=ExtResource("52_ftp6y")]
|
||||
position = Vector2(828, 7)
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("52_yisfj")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Arrow001" unique_id=23670381]
|
||||
libraries/ = SubResource("AnimationLibrary_qjyke")
|
||||
autoplay = &"idle"
|
||||
|
||||
[node name="Arrow002" type="Sprite2D" parent="." unique_id=557480206]
|
||||
position = Vector2(1631.9999, 4.9999995)
|
||||
[node name="ArrowLeft" parent="." unique_id=1884209541 instance=ExtResource("52_ftp6y")]
|
||||
position = Vector2(1810, -241)
|
||||
rotation = 3.1415927
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("52_yisfj")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Arrow002" unique_id=1862466503]
|
||||
libraries/ = SubResource("AnimationLibrary_qjyke")
|
||||
autoplay = &"idle"
|
||||
|
||||
[connection signal="defeat_noise" from="GameManager" to="." method="_on_game_manager_defeat_noise"]
|
||||
[connection signal="ring_bell_noise" from="GameManager" to="." method="_on_game_manager_ring_bell_noise"]
|
||||
[connection signal="victory_noise" from="GameManager" to="." method="_on_game_manager_victory_noise"]
|
||||
[connection signal="mouse_entered" from="Camera2D/PanRight" to="Camera2D" method="_on_pan_right_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="Camera2D/PanRight" to="Camera2D" method="_on_pan_right_mouse_exited"]
|
||||
[connection signal="mouse_entered" from="Camera2D/PanLeft" to="Camera2D" method="_on_pan_left_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="Camera2D/PanLeft" to="Camera2D" method="_on_pan_left_mouse_exited"]
|
||||
[connection signal="seat_clicked" from="Table" to="GameManager" method="on_seat_clicked"]
|
||||
[connection signal="seat_clicked" from="Table2" to="GameManager" method="on_seat_clicked"]
|
||||
[connection signal="seat_clicked" from="Table3" to="GameManager" method="on_seat_clicked"]
|
||||
@@ -616,3 +550,5 @@ autoplay = &"idle"
|
||||
[connection signal="input_event" from="ReadyBell" to="GameManager" method="_on_ready_bell_input_event"]
|
||||
[connection signal="mouse_entered" from="ReadyBell" to="ReadyBell" method="_on_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="ReadyBell" to="ReadyBell" method="_on_mouse_exited"]
|
||||
[connection signal="on_clicked" from="ArrowRight" to="Camera2D" method="_on_arrow_right_on_clicked"]
|
||||
[connection signal="on_clicked" from="ArrowLeft" to="Camera2D" method="_on_arrow_left_on_clicked"]
|
||||
|
||||
Reference in New Issue
Block a user