feat: final cutscene and full game loop
This commit is contained in:
BIN
ennemy/Flammes.png
(Stored with Git LFS)
Normal file
BIN
ennemy/Flammes.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
ennemy/Flammes.png.import
Normal file
34
ennemy/Flammes.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dut0ru3y8rung"
|
||||
path="res://.godot/imported/Flammes.png-6539d30ca9b68fe1b06de69547ee6ef1.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ennemy/Flammes.png"
|
||||
dest_files=["res://.godot/imported/Flammes.png-6539d30ca9b68fe1b06de69547ee6ef1.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
ennemy/MechantVol.png
(Stored with Git LFS)
BIN
ennemy/MechantVol.png
(Stored with Git LFS)
Binary file not shown.
@ -8,7 +8,7 @@ func _ready() -> void:
|
||||
hitbox.monitoring = false
|
||||
|
||||
func play_anim_run():
|
||||
animated_sprite.play("run")
|
||||
animated_sprite.play("idle")
|
||||
|
||||
func play_anim_idle():
|
||||
animated_sprite.play("idle")
|
||||
|
@ -1,11 +1,52 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://c5ruphrd8ebuu"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://c5ruphrd8ebuu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dailpwkay2nu5" path="res://ennemy/armored_ennemy.gd" id="1_f4v0e"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://i6035vm5ited" path="res://player/armored_spritesheet.tres" id="1_k1sc2"]
|
||||
[ext_resource type="Shape2D" uid="uid://6rhdwj5jxbxn" path="res://player/player_collision.tres" id="2_f4v0e"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjruk5xlt3tyn" path="res://ennemy/MechantVol.png" id="2_iblih"]
|
||||
[ext_resource type="PackedScene" uid="uid://7sqwi3lygb1u" path="res://damageable/hitbox.tscn" id="4_e5h8j"]
|
||||
[ext_resource type="AudioStream" uid="uid://c0w61do2a1hbc" path="res://ennemy/black-magic-159868.mp3" id="5_iblih"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_iblih"]
|
||||
atlas = ExtResource("2_iblih")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vaovl"]
|
||||
atlas = ExtResource("2_iblih")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i1xbb"]
|
||||
atlas = ExtResource("2_iblih")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0a3sv"]
|
||||
atlas = ExtResource("2_iblih")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_vaovl"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_iblih")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vaovl")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"hit",
|
||||
"speed": 6.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_i1xbb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0a3sv")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 2.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f4v0e"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_e5h8j"]
|
||||
@ -15,7 +56,7 @@ script = ExtResource("1_f4v0e")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(1, -16)
|
||||
sprite_frames = ExtResource("1_k1sc2")
|
||||
sprite_frames = SubResource("SpriteFrames_vaovl")
|
||||
animation = &"idle"
|
||||
autoplay = "idle"
|
||||
|
||||
|
Reference in New Issue
Block a user