35 lines
969 B
Plaintext
35 lines
969 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://bldekmt1rakjl"]
|
|
|
|
[ext_resource type="Script" uid="uid://dcdogfvb8xjod" path="res://Scripts/fruit.gd" id="1_o20pv"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hf2pu"]
|
|
size = Vector2(18, 18)
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_kum7e"]
|
|
size = Vector2(20, 20)
|
|
|
|
[node name="Fruit" type="Area2D" groups=["BlocksSpawn"]]
|
|
script = ExtResource("1_o20pv")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_hf2pu")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = SubResource("PlaceholderTexture2D_kum7e")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -11.5
|
|
offset_right = 20.0
|
|
offset_bottom = 11.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "1"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|