1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-24 17:14:22 +00:00
looping-for-loops/Objects/SpecialObjects/Player.tscn

49 lines
1.4 KiB
Text
Raw Normal View History

[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
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 19, 19 )
2020-10-03 01:20:01 +00:00
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 17, 17 )
2020-10-03 01:20:01 +00:00
[node name="Player" type="KinematicBody2D"]
z_index = 1
2020-10-03 01:20:01 +00:00
collision_layer = 2
collision_mask = 2147483677
script = ExtResource( 2 )
jump_speed = 493.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 )
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="."]
shape = SubResource( 2 )
[node name="Area2D" type="Area2D" parent="."]
input_pickable = false
collision_layer = 2
collision_mask = 29
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
2020-10-03 01:20:01 +00:00
shape = SubResource( 1 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]