feat: final cutscene and full game loop
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=65 format=3 uid="uid://yvp44oauis4n"]
|
||||
[gd_scene load_steps=79 format=3 uid="uid://yvp44oauis4n"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c1fqj3lba7wik" path="res://player/player.gd" id="1_yw30f"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjruk5xlt3tyn" path="res://ennemy/MechantVol.png" id="2_ebec5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dxsbbcagqkiid" path="res://player/assets/RunArmeEpee.png" id="2_hg6s5"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://i6035vm5ited" path="res://player/armored_spritesheet.tres" id="2_qjkh3"]
|
||||
[ext_resource type="Texture2D" uid="uid://dv7jhtoptk12r" path="res://player/assets/Danse.png" id="3_hg6s5"]
|
||||
@ -10,8 +11,82 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dsxvqsh3umw01" path="res://player/assets/RunCycle.png" id="5_boad6"]
|
||||
[ext_resource type="PackedScene" uid="uid://djwoetcyvvofc" path="res://damageable/damageable.tscn" id="5_g6k8r"]
|
||||
[ext_resource type="Shape2D" uid="uid://6rhdwj5jxbxn" path="res://player/player_collision.tres" id="5_qjkh3"]
|
||||
[ext_resource type="Texture2D" uid="uid://dw6tn0grt2ajc" path="res://player/assets/WalkCycle.png" id="10_yllr7"]
|
||||
[ext_resource type="PackedScene" uid="uid://7sqwi3lygb1u" path="res://damageable/hitbox.tscn" id="11_2ieo8"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3dxkp"]
|
||||
atlas = ExtResource("2_ebec5")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6wior"]
|
||||
atlas = ExtResource("2_ebec5")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_p5tca"]
|
||||
atlas = ExtResource("2_ebec5")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jbx34"]
|
||||
atlas = ExtResource("2_ebec5")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_s3g0c"]
|
||||
atlas = ExtResource("2_ebec5")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_35wys"]
|
||||
atlas = ExtResource("2_ebec5")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pjwc4"]
|
||||
atlas = ExtResource("2_ebec5")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_or4qq"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3dxkp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6wior")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 2.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_p5tca")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jbx34")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_s3g0c")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_35wys")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pjwc4")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"power_up",
|
||||
"speed": 4.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3dxkp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6wior")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"run",
|
||||
"speed": 2.0
|
||||
}]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tqiix"]
|
||||
atlas = ExtResource("3_hg6s5")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
@ -348,6 +423,22 @@ region = Rect2(320, 0, 32, 32)
|
||||
atlas = ExtResource("5_boad6")
|
||||
region = Rect2(352, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_or4qq"]
|
||||
atlas = ExtResource("10_yllr7")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hggc2"]
|
||||
atlas = ExtResource("10_yllr7")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b2j0d"]
|
||||
atlas = ExtResource("10_yllr7")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7l6ig"]
|
||||
atlas = ExtResource("10_yllr7")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_mmwog"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
@ -459,6 +550,23 @@ animations = [{
|
||||
"loop": true,
|
||||
"name": &"run",
|
||||
"speed": 14.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_or4qq")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hggc2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b2j0d")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7l6ig")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"walk",
|
||||
"speed": 4.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ebec5"]
|
||||
@ -472,6 +580,13 @@ acceleration = 0.177
|
||||
[node name="AudioListener2D" type="AudioListener2D" parent="."]
|
||||
current = true
|
||||
|
||||
[node name="Armor" type="AnimatedSprite2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0, -16)
|
||||
sprite_frames = SubResource("SpriteFrames_or4qq")
|
||||
animation = &"run"
|
||||
autoplay = "power_up"
|
||||
|
||||
[node name="Sword" type="AnimatedSprite2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0, -16)
|
||||
@ -491,11 +606,10 @@ autoplay = "idle"
|
||||
[node name="Base" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(0, -16)
|
||||
sprite_frames = SubResource("SpriteFrames_mmwog")
|
||||
animation = &"got_hit"
|
||||
animation = &"walk"
|
||||
autoplay = "idle"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0, -13)
|
||||
shape = ExtResource("5_qjkh3")
|
||||
|
||||
@ -507,6 +621,7 @@ wait_time = 0.5
|
||||
one_shot = true
|
||||
|
||||
[node name="Hitbox" parent="." instance=ExtResource("11_2ieo8")]
|
||||
position = Vector2(2, -1)
|
||||
monitoring = false
|
||||
monitorable = false
|
||||
damage = 10
|
||||
|
Reference in New Issue
Block a user