feat: them skeletons man + reload after dancing
This commit is contained in:
284
main.tscn
284
main.tscn
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=101 format=4 uid="uid://s1cx1gvt4bed"]
|
||||
[gd_scene load_steps=126 format=4 uid="uid://s1cx1gvt4bed"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cvtt52wodbopm" path="res://main.gd" id="1_272bh"]
|
||||
[ext_resource type="PackedScene" uid="uid://yvp44oauis4n" path="res://player/player.tscn" id="1_ig7tw"]
|
||||
@ -21,6 +21,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://d3t1fn35skpip" path="res://player/assets/idle sheet-Sheet.png" id="14_82xsv"]
|
||||
[ext_resource type="Texture2D" uid="uid://oocxl803i4aa" path="res://player/red_hood_profile.tres" id="14_getpj"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5tp7c70qkxe3" path="res://arrow/arrow_spawner.tscn" id="15_vivmo"]
|
||||
[ext_resource type="Texture2D" uid="uid://dalv1q1xpbp52" path="res://world_assets/Pixel Art Platformer/TX FX Torch Flame.png" id="18_d13ii"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2fyaj2fmrug7" path="res://ennemy/skeleton.tscn" id="19_d13ii"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ycdy4"]
|
||||
atlas = ExtResource("3_dg77c")
|
||||
@ -498,6 +500,168 @@ animations = [{
|
||||
atlas = ExtResource("14_82xsv")
|
||||
region = Rect2(663, 28, 14, 13)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wy5fy"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(21, 21, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gx4rg"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(42, 21, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5dllo"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(63, 21, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_phcyf"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(84, 21, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_birbe"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(105, 21, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_f1p13"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(0, 42, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4obbf"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(21, 42, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ovcoh"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(42, 42, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ppx11"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(63, 42, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1yv1y"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(84, 42, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5yh34"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(105, 42, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pjuso"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(0, 63, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_23xmf"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(21, 63, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_swlj1"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(42, 63, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yysqy"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(63, 63, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n5t1e"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(84, 63, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_h6isl"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(105, 63, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_53bls"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(0, 84, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lwnsi"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(21, 84, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_41lik"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(42, 84, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jbvwl"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(63, 84, 21, 21)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_sn1fb"]
|
||||
atlas = ExtResource("18_d13ii")
|
||||
region = Rect2(84, 84, 21, 21)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_yvsr8"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wy5fy")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gx4rg")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5dllo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_phcyf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_birbe")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_f1p13")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_4obbf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ovcoh")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ppx11")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1yv1y")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5yh34")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pjuso")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_23xmf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_swlj1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yysqy")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_n5t1e")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_h6isl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_53bls")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lwnsi")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_41lik")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jbvwl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_sn1fb")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 22.0
|
||||
}]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kek77"]
|
||||
atlas = ExtResource("4_ycdy4")
|
||||
region = Rect2(14, 9, 6, 5)
|
||||
@ -670,7 +834,7 @@ _data = {
|
||||
|
||||
[sub_resource type="Animation" id="Animation_2cqfq"]
|
||||
resource_name = "dance"
|
||||
length = 10.0
|
||||
length = 8.0
|
||||
tracks/0/type = "method"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
@ -692,7 +856,7 @@ tracks/1/path = NodePath("OpeningFadeToBlack:color")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(5.02, 7.99, 10),
|
||||
"times": PackedFloat32Array(3, 6, 8),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1), Color(0, 0, 0, 1)]
|
||||
@ -711,6 +875,62 @@ tracks/2/keys = {
|
||||
"method": &"play"
|
||||
}]
|
||||
}
|
||||
tracks/3/type = "method"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Skeleton")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [&"dance", 1.0, false],
|
||||
"method": &"play"
|
||||
}]
|
||||
}
|
||||
tracks/4/type = "method"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("Skeleton2")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [&"dance", 1.0, false],
|
||||
"method": &"play"
|
||||
}]
|
||||
}
|
||||
tracks/5/type = "method"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("Skeleton3")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [&"dance", 1.0, false],
|
||||
"method": &"play"
|
||||
}]
|
||||
}
|
||||
tracks/6/type = "method"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath(".")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(8),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"restart_at_first_scene"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_yaehf"]
|
||||
length = 0.001
|
||||
@ -826,6 +1046,48 @@ tracks/2/keys = {
|
||||
"method": &"queue_free"
|
||||
}]
|
||||
}
|
||||
tracks/3/type = "method"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Skeleton")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"stop_hitting"
|
||||
}]
|
||||
}
|
||||
tracks/4/type = "method"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("Skeleton2")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"stop_hitting"
|
||||
}]
|
||||
}
|
||||
tracks/5/type = "method"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("Skeleton3")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"hit"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_82xsv"]
|
||||
length = 0.001
|
||||
@ -1049,6 +1311,22 @@ right_picture = SubResource("AtlasTexture_uypp3")
|
||||
position = Vector2(4032, -32)
|
||||
texture = ExtResource("10_2cqfq")
|
||||
|
||||
[node name="Firewall" type="AnimatedSprite2D" parent="."]
|
||||
modulate = Color(0.849078, 0.295655, 0.0322732, 1)
|
||||
position = Vector2(4465, -11)
|
||||
sprite_frames = SubResource("SpriteFrames_yvsr8")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.0543026
|
||||
|
||||
[node name="Skeleton" parent="." instance=ExtResource("19_d13ii")]
|
||||
position = Vector2(3753, -16)
|
||||
|
||||
[node name="Skeleton2" parent="." instance=ExtResource("19_d13ii")]
|
||||
position = Vector2(3822, -16)
|
||||
|
||||
[node name="Skeleton3" parent="." instance=ExtResource("19_d13ii")]
|
||||
position = Vector2(3935, -16)
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("1_ig7tw")]
|
||||
|
||||
[node name="BubblesBack" type="TileMapLayer" parent="."]
|
||||
|
Reference in New Issue
Block a user