-
Notifications
You must be signed in to change notification settings - Fork 0
/
mushroom.tscn
28 lines (23 loc) · 975 Bytes
/
mushroom.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[gd_scene load_steps=4 format=3 uid="uid://fvqr1wso03fc"]
[ext_resource type="Texture2D" uid="uid://sbmdfuadrd5y" path="res://images/pig_food.png" id="1_o1g63"]
[ext_resource type="Script" path="res://mushroom.gd" id="1_rardl"]
[sub_resource type="SpriteFrames" id="SpriteFrames_h4831"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_o1g63")
}],
"loop": true,
"name": &"Standard",
"speed": 5.0
}]
[node name="Mushroom" type="RigidBody2D"]
gravity_scale = 0.0
script = ExtResource("1_rardl")
[node name="FoodSprite" type="AnimatedSprite2D" parent="."]
position = Vector2(770, 47)
scale = Vector2(0.12, 0.12)
sprite_frames = SubResource("SpriteFrames_h4831")
animation = &"Standard"
[node name="FoodCollision" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array(738, 39, 740, 27, 744, 19, 751, 13, 770, 6, 790, 14, 801, 26, 804, 42, 797, 51, 792, 53, 784, 52, 780, 54, 781, 74, 776, 83, 762, 79, 761, 65, 760, 53, 753, 52, 744, 50)