summaryrefslogtreecommitdiff
path: root/Characters/Dove.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Characters/Dove.tscn')
-rw-r--r--Characters/Dove.tscn124
1 files changed, 76 insertions, 48 deletions
diff --git a/Characters/Dove.tscn b/Characters/Dove.tscn
index 34d0971..0871bfa 100644
--- a/Characters/Dove.tscn
+++ b/Characters/Dove.tscn
@@ -1,84 +1,112 @@
-[gd_scene load_steps=14 format=2]
+[gd_scene load_steps=14 format=3 uid="uid://db80wyly5gkcq"]
-[ext_resource path="res://Assets/Characters/Dove/Front.png" type="Texture" id=1]
-[ext_resource path="res://Assets/Characters/Dove/Jump.png" type="Texture" id=2]
-[ext_resource path="res://Assets/Characters/Dove/Fall1Wings.png" type="Texture" id=3]
-[ext_resource path="res://Assets/Characters/Dove/Slide.png" type="Texture" id=4]
-[ext_resource path="res://Assets/Characters/Dove/Walk1.png" type="Texture" id=5]
-[ext_resource path="res://Assets/Characters/Dove/Back.png" type="Texture" id=6]
-[ext_resource path="res://Assets/Characters/Dove/Fall2.png" type="Texture" id=7]
-[ext_resource path="res://Assets/Characters/Dove/Walk2.png" type="Texture" id=8]
-[ext_resource path="res://Characters/Dove.gd" type="Script" id=9]
-[ext_resource path="res://Assets/Characters/Dove/Wall.png" type="Texture" id=10]
-[ext_resource path="res://Assets/Characters/Dove/Fall1.png" type="Texture" id=11]
+[ext_resource type="Texture2D" uid="uid://b2h82tdfbogjx" path="res://Assets/Characters/Dove/Front.png" id="1"]
+[ext_resource type="Texture2D" uid="uid://bbgjua7kpisfy" path="res://Assets/Characters/Dove/Jump.png" id="2"]
+[ext_resource type="Texture2D" uid="uid://dvy3vwsl2pnqa" path="res://Assets/Characters/Dove/Fall1Wings.png" id="3"]
+[ext_resource type="Texture2D" uid="uid://bprs82t6l1k5l" path="res://Assets/Characters/Dove/Slide.png" id="4"]
+[ext_resource type="Texture2D" uid="uid://bpdka00y5rpyq" path="res://Assets/Characters/Dove/Walk1.png" id="5"]
+[ext_resource type="Texture2D" uid="uid://cklkw2yi7mwx3" path="res://Assets/Characters/Dove/Back.png" id="6"]
+[ext_resource type="Texture2D" uid="uid://d30sk72q4cm7h" path="res://Assets/Characters/Dove/Fall2.png" id="7"]
+[ext_resource type="Texture2D" uid="uid://b8rox7xmamvs0" path="res://Assets/Characters/Dove/Walk2.png" id="8"]
+[ext_resource type="Script" path="res://Characters/Dove.gd" id="9"]
+[ext_resource type="Texture2D" uid="uid://d3sulcf630kwm" path="res://Assets/Characters/Dove/Wall.png" id="10"]
+[ext_resource type="Texture2D" uid="uid://pa7nogs2tjhr" path="res://Assets/Characters/Dove/Fall1.png" id="11"]
-[sub_resource type="SpriteFrames" id=1]
-animations = [ {
-"frames": [ ExtResource( 3 ) ],
-"loop": false,
-"name": "fall_stop",
+[sub_resource type="SpriteFrames" id="1"]
+animations = [{
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("6")
+}],
+"loop": true,
+"name": &"back",
"speed": 5.0
}, {
-"frames": [ ExtResource( 6 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("11")
+}],
"loop": true,
-"name": "back",
+"name": &"fall",
"speed": 5.0
}, {
-"frames": [ ExtResource( 1 ) ],
-"loop": true,
-"name": "idle",
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("3")
+}],
+"loop": false,
+"name": &"fall_stop",
"speed": 5.0
}, {
-"frames": [ ExtResource( 2 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("7")
+}],
"loop": true,
-"name": "jump",
+"name": &"fall_stop_landing",
"speed": 5.0
}, {
-"frames": [ ExtResource( 10 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("1")
+}],
"loop": true,
-"name": "wall",
+"name": &"idle",
"speed": 5.0
}, {
-"frames": [ ExtResource( 7 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("2")
+}],
"loop": true,
-"name": "fall_stop_landing",
+"name": &"jump",
"speed": 5.0
}, {
-"frames": [ ExtResource( 5 ), ExtResource( 8 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("4")
+}],
"loop": true,
-"name": "walk",
+"name": &"run",
"speed": 5.0
}, {
-"frames": [ ExtResource( 11 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("5")
+}, {
+"duration": 1.0,
+"texture": ExtResource("8")
+}],
"loop": true,
-"name": "fall",
+"name": &"walk",
"speed": 5.0
}, {
-"frames": [ ExtResource( 4 ) ],
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("10")
+}],
"loop": true,
-"name": "run",
+"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