1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-22 07:44:17 +00:00

coal_diamond_converter

This commit is contained in:
Matteo Balugani 2023-10-02 20:16:37 +02:00
parent e74fdba486
commit cc0f88b030

View file

@ -70,15 +70,11 @@ size = Vector2(26, 5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jeo5f"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_jeo5f"]
size = Vector2(26, 10) size = Vector2(26, 10)
[node name="CoalDiamondConverter" type="StaticBody2D" node_paths=PackedStringArray("sprite_front", "conversion_timer", "sound_working", "sound_complete", "spawner")] [node name="CoalDiamondConverter" type="StaticBody2D" node_paths=PackedStringArray("spawner")]
scale = Vector2(3, 3) scale = Vector2(3, 3)
collision_layer = 8 collision_layer = 8
collision_mask = 0 collision_mask = 0
script = ExtResource("1_mf1ls") script = ExtResource("1_mf1ls")
sprite_front = NodePath("")
conversion_timer = NodePath("")
sound_working = NodePath("")
sound_complete = NodePath("")
spawner = NodePath("") spawner = NodePath("")
[node name="SpriteBack" type="Sprite2D" parent="."] [node name="SpriteBack" type="Sprite2D" parent="."]
@ -90,7 +86,7 @@ texture = ExtResource("2_nj8gd")
z_index = 2 z_index = 2
texture_filter = 1 texture_filter = 1
sprite_frames = SubResource("SpriteFrames_4m3dg") sprite_frames = SubResource("SpriteFrames_4m3dg")
frame_progress = 0.6883 frame_progress = 0.944486
[node name="LeftWall" type="CollisionShape2D" parent="."] [node name="LeftWall" type="CollisionShape2D" parent="."]
z_index = 2 z_index = 2
@ -108,10 +104,9 @@ position = Vector2(0, 4.5)
rotation = 3.14159 rotation = 3.14159
shape = SubResource("RectangleShape2D_31dtl") shape = SubResource("RectangleShape2D_31dtl")
[node name="Collector" parent="." node_paths=PackedStringArray("sound_absorb") instance=ExtResource("7_rxm8j")] [node name="Collector" parent="." instance=ExtResource("7_rxm8j")]
z_index = 2 z_index = 2
collecting_types = Array[StringName]([&"Copper"]) collecting_types = Array[StringName]([&"Copper"])
sound_absorb = NodePath("")
collecting_amount = 10 collecting_amount = 10
[node name="CollectShape" type="CollisionShape2D" parent="Collector"] [node name="CollectShape" type="CollisionShape2D" parent="Collector"]