summaryrefslogtreecommitdiff
path: root/Characters/Pidgin.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Characters/Pidgin.tscn')
-rw-r--r--Characters/Pidgin.tscn124
1 files changed, 76 insertions, 48 deletions
diff --git a/Characters/Pidgin.tscn b/Characters/Pidgin.tscn
index ba42eb0..5410b71 100644
--- a/Characters/Pidgin.tscn
+++ b/Characters/Pidgin.tscn
@@ -1,84 +1,112 @@
-[gd_scene load_steps=14 format=2]
+[gd_scene load_steps=14 format=3 uid="uid://dadno88dlu3eq"]
-[ext_resource path="res://Assets/Characters/Pidgin/Fall1.png" type="Texture" id=1]
-[ext_resource path="res://Assets/Characters/Pidgin/Slide.png" type="Texture" id=2]
-[ext_resource path="res://Assets/Characters/Pidgin/Fall2.png" type="Texture" id=3]
-[ext_resource path="res://Assets/Characters/Pidgin/Back.png" type="Texture" id=4]
-[ext_resource path="res://Assets/Characters/Pidgin/Fall1Wings.png" type="Texture" id=5]
-[ext_resource path="res://Assets/Characters/Pidgin/Wall.png" type="Texture" id=6]
-[ext_resource path="res://Assets/Characters/Pidgin/Jump.png" type="Texture" id=7]
-[ext_resource path="res://Assets/Characters/Pidgin/Walk2.png" type="Texture" id=8]
-[ext_resource path="res://Characters/Dove.gd" type="Script" id=9]
-[ext_resource path="res://Assets/Characters/Pidgin/Front.png" type="Texture" id=10]
-[ext_resource path="res://Assets/Characters/Pidgin/Walk1.png" type="Texture" id=11]
+[ext_resource type="Texture2D" uid="uid://o4p83pk1n66t" path="res://Assets/Characters/Pidgin/Fall1.png" id="1"]
+[ext_resource type="Texture2D" uid="uid://rrfag5dhfel7" path="res://Assets/Characters/Pidgin/Slide.png" id="2"]
+[ext_resource type="Texture2D" uid="uid://dbp26y6efrkda" path="res://Assets/Characters/Pidgin/Fall2.png" id="3"]
+[ext_resource type="Texture2D" uid="uid://dmn06w00ol0tv" path="res://Assets/Characters/Pidgin/Back.png" id="4"]
+[ext_resource type="Texture2D" uid="uid://gbcntftexor7" path="res://Assets/Characters/Pidgin/Fall1Wings.png" id="5"]
+[ext_resource type="Texture2D" uid="uid://t7c0desi04ra" path="res://Assets/Characters/Pidgin/Wall.png" id="6"]
+[ext_resource type="Texture2D" uid="uid://bkfn8al2da6si" path="res://Assets/Characters/Pidgin/Jump.png" id="7"]
+[ext_resource type="Texture2D" uid="uid://cqyoyj6d4dkah" path="res://Assets/Characters/Pidgin/Walk2.png" id="8"]
+[ext_resource type="Script" path="res://Characters/Dove.gd" id="9"]
+[ext_resource type="Texture2D" uid="uid://cnuotyqgyqplm" path="res://Assets/Characters/Pidgin/Front.png" id="10"]
+[ext_resource type="Texture2D" uid="uid://d8167647lwsv" path="res://Assets/Characters/Pidgin/Walk1.png" id="11"]
-[sub_resource type="SpriteFrames" id=1]
-animations = [ {
-"frames": [ ExtResource( 4 ) ],
+[sub_resource type="SpriteFrames" id="1"]
+animations = [{
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("4")
+}],
"loop": true,
-"name": "back",
+"name": &"back",
"speed": 5.0
}, {
-"frames": [ ExtResource( 10 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("1")
+}],
"loop": true,
-"name": "idle",
+"name": &"fall",
"speed": 5.0
}, {
-"frames": [ ExtResource( 6 ) ],
-"loop": true,
-"name": "wall",
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("5")
+}],
+"loop": false,
+"name": &"fall_stop",
"speed": 5.0
}, {
-"frames": [ ExtResource( 5 ) ],
-"loop": false,
-"name": "fall_stop",
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("3")
+}],
+"loop": true,
+"name": &"fall_stop_landing",
"speed": 5.0
}, {
-"frames": [ ExtResource( 3 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("10")
+}],
"loop": true,
-"name": "fall_stop_landing",
+"name": &"idle",
"speed": 5.0
}, {
-"frames": [ ExtResource( 2 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("7")
+}],
"loop": true,
-"name": "run",
+"name": &"jump",
"speed": 5.0
}, {
-"frames": [ ExtResource( 1 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("2")
+}],
"loop": true,
-"name": "fall",
+"name": &"run",
"speed": 5.0
}, {
-"frames": [ ExtResource( 11 ), ExtResource( 8 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("11")
+}, {
+"duration": 1.0,
+"texture": ExtResource("8")
+}],
"loop": true,
-"name": "walk",
+"name": &"walk",
"speed": 5.0
}, {
-"frames": [ ExtResource( 7 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("6")
+}],
"loop": true,
-"name": "jump",
+"name": &"wall",
"speed": 5.0
-} ]
+}]
-[sub_resource type="RectangleShape2D" id=2]
-extents = Vector2( 9.21901, 11.2317 )
+[sub_resource type="RectangleShape2D" id="2"]
+size = Vector2(12, 19)
-[node name="Dove" type="KinematicBody2D"]
+[node name="Dove" type="CharacterBody2D"]
collision_mask = 15
-script = ExtResource( 9 )
+script = ExtResource("9")
-[node name="Sprite" type="AnimatedSprite" parent="."]
-scale = Vector2( 0.7, 0.7 )
-frames = SubResource( 1 )
-animation = "idle"
-playing = true
+[node name="Sprite2D" type="AnimatedSprite2D" parent="."]
+scale = Vector2(0.7, 0.7)
+sprite_frames = SubResource("1")
+animation = &"idle"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
-shape = SubResource( 2 )
+position = Vector2(2.38419e-07, 0.5)
+shape = SubResource("2")
[node name="CheckFallStop" type="RayCast2D" parent="."]
-enabled = true
-cast_to = Vector2( 0, 150 )
+target_position = Vector2(0, 150)
[node name="CheckFallLanding" type="RayCast2D" parent="."]
-enabled = true