basic score computing
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://cayrxqnypoytu" path="res://scenes/table/table.tscn" id="35_r1bmu"]
|
||||
[ext_resource type="Texture2D" uid="uid://cl1a50j64nnlh" path="res://assets/decor/guest_page_held.png" id="36_62f45"]
|
||||
[ext_resource type="Texture2D" uid="uid://coahojeky8ul7" path="res://assets/decor/bell.png" id="37_6g32y"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgl8g5eqy8xm0" path="res://assets/decor/hand_bell.png" id="39_62f45"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_gkmcc"]
|
||||
random_pitch = 1.122462
|
||||
@@ -311,6 +312,44 @@ _data = {
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_62atk"]
|
||||
radius = 150.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_6g32y"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(131, 317.00003)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_62f45"]
|
||||
resource_name = "idle"
|
||||
length = 0.3
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:position")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.16666667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(131, 317.00003), Vector2(131, 478)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_6g32y"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_6g32y"),
|
||||
&"idle": SubResource("Animation_62f45")
|
||||
}
|
||||
|
||||
[node name="Main" type="Node2D" unique_id=875553242]
|
||||
script = ExtResource("1_7smn1")
|
||||
|
||||
@@ -331,13 +370,14 @@ texture = ExtResource("15_1k3ck")
|
||||
|
||||
[node name="Character" parent="." unique_id=138741531 instance=ExtResource("2_raeie")]
|
||||
|
||||
[node name="GameManager" type="Node" parent="." unique_id=528989100 node_paths=PackedStringArray("character", "guest_list", "mask_list")]
|
||||
[node name="GameManager" type="Node" parent="." unique_id=528989100 node_paths=PackedStringArray("character", "guest_list", "mask_list", "tables")]
|
||||
script = ExtResource("3_hxu8e")
|
||||
character_roster = Array[ExtResource("4_nvumn")]([ExtResource("5_ou6is"), ExtResource("6_necax"), ExtResource("7_r4lks"), ExtResource("8_pg34l")])
|
||||
mask_roster = Array[ExtResource("9_m4h2d")]([ExtResource("10_p8abn"), ExtResource("11_s17dp"), ExtResource("12_37hlw")])
|
||||
character = NodePath("../Character")
|
||||
guest_list = NodePath("../GuestList")
|
||||
mask_list = NodePath("../MaskList")
|
||||
tables = [NodePath("../Table"), NodePath("../Table2"), NodePath("../Table3")]
|
||||
lvl1_guest_1 = ExtResource("26_rofvo")
|
||||
lvl1_guest_2 = ExtResource("27_6w6mm")
|
||||
lvl2_guest_1 = ExtResource("28_r1bmu")
|
||||
@@ -369,13 +409,13 @@ shape = SubResource("RectangleShape2D_ya4ey")
|
||||
libraries/ = SubResource("AnimationLibrary_hxu8e")
|
||||
|
||||
[node name="Table" parent="." unique_id=1315188460 instance=ExtResource("35_r1bmu")]
|
||||
position = Vector2(2589, 56)
|
||||
position = Vector2(2711, 22)
|
||||
|
||||
[node name="Table2" parent="." unique_id=141765359 instance=ExtResource("35_r1bmu")]
|
||||
position = Vector2(2272, 285)
|
||||
position = Vector2(2029, 236)
|
||||
|
||||
[node name="Table3" parent="." unique_id=569701756 instance=ExtResource("35_r1bmu")]
|
||||
position = Vector2(3014, 285)
|
||||
position = Vector2(3430, 217)
|
||||
|
||||
[node name="Reception" type="Sprite2D" parent="." unique_id=96935292]
|
||||
position = Vector2(95, 156)
|
||||
@@ -383,6 +423,7 @@ scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("35_62f45")
|
||||
|
||||
[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)
|
||||
@@ -413,6 +454,15 @@ shape = SubResource("CircleShape2D_62atk")
|
||||
scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("37_6g32y")
|
||||
|
||||
[node name="RingBell" type="Sprite2D" parent="." unique_id=1001478580]
|
||||
position = Vector2(131, 317.00003)
|
||||
scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("39_62f45")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="RingBell" unique_id=1180701987]
|
||||
libraries/ = SubResource("AnimationLibrary_6g32y")
|
||||
autoplay = &"idle"
|
||||
|
||||
[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"]
|
||||
|
||||
Reference in New Issue
Block a user