added actual enemies
This commit is contained in:
1 parent
1264dc8e8f
commit
7e39fdf2bc
10 files changed
+416
-159
No files matched your search
@@ -0,0 +1,27 @@
|
|||||||
|
extends KinematicBody2D
|
||||||
|
|
||||||
|
const SPEED: int = 50
|
||||||
|
|
||||||
|
var player: KinematicBody2D = null
|
||||||
|
var velocity: Vector2 = Vector2.ZERO
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(_delta: float) -> void:
|
||||||
|
velocity = Vector2.ZERO
|
||||||
|
|
||||||
|
if player:
|
||||||
|
velocity = position.direction_to(player.position).normalized() * SPEED
|
||||||
|
|
||||||
|
velocity = move_and_slide(velocity)
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_player_detector_area_entered(area: Area2D) -> void:
|
||||||
|
if area.get_parent().name == 'Player':
|
||||||
|
player = area.get_parent()
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_player_detector_area_exited(_area: Area2D):
|
||||||
|
player = null
|
||||||
|
return
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
[gd_scene load_steps=11 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Resources/Level_5_Enemy_Glowing_Ghost_Occluder.tres" type="OccluderPolygon2D" id=1]
|
||||||
|
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="res://Enemies/Flaming Skull.gd" type="Script" id=4]
|
||||||
|
[ext_resource path="res://Sprites/Enemies/flaming skull design.png" type="Texture" id=5]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=3]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 0, 0, 672, 672 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=4]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 672, 0, 672, 672 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=5]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 1344, 0, 672, 672 )
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id=6]
|
||||||
|
animations = [ {
|
||||||
|
"frames": [ SubResource( 3 ), SubResource( 4 ), SubResource( 5 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "default",
|
||||||
|
"speed": 5.0
|
||||||
|
} ]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=1]
|
||||||
|
radius = 3.0
|
||||||
|
height = 2.0
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=2]
|
||||||
|
radius = 50.0
|
||||||
|
|
||||||
|
[node name="Flaming Skull" type="KinematicBody2D" groups=["enemies"]]
|
||||||
|
collision_layer = 2
|
||||||
|
script = ExtResource( 4 )
|
||||||
|
|
||||||
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
|
scale = Vector2( 0.0446429, 0.0446429 )
|
||||||
|
frames = SubResource( 6 )
|
||||||
|
playing = true
|
||||||
|
|
||||||
|
[node name="Hitbox" type="CollisionShape2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
position = Vector2( 0, -3 )
|
||||||
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
|
[node name="Player Detector" type="Area2D" parent="."]
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
input_pickable = false
|
||||||
|
monitorable = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
||||||
|
visible = false
|
||||||
|
shape = SubResource( 2 )
|
||||||
|
|
||||||
|
[node name="Light2D" type="Light2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
scale = Vector2( 0.5, 0.5 )
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
color = Color( 0.984314, 0.94902, 0.211765, 0.392157 )
|
||||||
|
energy = 2.0
|
||||||
|
range_item_cull_mask = 11
|
||||||
|
|
||||||
|
[node name="Light2DEyes" type="Light2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
scale = Vector2( 0.1, 0.1 )
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
offset = Vector2( 5, -40 )
|
||||||
|
range_item_cull_mask = 4
|
||||||
|
|
||||||
|
[node name="LightOccluder2D" type="LightOccluder2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
show_behind_parent = true
|
||||||
|
occluder = ExtResource( 1 )
|
||||||
|
|
||||||
|
[connection signal="area_entered" from="Player Detector" to="." method="_on_player_detector_area_entered"]
|
||||||
|
[connection signal="area_exited" from="Player Detector" to="." method="_on_player_detector_area_exited"]
|
||||||
+10
-10
@@ -7,21 +7,21 @@ var velocity: Vector2 = Vector2.ZERO
|
|||||||
|
|
||||||
|
|
||||||
func _physics_process(_delta: float) -> void:
|
func _physics_process(_delta: float) -> void:
|
||||||
velocity = Vector2.ZERO
|
velocity = Vector2.ZERO
|
||||||
|
|
||||||
if player:
|
if player:
|
||||||
velocity = position.direction_to(player.position).normalized() * SPEED
|
velocity = position.direction_to(player.position).normalized() * SPEED
|
||||||
|
|
||||||
velocity = move_and_slide(velocity)
|
velocity = move_and_slide(velocity)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
func _on_player_detector_area_entered(area: Area2D) -> void:
|
func _on_player_detector_area_entered(area: Area2D) -> void:
|
||||||
if area.get_parent().name == 'Player':
|
if area.get_parent().name == 'Player':
|
||||||
player = area.get_parent()
|
player = area.get_parent()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
func _on_player_detector_area_exited(_area: Area2D):
|
func _on_player_detector_area_exited(_area: Area2D):
|
||||||
player = null
|
player = null
|
||||||
return
|
return
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
extends KinematicBody2D
|
||||||
|
|
||||||
|
const SPEED: int = 60
|
||||||
|
|
||||||
|
var player: KinematicBody2D = null
|
||||||
|
var velocity: Vector2 = Vector2.ZERO
|
||||||
|
var last_x = 0.0
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(_delta: float) -> void:
|
||||||
|
velocity = Vector2.ZERO
|
||||||
|
|
||||||
|
if player:
|
||||||
|
velocity = position.direction_to(player.position).normalized() * SPEED
|
||||||
|
var angle = position.angle_to_point(player.position)
|
||||||
|
if abs(angle) > PI/2:
|
||||||
|
$AnimatedSprite1.scale.x = -0.563
|
||||||
|
else:
|
||||||
|
$AnimatedSprite1.scale.x = 0.563
|
||||||
|
|
||||||
|
if velocity.x != 0:
|
||||||
|
last_x = velocity.x
|
||||||
|
|
||||||
|
velocity = move_and_slide(velocity)
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_player_detector_area_entered(area: Area2D) -> void:
|
||||||
|
if area.get_parent().name == 'Player':
|
||||||
|
player = area.get_parent()
|
||||||
|
$AnimatedSprite1.animation = "Running"
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_player_detector_area_exited(_area: Area2D):
|
||||||
|
player = null
|
||||||
|
$AnimatedSprite1.animation = "Idle"
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Player_Attack_area_entered(area: Area2D) -> void:
|
||||||
|
if area.get_parent().name == 'Player':
|
||||||
|
player = area.get_parent()
|
||||||
|
$AnimatedSprite1.animation = "Jump"
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Player_Attack_area_exited(area: Area2D) -> void:
|
||||||
|
player = null
|
||||||
|
$AnimatedSprite1.animation = "Running"
|
||||||
|
return
|
||||||
@@ -0,0 +1,181 @@
|
|||||||
|
[gd_scene load_steps=27 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Resources/Level_5_Enemy_Glowing_Ghost_Occluder.tres" type="OccluderPolygon2D" id=1]
|
||||||
|
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="res://Sprites/Enemies/hell-hound-idle.png" type="Texture" id=3]
|
||||||
|
[ext_resource path="res://Enemies/Hellhound.gd" type="Script" id=4]
|
||||||
|
[ext_resource path="res://Sprites/Enemies/hell-hound-jump.png" type="Texture" id=5]
|
||||||
|
[ext_resource path="res://Sprites/Enemies/hell-hound-run.png" type="Texture" id=6]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=3]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 0, 0, 65, 48 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=4]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 65, 0, 65, 48 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=5]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 130, 0, 65, 48 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=6]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 195, 0, 65, 48 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=7]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 260, 0, 65, 48 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=8]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 5 )
|
||||||
|
region = Rect2( 325, 0, 65, 48 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=9]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 0, 0, 64, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=10]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 64, 0, 64, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=11]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 128, 0, 64, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=12]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 192, 0, 64, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=13]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 256, 0, 64, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=14]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 320, 0, 64, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=15]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 6 )
|
||||||
|
region = Rect2( 0, 0, 67, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=16]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 6 )
|
||||||
|
region = Rect2( 67, 0, 67, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=17]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 6 )
|
||||||
|
region = Rect2( 134, 0, 67, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=18]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 6 )
|
||||||
|
region = Rect2( 201, 0, 67, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=19]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 6 )
|
||||||
|
region = Rect2( 268, 0, 67, 32 )
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id=20]
|
||||||
|
animations = [ {
|
||||||
|
"frames": [ SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "Jump",
|
||||||
|
"speed": 8.0
|
||||||
|
}, {
|
||||||
|
"frames": [ SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "Idle",
|
||||||
|
"speed": 3.0
|
||||||
|
}, {
|
||||||
|
"frames": [ SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "Running",
|
||||||
|
"speed": 5.0
|
||||||
|
} ]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=1]
|
||||||
|
radius = 3.0
|
||||||
|
height = 2.0
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=2]
|
||||||
|
radius = 50.0
|
||||||
|
|
||||||
|
[node name="Hellhound" type="KinematicBody2D" groups=["enemies"]]
|
||||||
|
collision_layer = 2
|
||||||
|
script = ExtResource( 4 )
|
||||||
|
|
||||||
|
[node name="AnimatedSprite1" type="AnimatedSprite" parent="."]
|
||||||
|
position = Vector2( 1, -3 )
|
||||||
|
scale = Vector2( 0.5625, 0.5625 )
|
||||||
|
frames = SubResource( 20 )
|
||||||
|
animation = "Idle"
|
||||||
|
playing = true
|
||||||
|
|
||||||
|
[node name="Hitbox" type="CollisionShape2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
position = Vector2( 0, -3 )
|
||||||
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
|
[node name="Player Detector" type="Area2D" parent="."]
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
input_pickable = false
|
||||||
|
monitorable = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
||||||
|
visible = false
|
||||||
|
shape = SubResource( 2 )
|
||||||
|
|
||||||
|
[node name="Player Attack" type="Area2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
input_pickable = false
|
||||||
|
monitorable = false
|
||||||
|
|
||||||
|
[node name="Attack" type="CollisionShape2D" parent="Player Attack"]
|
||||||
|
visible = false
|
||||||
|
scale = Vector2( 0.5, 0.5 )
|
||||||
|
shape = SubResource( 2 )
|
||||||
|
|
||||||
|
[node name="Light2D" type="Light2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
scale = Vector2( 0.5, 0.5 )
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
color = Color( 0.984314, 0.94902, 0.211765, 0.392157 )
|
||||||
|
energy = 2.0
|
||||||
|
range_item_cull_mask = 11
|
||||||
|
|
||||||
|
[node name="Light2DEyes" type="Light2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
scale = Vector2( 0.1, 0.1 )
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
offset = Vector2( 5, -40 )
|
||||||
|
range_item_cull_mask = 4
|
||||||
|
|
||||||
|
[node name="LightOccluder2D" type="LightOccluder2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
show_behind_parent = true
|
||||||
|
occluder = ExtResource( 1 )
|
||||||
|
|
||||||
|
[connection signal="area_entered" from="Player Detector" to="." method="_on_player_detector_area_entered"]
|
||||||
|
[connection signal="area_exited" from="Player Detector" to="." method="_on_player_detector_area_exited"]
|
||||||
|
[connection signal="area_entered" from="Player Attack" to="." method="_on_Player_Attack_area_entered"]
|
||||||
|
[connection signal="area_exited" from="Player Attack" to="." method="_on_Player_Attack_area_exited"]
|
||||||
+15
-15
@@ -4,36 +4,36 @@ signal complete(option)
|
|||||||
|
|
||||||
|
|
||||||
func _on_new_game_button_pressed() -> void:
|
func _on_new_game_button_pressed() -> void:
|
||||||
emit_signal('complete', 'new game')
|
emit_signal('complete', 'new game')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
func _on_quit_button_pressed() -> void:
|
func _on_quit_button_pressed() -> void:
|
||||||
get_tree().quit()
|
get_tree().quit()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
func _on_continue_button_mouse_entered() -> void:
|
func _on_continue_button_mouse_entered() -> void:
|
||||||
if not $'Menu/Menu Elements/Menu Options/Continue/Continue Button'.disabled:
|
if not $'Menu/Menu Elements/Menu Options/Continue/Continue Button'.disabled:
|
||||||
$'Menu Button Hover'.play(0.0)
|
$'Menu Button Hover'.play(0.0)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
func _on_new_game_button_mouse_entered() -> void:
|
func _on_new_game_button_mouse_entered() -> void:
|
||||||
$'Menu Button Hover'.play(0.0)
|
$'Menu Button Hover'.play(0.0)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
func _on_settings_button_mouse_entered() -> void:
|
func _on_settings_button_mouse_entered() -> void:
|
||||||
$'Menu Button Hover'.play(0.0)
|
$'Menu Button Hover'.play(0.0)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
func _on_credits_button_mouse_entered() -> void:
|
func _on_credits_button_mouse_entered() -> void:
|
||||||
$'Menu Button Hover'.play(0.0)
|
$'Menu Button Hover'.play(0.0)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
func _on_quit_button_mouse_entered() -> void:
|
func _on_quit_button_mouse_entered() -> void:
|
||||||
$'Menu Button Hover'.play(0.0)
|
$'Menu Button Hover'.play(0.0)
|
||||||
return
|
return
|
||||||
+10
-10
@@ -44,7 +44,7 @@ __meta__ = {
|
|||||||
|
|
||||||
[node name="Menu Elements" type="VBoxContainer" parent="Menu"]
|
[node name="Menu Elements" type="VBoxContainer" parent="Menu"]
|
||||||
margin_left = 42.0
|
margin_left = 42.0
|
||||||
margin_top = 11.0
|
margin_top = 10.0
|
||||||
margin_right = 257.0
|
margin_right = 257.0
|
||||||
margin_bottom = 149.0
|
margin_bottom = 149.0
|
||||||
alignment = 2
|
alignment = 2
|
||||||
@@ -61,7 +61,7 @@ valign = 1
|
|||||||
[node name="Menu Options" type="VBoxContainer" parent="Menu/Menu Elements"]
|
[node name="Menu Options" type="VBoxContainer" parent="Menu/Menu Elements"]
|
||||||
margin_top = 44.0
|
margin_top = 44.0
|
||||||
margin_right = 215.0
|
margin_right = 215.0
|
||||||
margin_bottom = 138.0
|
margin_bottom = 139.0
|
||||||
|
|
||||||
[node name="Continue" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
[node name="Continue" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
||||||
margin_right = 215.0
|
margin_right = 215.0
|
||||||
@@ -79,19 +79,19 @@ texture_disabled = ExtResource( 6 )
|
|||||||
[node name="New Game" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
[node name="New Game" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
||||||
margin_top = 19.0
|
margin_top = 19.0
|
||||||
margin_right = 215.0
|
margin_right = 215.0
|
||||||
margin_bottom = 33.0
|
margin_bottom = 34.0
|
||||||
|
|
||||||
[node name="New Game Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/New Game"]
|
[node name="New Game Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/New Game"]
|
||||||
margin_left = 66.0
|
margin_left = 66.0
|
||||||
margin_right = 149.0
|
margin_right = 149.0
|
||||||
margin_bottom = 14.0
|
margin_bottom = 15.0
|
||||||
texture_normal = ExtResource( 5 )
|
texture_normal = ExtResource( 5 )
|
||||||
texture_hover = ExtResource( 7 )
|
texture_hover = ExtResource( 7 )
|
||||||
|
|
||||||
[node name="Settings" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
[node name="Settings" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
||||||
margin_top = 37.0
|
margin_top = 38.0
|
||||||
margin_right = 215.0
|
margin_right = 215.0
|
||||||
margin_bottom = 56.0
|
margin_bottom = 57.0
|
||||||
|
|
||||||
[node name="Settings Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Settings"]
|
[node name="Settings Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Settings"]
|
||||||
margin_left = 77.0
|
margin_left = 77.0
|
||||||
@@ -101,9 +101,9 @@ texture_normal = ExtResource( 1 )
|
|||||||
texture_hover = ExtResource( 10 )
|
texture_hover = ExtResource( 10 )
|
||||||
|
|
||||||
[node name="Credits" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
[node name="Credits" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
||||||
margin_top = 60.0
|
margin_top = 61.0
|
||||||
margin_right = 215.0
|
margin_right = 215.0
|
||||||
margin_bottom = 75.0
|
margin_bottom = 76.0
|
||||||
|
|
||||||
[node name="Credits Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Credits"]
|
[node name="Credits Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Credits"]
|
||||||
margin_left = 82.0
|
margin_left = 82.0
|
||||||
@@ -113,9 +113,9 @@ texture_normal = ExtResource( 3 )
|
|||||||
texture_hover = ExtResource( 9 )
|
texture_hover = ExtResource( 9 )
|
||||||
|
|
||||||
[node name="Quit" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
[node name="Quit" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
||||||
margin_top = 79.0
|
margin_top = 80.0
|
||||||
margin_right = 215.0
|
margin_right = 215.0
|
||||||
margin_bottom = 94.0
|
margin_bottom = 95.0
|
||||||
|
|
||||||
[node name="Quit Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Quit"]
|
[node name="Quit Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Quit"]
|
||||||
margin_left = 90.0
|
margin_left = 90.0
|
||||||
|
|||||||
+36
-121
@@ -1,7 +1,7 @@
|
|||||||
[gd_scene load_steps=40 format=2]
|
[gd_scene load_steps=31 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_12.png" type="Texture" id=1]
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_12.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://Sprites/Enemies/flaming skull design.png" type="Texture" id=2]
|
[ext_resource path="res://Enemies/Hellhound.tscn" type="PackedScene" id=2]
|
||||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_3.png" type="Texture" id=3]
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_3.png" type="Texture" id=3]
|
||||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_9.png" type="Texture" id=4]
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_9.png" type="Texture" id=4]
|
||||||
[ext_resource path="res://Sprites/Assets/Destructible Objects Sprite Sheet.png" type="Texture" id=5]
|
[ext_resource path="res://Sprites/Assets/Destructible Objects Sprite Sheet.png" type="Texture" id=5]
|
||||||
@@ -15,12 +15,14 @@
|
|||||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_11.png" type="Texture" id=13]
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_11.png" type="Texture" id=13]
|
||||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_8.png" type="Texture" id=14]
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_8.png" type="Texture" id=14]
|
||||||
[ext_resource path="res://Sprites/Assets/tileset_mk_16_16_nature_tileset_godot.tres" type="TileSet" id=15]
|
[ext_resource path="res://Sprites/Assets/tileset_mk_16_16_nature_tileset_godot.tres" type="TileSet" id=15]
|
||||||
[ext_resource path="res://Sprites/Enemies/hell-hound-idle.png" type="Texture" id=16]
|
|
||||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_2.png" type="Texture" id=17]
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_2.png" type="Texture" id=17]
|
||||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_7.png" type="Texture" id=18]
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_7.png" type="Texture" id=18]
|
||||||
[ext_resource path="res://Sprites/Assets/transparent16x16.png" type="Texture" id=19]
|
[ext_resource path="res://Sprites/Assets/transparent16x16.png" type="Texture" id=19]
|
||||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_5.png" type="Texture" id=20]
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_5.png" type="Texture" id=20]
|
||||||
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=21]
|
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=21]
|
||||||
|
[ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=22]
|
||||||
|
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=23]
|
||||||
|
[ext_resource path="res://Enemies/Flaming Skull.tscn" type="PackedScene" id=24]
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id=1]
|
[sub_resource type="SpriteFrames" id=1]
|
||||||
animations = [ {
|
animations = [ {
|
||||||
@@ -56,67 +58,6 @@ points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
|
|||||||
} ]
|
} ]
|
||||||
0/z_index = 0
|
0/z_index = 0
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=2]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 2 )
|
|
||||||
region = Rect2( 0, 0, 672, 672 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=3]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 2 )
|
|
||||||
region = Rect2( 672, 0, 672, 672 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=4]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 2 )
|
|
||||||
region = Rect2( 1344, 0, 672, 672 )
|
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id=5]
|
|
||||||
animations = [ {
|
|
||||||
"frames": [ SubResource( 2 ), SubResource( 3 ), SubResource( 4 ) ],
|
|
||||||
"loop": true,
|
|
||||||
"name": "default",
|
|
||||||
"speed": 5.0
|
|
||||||
} ]
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=11]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 16 )
|
|
||||||
region = Rect2( 0, 0, 64, 32 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=12]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 16 )
|
|
||||||
region = Rect2( 64, 0, 64, 32 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=13]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 16 )
|
|
||||||
region = Rect2( 128, 0, 64, 32 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=14]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 16 )
|
|
||||||
region = Rect2( 192, 0, 64, 32 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=15]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 16 )
|
|
||||||
region = Rect2( 256, 0, 64, 32 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=16]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 16 )
|
|
||||||
region = Rect2( 320, 0, 64, 32 )
|
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id=17]
|
|
||||||
animations = [ {
|
|
||||||
"frames": [ SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ) ],
|
|
||||||
"loop": true,
|
|
||||||
"name": "default",
|
|
||||||
"speed": 3.0
|
|
||||||
} ]
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=22]
|
[sub_resource type="AtlasTexture" id=22]
|
||||||
flags = 4
|
flags = 4
|
||||||
atlas = ExtResource( 5 )
|
atlas = ExtResource( 5 )
|
||||||
@@ -155,26 +96,26 @@ tile_set = ExtResource( 15 )
|
|||||||
cell_size = Vector2( 16, 16 )
|
cell_size = Vector2( 16, 16 )
|
||||||
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
||||||
format = 1
|
format = 1
|
||||||
tile_data = PoolIntArray( -524290, 0, 5, -524289, 0, 196610, -589824, 0, 196610, -589823, 0, 196610, -589822, 0, 196610, -589821, 0, 196610, -589820, 0, 196610, -589819, 0, 8, -458754, 0, 65540, -524283, 0, 65540, -393218, 0, 65540, -458747, 0, 65540, -327682, 0, 65540, -393211, 0, 65540, -262146, 0, 65540, -327675, 0, 65540, -196610, 0, 196613, -196609, 0, 8, -262140, 0, 5, -262139, 0, 196616, -131073, 0, 65540, -196604, 0, 65540, -65537, 0, 65540, -131068, 0, 65540, -131049, 0, 5, -131048, 0, 196610, -131047, 0, 196610, -131046, 0, 196610, -131045, 0, 196610, -131044, 0, 8, -1, 0, 65540, -65532, 0, 196613, -65531, 0, 196610, -65530, 0, 196610, -65529, 0, 196610, -65528, 0, 196610, -65527, 0, 196610, -65526, 0, 196610, -65525, 0, 196610, -65524, 0, 196610, -65523, 0, 196610, -65522, 0, 196610, -65521, 0, 196610, -65520, 0, 196610, -65519, 0, 196610, -65518, 0, 196610, -65517, 0, 196610, -65516, 0, 196610, -65515, 0, 196610, -65514, 0, 196610, -65513, 0, 196616, -65508, 0, 65540, 65535, 0, 65540, 28, 0, 65540, 131071, 0, 65540, 65564, 0, 65540, 196607, 0, 65540, 131100, 0, 65540, 262143, 0, 65540, 196611, 0, 196609, 196612, 0, 196610, 196613, 0, 196610, 196614, 0, 196610, 196615, 0, 196610, 196616, 0, 196610, 196617, 0, 196610, 196618, 0, 196610, 196619, 0, 196610, 196620, 0, 196610, 196621, 0, 196611, 196625, 0, 4, 196636, 0, 65540, 327679, 0, 65540, 262161, 0, 65540, 262164, 0, 5, 262165, 0, 196610, 262166, 0, 196610, 262167, 0, 8, 262172, 0, 65540, 393215, 0, 65540, 327697, 0, 65540, 327700, 0, 65540, 327703, 0, 196613, 327704, 0, 196610, 327705, 0, 196610, 327706, 0, 196610, 327707, 0, 196610, 327708, 0, 196616, 458743, 0, 5, 458744, 0, 196610, 458745, 0, 196610, 458746, 0, 196610, 458747, 0, 196610, 458748, 0, 8, 458751, 0, 65540, 393233, 0, 65540, 393236, 0, 65540, 524279, 0, 65540, 524284, 0, 196613, 524285, 0, 196610, 524286, 0, 196610, 524287, 0, 196616, 458756, 0, 4, 458760, 0, 4, 458764, 0, 4, 458769, 0, 65540, 458772, 0, 65540, 589815, 0, 65540, 524292, 0, 131076, 524296, 0, 131076, 524300, 0, 131076, 524305, 0, 131076, 524308, 0, 65540, 655351, 0, 65540, 589844, 0, 65540, 720887, 0, 65540, 655380, 0, 65540, 786423, 0, 65540, 720916, 0, 65540, 851959, 0, 65540, 851964, 0, 5, 851965, 0, 196610, 851966, 0, 196610, 851967, 0, 196610, 786432, 0, 196610, 786433, 0, 196610, 786434, 0, 196610, 786435, 0, 196610, 786436, 0, 196610, 786437, 0, 196610, 786438, 0, 196610, 786439, 0, 196610, 786440, 0, 196610, 786441, 0, 196610, 786442, 0, 196610, 786443, 0, 196610, 786444, 0, 196610, 786445, 0, 196610, 786446, 0, 196610, 786447, 0, 8, 786452, 0, 65540, 917495, 0, 196613, 917496, 0, 196610, 917497, 0, 196610, 917498, 0, 196610, 917499, 0, 196610, 917500, 0, 196616, 851983, 0, 65540, 851988, 0, 65540, 917519, 0, 65540, 917524, 0, 65540, 983054, 0, 5, 983055, 0, 196616, 983060, 0, 196613, 983061, 0, 8, 1048590, 0, 65540, 1048597, 0, 65540, 1114126, 0, 65540, 1114133, 0, 65540, 1179662, 0, 65540, 1179669, 0, 65540, 1245198, 0, 65540, 1245205, 0, 65540, 1310734, 0, 196613, 1310735, 0, 196610, 1310736, 0, 196610, 1310737, 0, 196610, 1310738, 0, 196610, 1310739, 0, 196610, 1310740, 0, 196610, 1310741, 0, 196616 )
|
tile_data = PoolIntArray( -524290, 0, 5, -524289, 0, 196610, -589824, 0, 196610, -589823, 0, 196610, -589822, 0, 196610, -589821, 0, 196610, -589820, 0, 196610, -589819, 0, 8, -458754, 0, 65540, -524283, 0, 65540, -393218, 0, 65540, -458747, 0, 65540, -327682, 0, 65540, -393211, 0, 65540, -262146, 0, 65540, -327675, 0, 65540, -196610, 0, 196613, -196609, 0, 8, -262140, 0, 5, -262139, 0, 196616, -131073, 0, 65540, -196604, 0, 65540, -65537, 0, 65540, -131068, 0, 65540, -131049, 0, 5, -131048, 0, 196610, -131047, 0, 196610, -131046, 0, 196610, -131045, 0, 196610, -131044, 0, 8, -1, 0, 65540, -65532, 0, 196613, -65531, 0, 196610, -65530, 0, 196610, -65529, 0, 196610, -65528, 0, 196610, -65527, 0, 196610, -65526, 0, 196610, -65525, 0, 196610, -65524, 0, 196610, -65523, 0, 196610, -65522, 0, 196610, -65521, 0, 196610, -65520, 0, 196610, -65519, 0, 196610, -65518, 0, 196610, -65517, 0, 196610, -65516, 0, 196610, -65515, 0, 196610, -65514, 0, 196610, -65513, 0, 196616, -65508, 0, 65540, 65535, 0, 65540, 28, 0, 65540, 131071, 0, 65540, 65564, 0, 65540, 196607, 0, 65540, 131100, 0, 65540, 262143, 0, 65540, 196611, 0, 196609, 196612, 0, 196610, 196613, 0, 196610, 196614, 0, 196611, 196618, 0, 196609, 196619, 0, 196610, 196620, 0, 196610, 196621, 0, 196611, 196625, 0, 4, 196636, 0, 65540, 327679, 0, 65540, 262161, 0, 65540, 262164, 0, 5, 262165, 0, 196610, 262166, 0, 196610, 262167, 0, 8, 262172, 0, 65540, 393215, 0, 65540, 327697, 0, 65540, 327700, 0, 65540, 327703, 0, 196613, 327704, 0, 196610, 327705, 0, 196610, 327706, 0, 196610, 327707, 0, 196610, 327708, 0, 196616, 458743, 0, 5, 458744, 0, 196610, 458745, 0, 196610, 458746, 0, 196610, 458747, 0, 196610, 458748, 0, 8, 458751, 0, 65540, 393233, 0, 65540, 393236, 0, 65540, 524279, 0, 65540, 524284, 0, 196613, 524285, 0, 196610, 524286, 0, 196610, 524287, 0, 196616, 458756, 0, 4, 458760, 0, 4, 458764, 0, 4, 458769, 0, 65540, 458772, 0, 65540, 589815, 0, 65540, 524292, 0, 131076, 524296, 0, 131076, 524300, 0, 131076, 524305, 0, 131076, 524308, 0, 65540, 655351, 0, 65540, 589844, 0, 65540, 720887, 0, 65540, 655380, 0, 65540, 786423, 0, 65540, 720916, 0, 65540, 851959, 0, 65540, 851964, 0, 5, 851965, 0, 196610, 851966, 0, 196610, 851967, 0, 196610, 786432, 0, 196610, 786433, 0, 196610, 786434, 0, 196610, 786435, 0, 196610, 786436, 0, 196610, 786437, 0, 196610, 786438, 0, 196610, 786439, 0, 196610, 786440, 0, 196610, 786441, 0, 196610, 786442, 0, 196610, 786443, 0, 196610, 786444, 0, 196610, 786445, 0, 196610, 786446, 0, 196610, 786447, 0, 8, 786452, 0, 65540, 917495, 0, 196613, 917496, 0, 196610, 917497, 0, 196610, 917498, 0, 196610, 917499, 0, 196610, 917500, 0, 196616, 851983, 0, 65540, 851988, 0, 65540, 917519, 0, 65540, 917524, 0, 65540, 983054, 0, 5, 983055, 0, 196616, 983060, 0, 196613, 983061, 0, 8, 1048590, 0, 65540, 1048597, 0, 65540, 1114126, 0, 65540, 1114133, 0, 65540, 1179662, 0, 65540, 1179669, 0, 65540, 1245198, 0, 65540, 1245205, 0, 65540, 1310734, 0, 196613, 1310735, 0, 196610, 1310736, 0, 196610, 1310737, 0, 196610, 1310738, 0, 196610, 1310739, 0, 196610, 1310740, 0, 196610, 1310741, 0, 196616 )
|
||||||
|
|
||||||
[node name="Fire3" type="AnimatedSprite" parent="."]
|
[node name="Fire3" type="AnimatedSprite" parent="."]
|
||||||
position = Vector2( -607.628, -210.601 )
|
position = Vector2( -607.628, -210.601 )
|
||||||
frames = SubResource( 1 )
|
frames = SubResource( 1 )
|
||||||
frame = 9
|
frame = 12
|
||||||
playing = true
|
playing = true
|
||||||
offset = Vector2( 679.819, 333.222 )
|
offset = Vector2( 679.819, 333.222 )
|
||||||
|
|
||||||
[node name="Fire2" type="AnimatedSprite" parent="."]
|
[node name="Fire2" type="AnimatedSprite" parent="."]
|
||||||
position = Vector2( -543.25, -212.563 )
|
position = Vector2( -543.25, -212.563 )
|
||||||
frames = SubResource( 1 )
|
frames = SubResource( 1 )
|
||||||
frame = 12
|
frame = 1
|
||||||
playing = true
|
playing = true
|
||||||
offset = Vector2( 679.819, 333.222 )
|
offset = Vector2( 679.819, 333.222 )
|
||||||
|
|
||||||
[node name="Fire1" type="AnimatedSprite" parent="."]
|
[node name="Fire1" type="AnimatedSprite" parent="."]
|
||||||
position = Vector2( -479.806, -214.167 )
|
position = Vector2( -479.806, -214.167 )
|
||||||
frames = SubResource( 1 )
|
frames = SubResource( 1 )
|
||||||
frame = 5
|
frame = 8
|
||||||
playing = true
|
playing = true
|
||||||
offset = Vector2( 679.819, 333.222 )
|
offset = Vector2( 679.819, 333.222 )
|
||||||
|
|
||||||
@@ -183,82 +124,52 @@ tile_set = ExtResource( 15 )
|
|||||||
cell_size = Vector2( 16, 16 )
|
cell_size = Vector2( 16, 16 )
|
||||||
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
||||||
format = 1
|
format = 1
|
||||||
tile_data = PoolIntArray( -458753, 8, 37, -524288, 8, 38, -524287, 8, 38, -524286, 8, 38, -524285, 8, 38, -524284, 8, 39, -393217, 8, 65573, -458752, 8, 65574, -458751, 8, 65574, -458750, 8, 65574, -458749, 8, 65574, -458748, 8, 65575, -327681, 8, 65573, -393216, 8, 65574, -393215, 8, 65574, -393214, 8, 65574, -393213, 8, 65574, -393212, 8, 65575, -262145, 8, 131109, -327680, 8, 65579, -327679, 8, 65574, -327678, 8, 65574, -327677, 8, 65578, -327676, 8, 131111, -262144, 8, 65573, -262143, 8, 65574, -262142, 8, 65574, -262141, 8, 65575, -196608, 8, 65573, -196607, 8, 65574, -196606, 8, 65574, -196605, 8, 65575, -131072, 8, 65573, -131071, 8, 65574, -131070, 8, 65574, -131069, 8, 65575, -65536, 8, 65573, -65535, 8, 65574, -65534, 8, 65574, -65533, 8, 65575, -65512, 8, 37, -65511, 8, 38, -65510, 8, 38, -65509, 8, 39, 0, 8, 65573, 1, 8, 65574, 2, 8, 65574, 3, 8, 131114, 4, 8, 38, 5, 8, 38, 6, 8, 38, 7, 8, 38, 8, 8, 38, 9, 8, 38, 10, 8, 38, 11, 8, 38, 12, 8, 38, 13, 8, 38, 14, 8, 38, 15, 8, 38, 16, 8, 38, 17, 8, 38, 18, 8, 38, 19, 8, 38, 20, 8, 38, 21, 8, 38, 22, 8, 38, 23, 8, 38, 24, 8, 131115, 25, 8, 65574, 26, 8, 65574, 27, 8, 65575, 65536, 8, 65573, 65537, 8, 65574, 65538, 8, 65574, 65539, 8, 65574, 65540, 8, 65574, 65541, 8, 65574, 65542, 8, 65574, 65543, 8, 65574, 65544, 8, 65574, 65545, 8, 65574, 65546, 8, 65574, 65547, 8, 65574, 65548, 8, 65574, 65549, 8, 65574, 65550, 8, 65574, 65551, 8, 65574, 65552, 8, 65574, 65553, 8, 65574, 65554, 8, 65574, 65555, 8, 65574, 65556, 8, 65574, 65557, 8, 65574, 65558, 8, 65574, 65559, 8, 65574, 65560, 8, 65574, 65561, 8, 65574, 65562, 8, 65574, 65563, 8, 65575, 131072, 8, 65573, 131073, 8, 65574, 131074, 8, 65578, 131075, 8, 131110, 131076, 8, 131110, 131077, 8, 131110, 131078, 8, 131110, 131079, 8, 131110, 131080, 8, 131110, 131081, 8, 131110, 131082, 8, 131110, 131083, 8, 131110, 131084, 8, 131110, 131085, 8, 131110, 131086, 8, 65579, 131087, 8, 65574, 131088, 8, 65578, 131089, 8, 131110, 131090, 8, 65579, 131091, 8, 65574, 131092, 8, 65574, 131093, 8, 65574, 131094, 8, 65574, 131095, 8, 65574, 131096, 8, 65574, 131097, 8, 65574, 131098, 8, 65574, 131099, 8, 65575, 196608, 8, 65573, 196609, 8, 65574, 196610, 8, 65575, 196622, 8, 65573, 196623, 8, 65574, 196624, 8, 65575, 196626, 8, 65573, 196627, 8, 65578, 196628, 8, 131110, 196629, 8, 131110, 196630, 8, 131110, 196631, 8, 131110, 196632, 8, 65579, 196633, 8, 65574, 196634, 8, 65574, 196635, 8, 65575, 262144, 8, 65573, 262145, 8, 65574, 262146, 8, 131114, 262147, 8, 38, 262148, 8, 38, 262149, 8, 38, 262150, 8, 38, 262151, 8, 38, 262152, 8, 38, 262153, 8, 38, 262154, 8, 38, 262155, 8, 38, 262156, 8, 38, 262157, 8, 38, 262158, 8, 131115, 262159, 8, 65574, 262160, 8, 65575, 262162, 8, 65573, 262163, 8, 65575, 262168, 8, 131109, 262169, 8, 131110, 262170, 8, 131110, 262171, 8, 131111, 327680, 8, 65573, 327681, 8, 65574, 327682, 8, 65574, 327683, 8, 65574, 327684, 8, 65574, 327685, 8, 65574, 327686, 8, 65574, 327687, 8, 65574, 327688, 8, 65574, 327689, 8, 65574, 327690, 8, 65574, 327691, 8, 65574, 327692, 8, 65574, 327693, 8, 65574, 327694, 8, 65574, 327695, 8, 65574, 327696, 8, 65575, 327698, 8, 65573, 327699, 8, 65575, 393216, 8, 65573, 393217, 8, 65574, 393218, 8, 65574, 393219, 8, 65578, 393220, 8, 131110, 393221, 8, 65579, 393222, 8, 65574, 393223, 8, 65578, 393224, 8, 131110, 393225, 8, 65579, 393226, 8, 65574, 393227, 8, 65578, 393228, 8, 131110, 393229, 8, 65579, 393230, 8, 65574, 393231, 8, 65574, 393232, 8, 65575, 393234, 8, 65573, 393235, 8, 65575, 524280, 8, 37, 524281, 8, 38, 524282, 8, 38, 524283, 8, 39, 458752, 8, 65573, 458753, 8, 65574, 458754, 8, 65574, 458755, 8, 65575, 458757, 8, 65573, 458758, 8, 65574, 458759, 8, 65575, 458761, 8, 65573, 458762, 8, 65574, 458763, 8, 65575, 458765, 8, 65573, 458766, 8, 65574, 458767, 8, 65574, 458768, 8, 65575, 458770, 8, 65573, 458771, 8, 65575, 589816, 8, 65573, 589817, 8, 65574, 589818, 8, 65574, 589819, 8, 131114, 589820, 8, 38, 589821, 8, 38, 589822, 8, 38, 589823, 8, 38, 524288, 8, 131115, 524289, 8, 65574, 524290, 8, 65574, 524291, 8, 65575, 524293, 8, 65573, 524294, 8, 65574, 524295, 8, 65575, 524297, 8, 65573, 524298, 8, 65574, 524299, 8, 65575, 524301, 8, 65573, 524302, 8, 65574, 524303, 8, 65574, 524304, 8, 65575, 524306, 8, 65573, 524307, 8, 65575, 655352, 8, 65573, 655353, 8, 65574, 655354, 8, 65574, 655355, 8, 65574, 655356, 8, 65574, 655357, 8, 65574, 655358, 8, 65574, 655359, 8, 65574, 589824, 8, 65574, 589825, 8, 65574, 589826, 8, 65574, 589827, 8, 131114, 589828, 8, 38, 589829, 8, 131115, 589830, 8, 65574, 589831, 8, 131114, 589832, 8, 38, 589833, 8, 131115, 589834, 8, 65574, 589835, 8, 131114, 589836, 8, 38, 589837, 8, 131115, 589838, 8, 65574, 589839, 8, 65574, 589840, 8, 131114, 589841, 8, 38, 589842, 8, 131115, 589843, 8, 65575, 720888, 8, 65573, 720889, 8, 65574, 720890, 8, 65574, 720891, 8, 65574, 720892, 8, 65574, 720893, 8, 65574, 720894, 8, 65574, 720895, 8, 65574, 655360, 8, 65574, 655361, 8, 65574, 655362, 8, 65574, 655363, 8, 65574, 65536Line truncated
|
tile_data = PoolIntArray( -458753, 8, 37, -524288, 8, 38, -524287, 8, 38, -524286, 8, 38, -524285, 8, 38, -524284, 8, 39, -393217, 8, 65573, -458752, 8, 65574, -458751, 8, 65574, -458750, 8, 65574, -458749, 8, 65574, -458748, 8, 65575, -327681, 8, 65573, -393216, 8, 65574, -393215, 8, 65574, -393214, 8, 65574, -393213, 8, 65574, -393212, 8, 65575, -262145, 8, 131109, -327680, 8, 65579, -327679, 8, 65574, -327678, 8, 65574, -327677, 8, 65578, -327676, 8, 131111, -262144, 8, 65573, -262143, 8, 65574, -262142, 8, 65574, -262141, 8, 65575, -196608, 8, 65573, -196607, 8, 65574, -196606, 8, 65574, -196605, 8, 65575, -131072, 8, 65573, -131071, 8, 65574, -131070, 8, 65574, -131069, 8, 65575, -65536, 8, 65573, -65535, 8, 65574, -65534, 8, 65574, -65533, 8, 65575, -65512, 8, 37, -65511, 8, 38, -65510, 8, 38, -65509, 8, 39, 0, 8, 65573, 1, 8, 65574, 2, 8, 65574, 3, 8, 131114, 4, 8, 38, 5, 8, 38, 6, 8, 38, 7, 8, 38, 8, 8, 38, 9, 8, 38, 10, 8, 38, 11, 8, 38, 12, 8, 38, 13, 8, 38, 14, 8, 38, 15, 8, 38, 16, 8, 38, 17, 8, 38, 18, 8, 38, 19, 8, 38, 20, 8, 38, 21, 8, 38, 22, 8, 38, 23, 8, 38, 24, 8, 131115, 25, 8, 65574, 26, 8, 65574, 27, 8, 65575, 65536, 8, 65573, 65537, 8, 65574, 65538, 8, 65574, 65539, 8, 65574, 65540, 8, 65574, 65541, 8, 65574, 65542, 8, 65574, 65543, 8, 65574, 65544, 8, 65574, 65545, 8, 65574, 65546, 8, 65574, 65547, 8, 65574, 65548, 8, 65574, 65549, 8, 65574, 65550, 8, 65574, 65551, 8, 65574, 65552, 8, 65574, 65553, 8, 65574, 65554, 8, 65574, 65555, 8, 65574, 65556, 8, 65574, 65557, 8, 65574, 65558, 8, 65574, 65559, 8, 65574, 65560, 8, 65574, 65561, 8, 65574, 65562, 8, 65574, 65563, 8, 65575, 131072, 8, 65573, 131073, 8, 65574, 131074, 8, 65578, 131075, 8, 131110, 131076, 8, 131110, 131077, 8, 131110, 131078, 8, 131110, 131079, 8, 65579, 131080, 8, 65574, 131081, 8, 65578, 131082, 8, 131110, 131083, 8, 131110, 131084, 8, 131110, 131085, 8, 131110, 131086, 8, 65579, 131087, 8, 65574, 131088, 8, 65578, 131089, 8, 131110, 131090, 8, 65579, 131091, 8, 65574, 131092, 8, 65574, 131093, 8, 65574, 131094, 8, 65574, 131095, 8, 65574, 131096, 8, 65574, 131097, 8, 65574, 131098, 8, 65574, 131099, 8, 65575, 196608, 8, 65573, 196609, 8, 65574, 196610, 8, 65575, 196615, 8, 65573, 196616, 8, 65574, 196617, 8, 65575, 196622, 8, 65573, 196623, 8, 65574, 196624, 8, 65575, 196626, 8, 65573, 196627, 8, 65578, 196628, 8, 131110, 196629, 8, 131110, 196630, 8, 131110, 196631, 8, 131110, 196632, 8, 65579, 196633, 8, 65574, 196634, 8, 65574, 196635, 8, 65575, 262144, 8, 65573, 262145, 8, 65574, 262146, 8, 131114, 262147, 8, 38, 262148, 8, 38, 262149, 8, 38, 262150, 8, 38, 262151, 8, 131115, 262152, 8, 65574, 262153, 8, 131114, 262154, 8, 38, 262155, 8, 38, 262156, 8, 38, 262157, 8, 38, 262158, 8, 131115, 262159, 8, 65574, 262160, 8, 65575, 262162, 8, 65573, 262163, 8, 65575, 262168, 8, 131109, 262169, 8, 131110, 262170, 8, 131110, 262171, 8, 131111, 327680, 8, 65573, 327681, 8, 65574, 327682, 8, 65574, 327683, 8, 65574, 327684, 8, 65574, 327685, 8, 65574, 327686, 8, 65574, 327687, 8, 65574, 327688, 8, 65574, 327689, 8, 65574, 327690, 8, 65574, 327691, 8, 65574, 327692, 8, 65574, 327693, 8, 65574, 327694, 8, 65574, 327695, 8, 65574, 327696, 8, 65575, 327698, 8, 65573, 327699, 8, 65575, 393216, 8, 65573, 393217, 8, 65574, 393218, 8, 65574, 393219, 8, 65578, 393220, 8, 131110, 393221, 8, 65579, 393222, 8, 65574, 393223, 8, 65578, 393224, 8, 131110, 393225, 8, 65579, 393226, 8, 65574, 393227, 8, 65578, 393228, 8, 131110, 393229, 8, 65579, 393230, 8, 65574, 393231, 8, 65574, 393232, 8, 65575, 393234, 8, 65573, 393235, 8, 65575, 524280, 8, 37, 524281, 8, 38, 524282, 8, 38, 524283, 8, 39, 458752, 8, 65573, 458753, 8, 65574, 458754, 8, 65574, 458755, 8, 65575, 458757, 8, 65573, 458758, 8, 65574, 458759, 8, 65575, 458761, 8, 65573, 458762, 8, 65574, 458763, 8, 65575, 458765, 8, 65573, 458766, 8, 65574, 458767, 8, 65574, 458768, 8, 65575, 458770, 8, 65573, 458771, 8, 65575, 589816, 8, 65573, 589817, 8, 65574, 589818, 8, 65574, 589819, 8, 131114, 589820, 8, 38, 589821, 8, 38, 589822, 8, 38, 589823, 8, 38, 524288, 8, 131115, 524289, 8, 65574, 524290, 8, 65574, 524291, 8, 65575, 524293, 8, 65573, 524294, 8, 65574, 524295, 8, 65575, 524297, 8, 65573, 524298, 8, 65574, 524299, 8, 65575, 524301, 8, 65573, 524302, 8, 65574, 524303, 8, 65574, 524304, 8, 65575, 524306, 8, 65573, 524307, 8, 65575, 655352, 8, 65573, 655353, 8, 65574, 655354, 8, 65574, 655355, 8, 65574, 655356, 8, 65574, 655357, 8, 65574, 655358, 8, 65574, 655359, 8, 65574, 589824, 8, 65574, 589825, 8, 65574, 589826, 8, 65574, 589827, 8, 131114, 589828, 8, 38, 589829, 8, 131115, 589830, 8, 65574, 589831, 8, 131114, 589832, 8, 38, 589833, 8, 131115, 589834, 8, 65574, 589835, 8, 131114, 589836, 8, 38, 589837, 8, 131115, 589838, 8, 65574, 589839, 8, 65574, 589840, 8, 131114, 589841, 8, 38, 589842, 8, 131115, 589843, 8, 65575, 720888, 8, 65573, 720889, 8, 65574, 720890, 8, 65574, 720891, 8, 65574, 720892, 8, 65574, 720893, 8, 65574, 720894, 8, 65574, 720895, 8, 65574, 655360, 8, 6557Line truncated
|
||||||
|
|
||||||
[node name="Wall (Collision)" type="TileMap" parent="."]
|
[node name="Wall (Collision)" type="TileMap" parent="."]
|
||||||
tile_set = SubResource( 9 )
|
tile_set = SubResource( 9 )
|
||||||
cell_size = Vector2( 16, 16 )
|
cell_size = Vector2( 16, 16 )
|
||||||
cell_custom_transform = Transform2D( 8, 0, 0, 8, 0, 0 )
|
cell_custom_transform = Transform2D( 8, 0, 0, 8, 0, 0 )
|
||||||
show_collision = true
|
show_collision = true
|
||||||
|
collision_layer = 2
|
||||||
|
collision_mask = 2
|
||||||
format = 1
|
format = 1
|
||||||
tile_data = PoolIntArray( -524290, 0, 0, -524289, 0, 0, -589824, 0, 0, -589823, 0, 0, -589822, 0, 0, -589821, 0, 0, -589820, 0, 0, -589819, 0, 0, -458754, 0, 0, -524283, 0, 0, -393218, 0, 0, -458747, 0, 0, -327682, 0, 0, -393211, 0, 0, -262146, 0, 0, -327675, 0, 0, -196610, 0, 0, -196609, 0, 0, -262140, 0, 0, -262139, 0, 0, -131073, 0, 0, -196604, 0, 0, -65537, 0, 0, -131068, 0, 0, -131049, 0, 0, -131048, 0, 0, -131047, 0, 0, -131046, 0, 0, -131045, 0, 0, -131044, 0, 0, -1, 0, 0, -65532, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, 0, -65528, 0, 0, -65527, 0, 0, -65526, 0, 0, -65525, 0, 0, -65524, 0, 0, -65523, 0, 0, -65522, 0, 0, -65521, 0, 0, -65520, 0, 0, -65519, 0, 0, -65518, 0, 0, -65517, 0, 0, -65516, 0, 0, -65515, 0, 0, -65514, 0, 0, -65513, 0, 0, -65508, 0, 0, 65535, 0, 0, 28, 0, 0, 131071, 0, 0, 65564, 0, 0, 196607, 0, 0, 131100, 0, 0, 262143, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0, 196617, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196625, 0, 0, 196636, 0, 0, 327679, 0, 0, 262161, 0, 0, 262164, 0, 0, 262165, 0, 0, 262166, 0, 0, 262167, 0, 0, 262172, 0, 0, 393215, 0, 0, 327697, 0, 0, 327700, 0, 0, 327703, 0, 0, 327704, 0, 0, 327705, 0, 0, 327706, 0, 0, 327707, 0, 0, 327708, 0, 0, 458743, 0, 0, 458744, 0, 0, 458745, 0, 0, 458746, 0, 0, 458747, 0, 0, 458748, 0, 0, 458751, 0, 0, 393233, 0, 0, 393236, 0, 0, 524279, 0, 0, 524284, 0, 0, 524285, 0, 0, 524286, 0, 0, 524287, 0, 0, 458756, 0, 0, 458760, 0, 0, 458764, 0, 0, 458769, 0, 0, 458772, 0, 0, 589815, 0, 0, 524292, 0, 0, 524296, 0, 0, 524300, 0, 0, 524305, 0, 0, 524308, 0, 0, 655351, 0, 0, 589844, 0, 0, 720887, 0, 0, 655380, 0, 0, 786423, 0, 0, 720916, 0, 0, 851959, 0, 0, 851964, 0, 0, 851965, 0, 0, 851966, 0, 0, 851967, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786452, 0, 0, 917495, 0, 0, 917496, 0, 0, 917497, 0, 0, 917498, 0, 0, 917499, 0, 0, 917500, 0, 0, 851983, 0, 0, 851988, 0, 0, 917519, 0, 0, 917524, 0, 0, 983054, 0, 0, 983055, 0, 0, 983060, 0, 0, 983061, 0, 0, 1048590, 0, 0, 1048597, 0, 0, 1114126, 0, 0, 1114133, 0, 0, 1179662, 0, 0, 1179669, 0, 0, 1245198, 0, 0, 1245205, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 0, 0, 1310739, 0, 0, 1310740, 0, 0, 1310741, 0, 0 )
|
tile_data = PoolIntArray( -524290, 0, 0, -524289, 0, 0, -589824, 0, 0, -589823, 0, 0, -589822, 0, 0, -589821, 0, 0, -589820, 0, 0, -589819, 0, 0, -458754, 0, 0, -524283, 0, 0, -393218, 0, 0, -458747, 0, 0, -327682, 0, 0, -393211, 0, 0, -262146, 0, 0, -327675, 0, 0, -196610, 0, 0, -196609, 0, 0, -262140, 0, 0, -262139, 0, 0, -131073, 0, 0, -196604, 0, 0, -65537, 0, 0, -131068, 0, 0, -131049, 0, 0, -131048, 0, 0, -131047, 0, 0, -131046, 0, 0, -131045, 0, 0, -131044, 0, 0, -1, 0, 0, -65532, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, 0, -65528, 0, 0, -65527, 0, 0, -65526, 0, 0, -65525, 0, 0, -65524, 0, 0, -65523, 0, 0, -65522, 0, 0, -65521, 0, 0, -65520, 0, 0, -65519, 0, 0, -65518, 0, 0, -65517, 0, 0, -65516, 0, 0, -65515, 0, 0, -65514, 0, 0, -65513, 0, 0, -65508, 0, 0, 65535, 0, 0, 28, 0, 0, 131071, 0, 0, 65564, 0, 0, 196607, 0, 0, 131100, 0, 0, 262143, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196625, 0, 0, 196636, 0, 0, 327679, 0, 0, 262161, 0, 0, 262164, 0, 0, 262165, 0, 0, 262166, 0, 0, 262167, 0, 0, 262172, 0, 0, 393215, 0, 0, 327697, 0, 0, 327700, 0, 0, 327703, 0, 0, 327704, 0, 0, 327705, 0, 0, 327706, 0, 0, 327707, 0, 0, 327708, 0, 0, 458743, 0, 0, 458744, 0, 0, 458745, 0, 0, 458746, 0, 0, 458747, 0, 0, 458748, 0, 0, 458751, 0, 0, 393233, 0, 0, 393236, 0, 0, 524279, 0, 0, 524284, 0, 0, 524285, 0, 0, 524286, 0, 0, 524287, 0, 0, 458756, 0, 0, 458760, 0, 0, 458764, 0, 0, 458769, 0, 0, 458772, 0, 0, 589815, 0, 0, 524292, 0, 0, 524296, 0, 0, 524300, 0, 0, 524305, 0, 0, 524308, 0, 0, 655351, 0, 0, 589844, 0, 0, 720887, 0, 0, 655380, 0, 0, 786423, 0, 0, 720916, 0, 0, 851959, 0, 0, 851964, 0, 0, 851965, 0, 0, 851966, 0, 0, 851967, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786452, 0, 0, 917495, 0, 0, 917496, 0, 0, 917497, 0, 0, 917498, 0, 0, 917499, 0, 0, 917500, 0, 0, 851983, 0, 0, 851988, 0, 0, 917519, 0, 0, 917524, 0, 0, 983054, 0, 0, 983055, 0, 0, 983060, 0, 0, 983061, 0, 0, 1048590, 0, 0, 1048597, 0, 0, 1114126, 0, 0, 1114133, 0, 0, 1179662, 0, 0, 1179669, 0, 0, 1245198, 0, 0, 1245205, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 0, 0, 1310739, 0, 0, 1310740, 0, 0, 1310741, 0, 0 )
|
||||||
|
|
||||||
[node name="YSort" type="YSort" parent="."]
|
[node name="YSort" type="YSort" parent="."]
|
||||||
|
|
||||||
[node name="Player" parent="YSort" instance=ExtResource( 21 )]
|
[node name="Player" parent="YSort" instance=ExtResource( 21 )]
|
||||||
|
position = Vector2( 158, 91 )
|
||||||
collision_mask = 2
|
collision_mask = 2
|
||||||
|
|
||||||
[node name="Camera2D" type="Camera2D" parent="YSort/Player"]
|
[node name="Camera2D" type="Camera2D" parent="YSort/Player"]
|
||||||
current = true
|
current = true
|
||||||
|
|
||||||
[node name="Enemy1" type="AnimatedSprite" parent="."]
|
[node name="Enemies" type="YSort" parent="YSort"]
|
||||||
position = Vector2( 241.42, 47.9541 )
|
|
||||||
scale = Vector2( 0.0411513, 0.0411513 )
|
|
||||||
frames = SubResource( 5 )
|
|
||||||
playing = true
|
|
||||||
offset = Vector2( 336, -471.17 )
|
|
||||||
|
|
||||||
[node name="Enemy2" type="AnimatedSprite" parent="."]
|
[node name="Flaming Skull" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||||
position = Vector2( 153.395, 147.592 )
|
position = Vector2( 25, 53 )
|
||||||
scale = Vector2( 0.0411513, 0.0411513 )
|
|
||||||
frames = SubResource( 5 )
|
|
||||||
frame = 1
|
|
||||||
playing = true
|
|
||||||
offset = Vector2( 336, -471.17 )
|
|
||||||
|
|
||||||
[node name="Enemy3" type="AnimatedSprite" parent="."]
|
[node name="Flaming Skull2" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||||
position = Vector2( 21.1693, 117.625 )
|
position = Vector2( 29, 158 )
|
||||||
scale = Vector2( 0.0411513, 0.0411513 )
|
|
||||||
frames = SubResource( 5 )
|
|
||||||
playing = true
|
|
||||||
offset = Vector2( 336, -471.17 )
|
|
||||||
|
|
||||||
[node name="Enemy4" type="AnimatedSprite" parent="."]
|
[node name="Flaming Skull3" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||||
position = Vector2( 268.39, 182.802 )
|
position = Vector2( 281, 22 )
|
||||||
scale = Vector2( 0.0411513, 0.0411513 )
|
|
||||||
frames = SubResource( 5 )
|
|
||||||
playing = true
|
|
||||||
offset = Vector2( 336, -471.17 )
|
|
||||||
|
|
||||||
[node name="Dog1" type="AnimatedSprite" parent="."]
|
[node name="Flaming Skull4" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||||
position = Vector2( 33.2339, -83.7921 )
|
position = Vector2( 242, 149 )
|
||||||
scale = Vector2( 0.646447, 0.646447 )
|
|
||||||
frames = SubResource( 17 )
|
|
||||||
frame = 1
|
|
||||||
playing = true
|
|
||||||
flip_h = true
|
|
||||||
|
|
||||||
[node name="Dog2" type="AnimatedSprite" parent="."]
|
[node name="Hellhound" parent="YSort/Enemies" instance=ExtResource( 2 )]
|
||||||
position = Vector2( 398.101, 29.6985 )
|
position = Vector2( -77, 157 )
|
||||||
scale = Vector2( 0.646447, 0.646447 )
|
|
||||||
frames = SubResource( 17 )
|
|
||||||
frame = 5
|
|
||||||
playing = true
|
|
||||||
|
|
||||||
[node name="Dog3" type="AnimatedSprite" parent="."]
|
[node name="Hellhound2" parent="YSort/Enemies" instance=ExtResource( 2 )]
|
||||||
position = Vector2( 292.529, 267.123 )
|
position = Vector2( 395, 33 )
|
||||||
scale = Vector2( 0.646447, 0.646447 )
|
|
||||||
frames = SubResource( 17 )
|
|
||||||
frame = 3
|
|
||||||
playing = true
|
|
||||||
|
|
||||||
[node name="Dog4" type="AnimatedSprite" parent="."]
|
[node name="Hellhound3" parent="YSort/Enemies" instance=ExtResource( 2 )]
|
||||||
position = Vector2( -72.8404, 159.068 )
|
position = Vector2( 34, -81 )
|
||||||
scale = Vector2( 0.646447, 0.646447 )
|
|
||||||
frames = SubResource( 17 )
|
[node name="Hellhound4" parent="YSort/Enemies" instance=ExtResource( 2 )]
|
||||||
frame = 2
|
position = Vector2( 290, 273 )
|
||||||
playing = true
|
|
||||||
flip_h = true
|
|
||||||
|
|
||||||
[node name="Chest1" type="AnimatedSprite" parent="."]
|
[node name="Chest1" type="AnimatedSprite" parent="."]
|
||||||
position = Vector2( 35.1075, -101.959 )
|
position = Vector2( 35.1075, -101.959 )
|
||||||
@@ -287,3 +198,7 @@ scale = Vector2( 0.533564, 0.533564 )
|
|||||||
frames = SubResource( 21 )
|
frames = SubResource( 21 )
|
||||||
frame = 2
|
frame = 2
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
|
[node name="HUD" parent="." instance=ExtResource( 23 )]
|
||||||
|
|
||||||
|
[node name="Pause Screen" parent="." instance=ExtResource( 22 )]
|
||||||
+2
-2
@@ -2,5 +2,5 @@ extends Node2D
|
|||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
$YSort/Player.load_hud($HUD)
|
$YSort/Player.load_hud($HUD)
|
||||||
return
|
return
|
||||||
+1
-1
@@ -56,7 +56,7 @@ func _on_Hitbox_body_entered(body: Node) -> void:
|
|||||||
|
|
||||||
if health_index != 0:
|
if health_index != 0:
|
||||||
health_index -= 1
|
health_index -= 1
|
||||||
hud.update_health(HEALTH_SLICES[health_index])
|
#hud.update_health(HEALTH_SLICES[health_index])
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user