
- Got new backgrounds - Added health bars - Added in enemy wizard using the wizard spellbook rather than the old spellbook - Made the cast indicator smaller since it seemed a bit large - Started working on enemy AI systems - Fixed rock throw animation
389 lines
11 KiB
Plaintext
389 lines
11 KiB
Plaintext
[gd_scene load_steps=57 format=3 uid="uid://c8wwq1hoj4sd5"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://beji0knfiddf2" path="res://Sprites/Characters/Wizard Pack/Attack1.png" id="1_2xk2o"]
|
|
[ext_resource type="Script" path="res://Scripts/wizard.gd" id="1_tgd3u"]
|
|
[ext_resource type="Texture2D" uid="uid://bdwuc8gl3a8wu" path="res://Sprites/Characters/Wizard Pack/Attack2.png" id="2_2f0nh"]
|
|
[ext_resource type="Texture2D" uid="uid://6kb5caswncr5" path="res://Sprites/Characters/Wizard Pack/Death.png" id="3_7wnck"]
|
|
[ext_resource type="Texture2D" uid="uid://dmdw0qscqe02k" path="res://Sprites/Characters/Wizard Pack/Fall.png" id="4_kkrq5"]
|
|
[ext_resource type="Texture2D" uid="uid://dissh4k8ayq7j" path="res://Sprites/Characters/Wizard Pack/Hit.png" id="5_43qkb"]
|
|
[ext_resource type="Texture2D" uid="uid://72gmmgu75er5" path="res://Sprites/Characters/Wizard Pack/Idle.png" id="6_qwfsc"]
|
|
[ext_resource type="Texture2D" uid="uid://gu3ou37avyp3" path="res://Sprites/Characters/Wizard Pack/Jump.png" id="7_w41g5"]
|
|
[ext_resource type="Texture2D" uid="uid://d2oi5bvcmmgr1" path="res://Sprites/Characters/Wizard Pack/Run.png" id="8_pymsq"]
|
|
[ext_resource type="PackedScene" uid="uid://cijs8fxylhamd" path="res://Scenes/UI/healthBar.tscn" id="10_yj1vm"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nhid5"]
|
|
atlas = ExtResource("1_2xk2o")
|
|
region = Rect2(0, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jlk45"]
|
|
atlas = ExtResource("1_2xk2o")
|
|
region = Rect2(231, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_aulim"]
|
|
atlas = ExtResource("1_2xk2o")
|
|
region = Rect2(462, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xmat4"]
|
|
atlas = ExtResource("1_2xk2o")
|
|
region = Rect2(693, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f1o82"]
|
|
atlas = ExtResource("1_2xk2o")
|
|
region = Rect2(924, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gxmob"]
|
|
atlas = ExtResource("1_2xk2o")
|
|
region = Rect2(1155, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gtiyl"]
|
|
atlas = ExtResource("1_2xk2o")
|
|
region = Rect2(1386, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w4pyb"]
|
|
atlas = ExtResource("1_2xk2o")
|
|
region = Rect2(1617, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8pl14"]
|
|
atlas = ExtResource("2_2f0nh")
|
|
region = Rect2(231, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_si6t7"]
|
|
atlas = ExtResource("2_2f0nh")
|
|
region = Rect2(462, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3f33l"]
|
|
atlas = ExtResource("2_2f0nh")
|
|
region = Rect2(693, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7d2b5"]
|
|
atlas = ExtResource("2_2f0nh")
|
|
region = Rect2(924, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2qh0f"]
|
|
atlas = ExtResource("2_2f0nh")
|
|
region = Rect2(1155, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gmh7s"]
|
|
atlas = ExtResource("2_2f0nh")
|
|
region = Rect2(1386, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uyqo3"]
|
|
atlas = ExtResource("2_2f0nh")
|
|
region = Rect2(1617, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6telm"]
|
|
atlas = ExtResource("2_2f0nh")
|
|
region = Rect2(0, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_el7sl"]
|
|
atlas = ExtResource("3_7wnck")
|
|
region = Rect2(0, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sljao"]
|
|
atlas = ExtResource("3_7wnck")
|
|
region = Rect2(231, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1ep56"]
|
|
atlas = ExtResource("3_7wnck")
|
|
region = Rect2(462, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3cbex"]
|
|
atlas = ExtResource("3_7wnck")
|
|
region = Rect2(693, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hou2n"]
|
|
atlas = ExtResource("3_7wnck")
|
|
region = Rect2(924, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_e17rg"]
|
|
atlas = ExtResource("3_7wnck")
|
|
region = Rect2(1155, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m5sup"]
|
|
atlas = ExtResource("3_7wnck")
|
|
region = Rect2(1386, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pxnn4"]
|
|
atlas = ExtResource("4_kkrq5")
|
|
region = Rect2(0, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nurek"]
|
|
atlas = ExtResource("4_kkrq5")
|
|
region = Rect2(231, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_prqm4"]
|
|
atlas = ExtResource("5_43qkb")
|
|
region = Rect2(0, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_j11te"]
|
|
atlas = ExtResource("5_43qkb")
|
|
region = Rect2(231, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_871v7"]
|
|
atlas = ExtResource("5_43qkb")
|
|
region = Rect2(462, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_e84v3"]
|
|
atlas = ExtResource("5_43qkb")
|
|
region = Rect2(693, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hyal2"]
|
|
atlas = ExtResource("6_qwfsc")
|
|
region = Rect2(0, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_k2epk"]
|
|
atlas = ExtResource("6_qwfsc")
|
|
region = Rect2(231, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yexap"]
|
|
atlas = ExtResource("6_qwfsc")
|
|
region = Rect2(462, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_k47v8"]
|
|
atlas = ExtResource("6_qwfsc")
|
|
region = Rect2(693, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sewmr"]
|
|
atlas = ExtResource("6_qwfsc")
|
|
region = Rect2(924, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vh7yx"]
|
|
atlas = ExtResource("6_qwfsc")
|
|
region = Rect2(1155, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t3w7a"]
|
|
atlas = ExtResource("7_w41g5")
|
|
region = Rect2(0, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_imur1"]
|
|
atlas = ExtResource("7_w41g5")
|
|
region = Rect2(231, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b27qd"]
|
|
atlas = ExtResource("8_pymsq")
|
|
region = Rect2(0, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5gxrq"]
|
|
atlas = ExtResource("8_pymsq")
|
|
region = Rect2(231, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_eq3d8"]
|
|
atlas = ExtResource("8_pymsq")
|
|
region = Rect2(462, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_j6fuq"]
|
|
atlas = ExtResource("8_pymsq")
|
|
region = Rect2(693, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ltb4v"]
|
|
atlas = ExtResource("8_pymsq")
|
|
region = Rect2(924, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vj56f"]
|
|
atlas = ExtResource("8_pymsq")
|
|
region = Rect2(1155, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6qbqu"]
|
|
atlas = ExtResource("8_pymsq")
|
|
region = Rect2(1386, 0, 231, 190)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_flbe3"]
|
|
atlas = ExtResource("8_pymsq")
|
|
region = Rect2(1617, 0, 231, 190)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_pk2mw"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nhid5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_jlk45")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_aulim")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xmat4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f1o82")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gxmob")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gtiyl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_w4pyb")
|
|
}],
|
|
"loop": false,
|
|
"name": &"attack1",
|
|
"speed": 8.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8pl14")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_si6t7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3f33l")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7d2b5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2qh0f")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gmh7s")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uyqo3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6telm")
|
|
}],
|
|
"loop": false,
|
|
"name": &"attack2",
|
|
"speed": 8.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_el7sl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sljao")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1ep56")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3cbex")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hou2n")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_e17rg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_m5sup")
|
|
}],
|
|
"loop": false,
|
|
"name": &"death",
|
|
"speed": 6.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pxnn4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nurek")
|
|
}],
|
|
"loop": true,
|
|
"name": &"fall",
|
|
"speed": 8.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_prqm4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_j11te")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_871v7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_e84v3")
|
|
}],
|
|
"loop": false,
|
|
"name": &"hit",
|
|
"speed": 6.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hyal2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_k2epk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_yexap")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_k47v8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sewmr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vh7yx")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 7.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_t3w7a")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_imur1")
|
|
}],
|
|
"loop": true,
|
|
"name": &"jump",
|
|
"speed": 7.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_b27qd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5gxrq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_eq3d8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_j6fuq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ltb4v")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vj56f")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6qbqu")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_flbe3")
|
|
}],
|
|
"loop": true,
|
|
"name": &"run",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[node name="Wizard" type="Node2D"]
|
|
scale = Vector2(4, 4)
|
|
script = ExtResource("1_tgd3u")
|
|
health = 10.0
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(0, 0.25)
|
|
sprite_frames = SubResource("SpriteFrames_pk2mw")
|
|
animation = &"idle"
|
|
|
|
[node name="HealthBar" parent="." instance=ExtResource("10_yj1vm")]
|
|
offset_left = -42.5
|
|
offset_right = -42.5
|
|
scale = Vector2(0.625, 0.625)
|
|
|
|
[connection signal="healthChanged" from="." to="HealthBar" method="healthChanged"]
|
|
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_finished"]
|