2020-10-05 16:34:41 +00:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2020-10-03 01:20:01 +00:00
|
|
|
|
2020-10-05 13:14:17 +00:00
|
|
|
[ext_resource path="res://Sprites/Gatto/Donut.tres" type="SpriteFrames" id=1]
|
2020-10-04 14:35:24 +00:00
|
|
|
[ext_resource path="res://Objects/SpecialObjects/Player.gd" type="Script" id=2]
|
2020-10-05 13:14:17 +00:00
|
|
|
[ext_resource path="res://Sprites/Gatto/Body.tres" type="SpriteFrames" id=3]
|
|
|
|
[ext_resource path="res://Sprites/Gatto/Legs.tres" type="SpriteFrames" id=4]
|
2020-10-04 14:35:24 +00:00
|
|
|
|
2020-10-05 20:20:12 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
2020-10-05 16:34:41 +00:00
|
|
|
extents = Vector2( 19, 19 )
|
|
|
|
|
2020-10-05 20:20:12 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
2020-10-05 16:34:41 +00:00
|
|
|
extents = Vector2( 17, 17 )
|
2020-10-03 01:20:01 +00:00
|
|
|
|
|
|
|
[node name="Player" type="KinematicBody2D"]
|
2020-10-05 16:34:41 +00:00
|
|
|
z_index = 1
|
2020-10-03 01:20:01 +00:00
|
|
|
collision_layer = 2
|
2020-10-03 22:33:54 +00:00
|
|
|
collision_mask = 2147483677
|
2020-10-03 16:46:14 +00:00
|
|
|
script = ExtResource( 2 )
|
2020-10-05 20:20:12 +00:00
|
|
|
jump_speed = 496.0
|
2020-10-03 01:20:01 +00:00
|
|
|
|
2020-10-05 13:14:17 +00:00
|
|
|
[node name="Body" type="AnimatedSprite" parent="."]
|
|
|
|
frames = ExtResource( 3 )
|
2020-10-05 16:34:41 +00:00
|
|
|
animation = "neutral"
|
2020-10-05 13:14:17 +00:00
|
|
|
playing = true
|
|
|
|
|
|
|
|
[node name="Donut" type="AnimatedSprite" parent="."]
|
|
|
|
z_index = 1
|
|
|
|
frames = ExtResource( 1 )
|
|
|
|
animation = "neutral"
|
|
|
|
playing = true
|
|
|
|
|
|
|
|
[node name="Legs" type="AnimatedSprite" parent="."]
|
|
|
|
z_index = 2
|
|
|
|
frames = ExtResource( 4 )
|
|
|
|
animation = "neutral"
|
|
|
|
playing = true
|
2020-10-03 01:20:01 +00:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
2020-10-05 20:20:12 +00:00
|
|
|
shape = SubResource( 1 )
|
2020-10-05 16:34:41 +00:00
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
input_pickable = false
|
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 29
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
2020-10-05 20:20:12 +00:00
|
|
|
shape = SubResource( 2 )
|
2020-10-05 16:34:41 +00:00
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|