2020-10-30 19:41:15 +01:00
|
|
|
[gd_scene load_steps=8 format=2]
|
2020-03-18 16:20:55 +01:00
|
|
|
|
2020-10-26 19:15:47 +01:00
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1]
|
|
|
|
[ext_resource path="res://scenes/node.gd" type="Script" id=2]
|
2020-09-21 19:59:36 +02:00
|
|
|
[ext_resource path="res://nodes/blob.svg" type="Texture" id=3]
|
2020-10-26 19:15:47 +01:00
|
|
|
[ext_resource path="res://nodes/pop.wav" type="AudioStream" id=5]
|
|
|
|
[ext_resource path="res://scenes/drop_area.tscn" type="PackedScene" id=6]
|
|
|
|
|
2020-10-22 14:56:10 +02:00
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
|
|
radius = 23.6295
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id=2]
|
2020-09-21 19:28:39 +02:00
|
|
|
content_margin_left = 5.0
|
|
|
|
content_margin_right = 5.0
|
|
|
|
content_margin_top = 5.0
|
|
|
|
content_margin_bottom = 5.0
|
2020-10-22 14:56:10 +02:00
|
|
|
bg_color = Color( 0, 0, 0, 0.878431 )
|
2020-09-21 19:28:39 +02:00
|
|
|
corner_radius_top_left = 5
|
|
|
|
corner_radius_top_right = 5
|
|
|
|
corner_radius_bottom_right = 5
|
|
|
|
corner_radius_bottom_left = 5
|
|
|
|
|
2020-03-18 16:20:55 +01:00
|
|
|
[node name="Node" type="Node2D"]
|
2020-10-26 19:15:47 +01:00
|
|
|
script = ExtResource( 2 )
|
2020-03-18 16:20:55 +01:00
|
|
|
|
2020-09-29 17:05:04 +02:00
|
|
|
[node name="Arrows" type="Node2D" parent="."]
|
2020-10-29 16:59:46 +01:00
|
|
|
z_index = -1
|
2020-09-29 17:05:04 +02:00
|
|
|
|
2020-03-18 16:20:55 +01:00
|
|
|
[node name="Rect" type="ColorRect" parent="."]
|
2020-10-13 14:16:36 +02:00
|
|
|
visible = false
|
2020-09-01 21:25:24 +02:00
|
|
|
margin_left = -29.0
|
|
|
|
margin_top = -28.0
|
|
|
|
margin_right = 29.0
|
2020-09-21 19:59:36 +02:00
|
|
|
margin_bottom = 29.0
|
2020-10-13 14:16:36 +02:00
|
|
|
mouse_filter = 2
|
2020-09-21 19:59:36 +02:00
|
|
|
color = Color( 1, 1, 1, 0 )
|
2020-03-18 16:20:55 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-09-21 19:59:36 +02:00
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
|
|
scale = Vector2( 0.5, 0.5 )
|
|
|
|
texture = ExtResource( 3 )
|
|
|
|
|
2020-03-18 16:20:55 +01:00
|
|
|
[node name="ID" type="Label" parent="."]
|
2020-09-01 21:25:24 +02:00
|
|
|
visible = false
|
2020-09-03 18:10:09 +02:00
|
|
|
margin_left = -19.9265
|
|
|
|
margin_top = -12.0097
|
|
|
|
margin_right = 129.073
|
|
|
|
margin_bottom = 40.9903
|
2020-10-26 19:15:47 +01:00
|
|
|
custom_fonts/font = ExtResource( 1 )
|
2020-09-01 21:25:24 +02:00
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
2020-03-18 16:20:55 +01:00
|
|
|
text = "object_id"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-03-18 16:28:48 +01:00
|
|
|
|
2020-09-29 17:05:04 +02:00
|
|
|
[node name="Pop" type="AudioStreamPlayer2D" parent="."]
|
2020-10-26 19:15:47 +01:00
|
|
|
stream = ExtResource( 5 )
|
2020-09-29 17:05:04 +02:00
|
|
|
|
2020-10-26 19:15:47 +01:00
|
|
|
[node name="DropArea" parent="." instance=ExtResource( 6 )]
|
2020-10-22 14:56:10 +02:00
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="Content" type="Node2D" parent="."]
|
|
|
|
z_index = 1
|
|
|
|
|
|
|
|
[node name="ContentLabel" type="Label" parent="Content"]
|
2020-10-22 16:19:22 +02:00
|
|
|
visible = false
|
2020-10-27 16:53:19 +01:00
|
|
|
margin_left = -22.057
|
|
|
|
margin_top = 31.1738
|
|
|
|
margin_right = -12.057
|
|
|
|
margin_bottom = 66.1738
|
2020-10-22 14:56:10 +02:00
|
|
|
custom_styles/normal = SubResource( 2 )
|
2020-10-26 19:15:47 +01:00
|
|
|
custom_fonts/font = ExtResource( 1 )
|
2020-09-01 21:25:24 +02:00
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
2020-03-18 16:28:48 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-21 18:53:36 +02:00
|
|
|
[connection signal="mouse_entered" from="Rect" to="." method="_on_hover"]
|
|
|
|
[connection signal="mouse_exited" from="Rect" to="." method="_on_unhover"]
|
2020-10-13 14:16:36 +02:00
|
|
|
[connection signal="mouse_entered" from="Area2D" to="." method="_on_hover"]
|
|
|
|
[connection signal="mouse_exited" from="Area2D" to="." method="_on_unhover"]
|