homework
This commit is contained in:
@@ -0,0 +1,148 @@
|
||||
[gd_scene format=3 uid="uid://nakihamef7l1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dybg0afpbxpkg" path="res://scene/code/Heal.gd" id="1_82j4g"]
|
||||
[ext_resource type="Texture2D" uid="uid://te0uvoqbi7jj" path="res://Free/Items/Fruits/Strawberry.png" id="2_yixqo"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b1ow3"]
|
||||
size = Vector2(13, 14)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kc8m2"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_emyej"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gjn4n"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_56keq"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3d8vp"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_r2jvb"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(160, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v2skh"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(192, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_oqdxu"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(224, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ndg4a"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(256, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_y4bmt"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(288, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nl7n0"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(320, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yca08"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(352, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yxlk6"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(384, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_udqs2"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(416, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ufnc5"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(448, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1bmdg"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(480, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5o3x7"]
|
||||
atlas = ExtResource("2_yixqo")
|
||||
region = Rect2(512, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_b1ow3"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kc8m2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_emyej")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gjn4n")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_56keq")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3d8vp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_r2jvb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v2skh")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_oqdxu")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ndg4a")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_y4bmt")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nl7n0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yca08")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yxlk6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_udqs2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ufnc5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1bmdg")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5o3x7")
|
||||
}],
|
||||
"loop": 2,
|
||||
"name": &"IDLE",
|
||||
"speed": 20.0
|
||||
}]
|
||||
|
||||
[node name="Heal" type="Area2D" unique_id=1381617533]
|
||||
collision_mask = 15
|
||||
script = ExtResource("1_82j4g")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1747320424]
|
||||
shape = SubResource("RectangleShape2D_b1ow3")
|
||||
|
||||
[node name="STRAW" type="AnimatedSprite2D" parent="." unique_id=1358826902]
|
||||
sprite_frames = SubResource("SpriteFrames_b1ow3")
|
||||
animation = &"IDLE"
|
||||
frame_progress = 0.7177162
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
Reference in New Issue
Block a user