Added win condition for level 1 and added boss fight for level 5

This commit is contained in:
VoidTwo committed 2021-12-10 14:23:23 -06:00
1 parent 3c880d1566
commit e5aafa6cd0
73 files changed
+788 -1297

No files matched your search

+4 -8
View File
@@ -16,9 +16,7 @@ height = 2.0
[sub_resource type="CircleShape2D" id=3] [sub_resource type="CircleShape2D" id=3]
radius = 50.0 radius = 50.0
[node name="Chasing Glowing Ghost" type="KinematicBody2D" groups=[ [node name="Chasing Glowing Ghost" type="KinematicBody2D" groups=["enemy"]]
"enemy",
]]
light_mask = 0 light_mask = 0
collision_layer = 4 collision_layer = 4
collision_mask = 5 collision_mask = 5
@@ -36,9 +34,7 @@ light_mask = 0
rotation = 1.5708 rotation = 1.5708
shape = SubResource( 1 ) shape = SubResource( 1 )
[node name="Hitbox" type="Area2D" parent="." groups=[ [node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox_1"]]
"enemy_hitbox_1",
]]
light_mask = 0 light_mask = 0
collision_layer = 4 collision_layer = 4
collision_mask = 2 collision_mask = 2
@@ -51,10 +47,10 @@ shape = SubResource( 2 )
[node name="Player Detector" type="Area2D" parent="."] [node name="Player Detector" type="Area2D" parent="."]
light_mask = 0 light_mask = 0
input_pickable = false
monitorable = false
collision_layer = 0 collision_layer = 0
collision_mask = 2 collision_mask = 2
input_pickable = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
visible = false visible = false
+2
View File
@@ -1,5 +1,6 @@
extends KinematicBody2D extends KinematicBody2D
signal death
# Declare member variables here. Examples: # Declare member variables here. Examples:
# var a = 2 # var a = 2
# var b = "text" # var b = "text"
@@ -74,5 +75,6 @@ func _on_Hitbox_area_entered(area: Area2D):
health -= 2 health -= 2
if health <= 0: if health <= 0:
emit_signal('death')
call_deferred('queue_free') call_deferred('queue_free')
return return
+78
View File
@@ -0,0 +1,78 @@
extends StaticBody2D
signal death
export var glowing_blue_fireball: PackedScene
var player: KinematicBody2D = null
var health: int = 12
var center: Vector2
var center_x: float
var shoot_y: int
var rng: RandomNumberGenerator = RandomNumberGenerator.new()
func _ready() -> void:
center = $Sprite.global_position
center_x = center.x
shoot_y = int(center.y) + 1
rng.randomize()
return
func _on_shoot_timeout() -> void:
if player:
var shoot_directions: Array = [
Vector2(center_x + rng.randf_range(-1, 1), shoot_y),
Vector2(center_x + rng.randf_range(-1, 1), shoot_y),
Vector2(center_x + rng.randf_range(-1, 1), shoot_y),
Vector2(center_x + rng.randf_range(-1, 1), shoot_y),
Vector2(center_x + rng.randf_range(-1, 1), shoot_y)]
for itr in shoot_directions:
var projectile: Node = glowing_blue_fireball.instance()
projectile.init(center, itr)
get_tree().get_current_scene().get_node('Projectiles').add_child(projectile)
$'Flash Timer'.start()
$Flash.set_visible(true)
return
func _on_flash_timer_timeout() -> void:
$Flash.set_visible(false)
return
func _on_hit_timeout() -> void:
$Sprite.self_modulate = Color(1, 1, 1)
return
func _on_hitbox_area_entered(area: Area2D) -> void:
if area.is_in_group('player_weapon_1'):
health -= 1
$Sprite.self_modulate = Color(1, 0, 0)
$Hit.start()
elif area.is_in_group('player_weapon_2'):
health -= 2
$Sprite.self_modulate = Color(1, 0, 0)
$Hit.start()
if health <= 0:
emit_signal('death')
call_deferred('queue_free')
return
func _on_player_detector_body_entered(body: Node) -> void:
if body.is_in_group('player'):
player = body
return
func _on_player_detector_body_exited(body: Node) -> void:
if body.is_in_group('player'):
player = null
return
+127
View File
@@ -0,0 +1,127 @@
[gd_scene load_steps=17 format=2]
[ext_resource path="res://Sprites/Enemies/Eyeball_Boss_Spritesheet.png" type="Texture" id=1]
[ext_resource path="res://Enemies/Eyeball Boss.gd" type="Script" id=2]
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=3]
[ext_resource path="res://Enemies/Projectiles/Glowing Blue Fireball.tscn" type="PackedScene" id=4]
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 32, 32 )
[sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 1 )
region = Rect2( 32, 0, 32, 32 )
[sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 1 )
region = Rect2( 64, 0, 32, 32 )
[sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 1 )
region = Rect2( 96, 0, 32, 32 )
[sub_resource type="AtlasTexture" id=5]
atlas = ExtResource( 1 )
region = Rect2( 128, 0, 32, 32 )
[sub_resource type="AtlasTexture" id=6]
atlas = ExtResource( 1 )
region = Rect2( 160, 0, 32, 32 )
[sub_resource type="AtlasTexture" id=7]
atlas = ExtResource( 1 )
region = Rect2( 192, 0, 32, 32 )
[sub_resource type="AtlasTexture" id=8]
atlas = ExtResource( 1 )
region = Rect2( 224, 0, 32, 32 )
[sub_resource type="SpriteFrames" id=9]
animations = [ {
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ) ],
"loop": true,
"name": "idle",
"speed": 5.0
} ]
[sub_resource type="CircleShape2D" id=10]
radius = 15.0
[sub_resource type="CircleShape2D" id=12]
radius = 17.0
[sub_resource type="CircleShape2D" id=11]
radius = 200.0
[node name="Eyeball Boss" type="StaticBody2D"]
light_mask = 0
collision_mask = 0
script = ExtResource( 2 )
glowing_blue_fireball = ExtResource( 4 )
[node name="Sprite" type="AnimatedSprite" parent="."]
self_modulate = Color( 0.705882, 0.705882, 0.705882, 1 )
frames = SubResource( 9 )
animation = "idle"
frame = 2
playing = true
[node name="Collision" type="CollisionShape2D" parent="."]
visible = false
light_mask = 0
shape = SubResource( 10 )
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox_2"]]
light_mask = 0
collision_layer = 4
collision_mask = 2
input_pickable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
visible = false
light_mask = 0
shape = SubResource( 12 )
[node name="Player Detector" type="Area2D" parent="."]
light_mask = 0
collision_layer = 0
collision_mask = 2
input_pickable = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
visible = false
light_mask = 0
shape = SubResource( 11 )
[node name="Light" type="Light2D" parent="."]
texture = ExtResource( 3 )
texture_scale = 0.8
[node name="Flash" type="Light2D" parent="."]
visible = false
position = Vector2( 0, 8 )
texture = ExtResource( 3 )
texture_scale = 0.2
color = Color( 0, 0.952941, 1, 1 )
shadow_item_cull_mask = 0
[node name="Shoot" type="Timer" parent="."]
wait_time = 1.5
autostart = true
[node name="Flash Timer" type="Timer" parent="."]
wait_time = 0.1
one_shot = true
[node name="Hit" type="Timer" parent="."]
wait_time = 0.1
one_shot = true
[connection signal="area_entered" from="Hitbox" to="." method="_on_hitbox_area_entered"]
[connection signal="body_entered" from="Player Detector" to="." method="_on_player_detector_body_entered"]
[connection signal="body_exited" from="Player Detector" to="." method="_on_player_detector_body_exited"]
[connection signal="timeout" from="Shoot" to="." method="_on_shoot_timeout"]
[connection signal="timeout" from="Flash Timer" to="." method="_on_flash_timer_timeout"]
[connection signal="timeout" from="Hit" to="." method="_on_hit_timeout"]
+31 -31
View File
@@ -10,49 +10,49 @@ var counter: int = 0
func _physics_process(_delta: float) -> void: func _physics_process(_delta: float) -> void:
velocity = Vector2.ZERO velocity = Vector2.ZERO
if player and position.distance_to(player.position) > 1: if player and position.distance_to(player.position) > 1:
velocity = position.direction_to(player.position).normalized() * SPEED velocity = position.direction_to(player.position).normalized() * SPEED
if hit == true: if hit == true:
if counter < 15: if counter < 15:
if counter % 5 == 0: if counter % 5 == 0:
$AnimatedSprite.visible = false $AnimatedSprite.visible = false
else: else:
$AnimatedSprite.visible = true $AnimatedSprite.visible = true
counter += 1 counter += 1
velocity = Vector2.ZERO velocity = Vector2.ZERO
else: else:
counter = 0 counter = 0
hit = false hit = false
velocity = move_and_slide(velocity) velocity = move_and_slide(velocity)
return return
func _on_player_detector_body_entered(body: Node) -> void: func _on_player_detector_body_entered(body: Node) -> void:
if body.is_in_group('player'): if body.is_in_group('player'):
player = body player = body
return return
func _on_player_detector_body_exited(body: Node) -> void: func _on_player_detector_body_exited(body: Node) -> void:
if body.is_in_group('player'): if body.is_in_group('player'):
player = null player = null
return return
func _on_hitbox_area_entered(area: Area2D) -> void: func _on_hitbox_area_entered(area: Area2D) -> void:
if area.is_in_group('player_weapon_1'): if area.is_in_group('player_weapon_1'):
health -= 1 health -= 1
hit = true hit = true
elif area.is_in_group('player_weapon_2'): elif area.is_in_group('player_weapon_2'):
health -= 2 health -= 2
hit = true hit = true
if health <= 0: if health <= 0:
call_deferred('queue_free') call_deferred('queue_free')
return return
+1 -1
View File
@@ -6,7 +6,7 @@
[ext_resource path="res://Sprites/Assets/ghost-vanish.png" type="Texture" id=4] [ext_resource path="res://Sprites/Assets/ghost-vanish.png" type="Texture" id=4]
[ext_resource path="res://Enemies/Ghost_Enemy.gd" type="Script" id=5] [ext_resource path="res://Enemies/Ghost_Enemy.gd" type="Script" id=5]
[ext_resource path="res://Enemies/Projectiles/Fireball.tscn" type="PackedScene" id=6] [ext_resource path="res://Enemies/Projectiles/Fireball.tscn" type="PackedScene" id=6]
[ext_resource path="res://Sprites/Assets/fire_column_medium_14.png" type="Texture" id=7] [ext_resource path="res://Sprites/Levels/Environment/Fire_Column_Medium_14.png" type="Texture" id=7]
[sub_resource type="AtlasTexture" id=1] [sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 2 ) atlas = ExtResource( 2 )
+44 -44
View File
@@ -10,65 +10,65 @@ var counter: int = 0
func _physics_process(_delta: float) -> void: func _physics_process(_delta: float) -> void:
velocity = Vector2.ZERO velocity = Vector2.ZERO
if player and position.distance_to(player.position) > 1: if player and position.distance_to(player.position) > 1:
velocity = position.direction_to(player.position).normalized() * SPEED velocity = position.direction_to(player.position).normalized() * SPEED
var angle = position.angle_to_point(player.position) var angle = position.angle_to_point(player.position)
if abs(angle) > PI/2: if abs(angle) > PI/2:
$AnimatedSprite1.scale.x = -0.563 $AnimatedSprite1.scale.x = -0.563
else: else:
$AnimatedSprite1.scale.x = 0.563 $AnimatedSprite1.scale.x = 0.563
if hit == true: if hit == true:
if counter < 15: if counter < 15:
if counter % 5 == 0: if counter % 5 == 0:
$AnimatedSprite1.visible = false $AnimatedSprite1.visible = false
else: else:
$AnimatedSprite1.visible = true $AnimatedSprite1.visible = true
counter += 1 counter += 1
velocity = Vector2.ZERO velocity = Vector2.ZERO
else: else:
counter = 0 counter = 0
hit = false hit = false
velocity = move_and_slide(velocity) velocity = move_and_slide(velocity)
return return
func _on_player_detector_body_entered(body: Node) -> void: func _on_player_detector_body_entered(body: Node) -> void:
if body.is_in_group('player'): if body.is_in_group('player'):
player = body player = body
$AnimatedSprite1.animation = 'Running' $AnimatedSprite1.animation = 'Running'
return return
func _on_player_detector_body_exited(body: Node) -> void: func _on_player_detector_body_exited(body: Node) -> void:
if body.is_in_group('player'): if body.is_in_group('player'):
player = null player = null
$AnimatedSprite1.animation = 'Idle' $AnimatedSprite1.animation = 'Idle'
return return
func _on_hitbox_area_entered(area: Area2D) -> void: func _on_hitbox_area_entered(area: Area2D) -> void:
if area.is_in_group('player_weapon_1'): if area.is_in_group('player_weapon_1'):
health -= 1 health -= 1
hit = true hit = true
elif area.is_in_group('player_weapon_2'): elif area.is_in_group('player_weapon_2'):
health -= 2 health -= 2
hit = true hit = true
if health <= 0: if health <= 0:
call_deferred('queue_free') call_deferred('queue_free')
return return
func _on_Player_Detector__Attack_body_entered(body: Node) -> void: func _on_Player_Detector__Attack_body_entered(body: Node) -> void:
if body.is_in_group('player'): if body.is_in_group('player'):
player = body player = body
$AnimatedSprite1.animation = 'Jump' $AnimatedSprite1.animation = 'Jump'
func _on_Player_Detector__Attack_body_exited(body: Node) -> void: func _on_Player_Detector__Attack_body_exited(body: Node) -> void:
if body.is_in_group('player'): if body.is_in_group('player'):
player = body player = body
$AnimatedSprite1.animation = 'Running' $AnimatedSprite1.animation = 'Running'
+1 -1
View File
@@ -23,6 +23,6 @@ func _physics_process(delta: float) -> void:
return return
func _on_tifetime_timeout() -> void: func _on_lifetime_timeout() -> void:
call_deferred('queue_free') call_deferred('queue_free')
return return
+4 -6
View File
@@ -7,15 +7,13 @@
[sub_resource type="CircleShape2D" id=1] [sub_resource type="CircleShape2D" id=1]
radius = 12.0 radius = 12.0
[node name="Creepy Hand" type="Area2D" groups=[ [node name="Creepy Hand" type="Area2D" groups=["enemy_projectile_1"]]
"enemy_projectile_1",
]]
light_mask = 0 light_mask = 0
scale = Vector2( 0.5, 0.5 ) scale = Vector2( 0.5, 0.5 )
input_pickable = false
monitoring = false
collision_layer = 0 collision_layer = 0
collision_mask = 2 collision_mask = 2
input_pickable = false
monitoring = false
script = ExtResource( 3 ) script = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="."] [node name="Sprite" type="Sprite" parent="."]
@@ -40,4 +38,4 @@ wait_time = 2.0
one_shot = true one_shot = true
autostart = true autostart = true
[connection signal="timeout" from="Lifetime" to="." method="_on_tifetime_timeout"] [connection signal="timeout" from="Lifetime" to="." method="_on_lifetime_timeout"]
@@ -0,0 +1,21 @@
extends Area2D
const SPEED: int = 60
var velocity: Vector2 = Vector2.ZERO
func init(spawn_position: Vector2, shoot_position: Vector2) -> void:
position = spawn_position
velocity = position.direction_to(shoot_position).normalized() * SPEED
return
func _physics_process(delta: float) -> void:
position += velocity * delta
return
func _on_lifetime_timeout() -> void:
call_deferred('queue_free')
return
@@ -0,0 +1,40 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=1]
[ext_resource path="res://Sprites/Enemies/Projectiles/Glowing_Blue_Fireball.png" type="Texture" id=2]
[ext_resource path="res://Enemies/Projectiles/Glowing Blue Fireball.gd" type="Script" id=3]
[sub_resource type="CircleShape2D" id=1]
radius = 12.0
[node name="Glowing Blue Fireball" type="Area2D" groups=["enemy_projectile_1"]]
light_mask = 0
scale = Vector2( 0.5, 0.5 )
collision_layer = 0
collision_mask = 2
input_pickable = false
monitoring = false
script = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
light_mask = 0
shape = SubResource( 1 )
[node name="Light" type="Light2D" parent="."]
texture = ExtResource( 1 )
texture_scale = 0.3
color = Color( 0.211765, 0.964706, 0.984314, 1 )
energy = 1.5
range_item_cull_mask = 15
shadow_item_cull_mask = 0
[node name="Lifetime" type="Timer" parent="."]
wait_time = 3.0
one_shot = true
autostart = true
[connection signal="timeout" from="Lifetime" to="." method="_on_lifetime_timeout"]
+1 -1
View File
@@ -16,6 +16,6 @@ func _physics_process(delta: float) -> void:
return return
func _on_tifetime_timeout() -> void: func _on_lifetime_timeout() -> void:
call_deferred('queue_free') call_deferred('queue_free')
return return
+1 -1
View File
@@ -37,4 +37,4 @@ wait_time = 1.5
one_shot = true one_shot = true
autostart = true autostart = true
[connection signal="timeout" from="Lifetime" to="." method="_on_tifetime_timeout"] [connection signal="timeout" from="Lifetime" to="." method="_on_lifetime_timeout"]
+44 -44
View File
@@ -5,76 +5,76 @@ var weapon = "sword"
func _on_Add_Currency_pressed() -> void: func _on_Add_Currency_pressed() -> void:
emit_signal('add_currency', 1) emit_signal('add_currency', 1)
return return
func update_currency(amount: int) -> void: func update_currency(amount: int) -> void:
$Currency.set_text(String(amount)) $Currency.set_text(String(amount))
return return
func update_health(value: int) -> void: func update_health(value: int) -> void:
$'Health Bar'.value = value $'Health Bar'.value = value
return return
func _on_weapon_slot_pressed() -> void: func _on_weapon_slot_pressed() -> void:
$'Weapon Selection'.set_visible(not $'Weapon Selection'.visible) $'Weapon Selection'.set_visible(not $'Weapon Selection'.visible)
return return
func _on_select_bow_pressed() -> void: func _on_select_bow_pressed() -> void:
$'Weapon Selection/Bow'.set_visible(false) $'Weapon Selection/Bow'.set_visible(false)
$'Equipped Weapon/Weapon'.set_normal_texture( $'Equipped Weapon/Weapon'.set_normal_texture(
$'Weapon Selection/Bow/Weapon'.get_normal_texture()) $'Weapon Selection/Bow/Weapon'.get_normal_texture())
$'Weapon Selection/Javelin'.set_visible(true) $'Weapon Selection/Javelin'.set_visible(true)
$'Weapon Selection/Staff'.set_visible(true) $'Weapon Selection/Staff'.set_visible(true)
$'Weapon Selection/Sword'.set_visible(true) $'Weapon Selection/Sword'.set_visible(true)
$'Weapon Selection'.set_visible(false) $'Weapon Selection'.set_visible(false)
weapon = "bow" weapon = "bow"
return return
func _on_select_javelin_pressed() -> void: func _on_select_javelin_pressed() -> void:
$'Weapon Selection/Javelin'.set_visible(false) $'Weapon Selection/Javelin'.set_visible(false)
$'Equipped Weapon/Weapon'.set_normal_texture( $'Equipped Weapon/Weapon'.set_normal_texture(
$'Weapon Selection/Javelin/Weapon'.get_normal_texture()) $'Weapon Selection/Javelin/Weapon'.get_normal_texture())
$'Weapon Selection/Bow'.set_visible(true) $'Weapon Selection/Bow'.set_visible(true)
$'Weapon Selection/Staff'.set_visible(true) $'Weapon Selection/Staff'.set_visible(true)
$'Weapon Selection/Sword'.set_visible(true) $'Weapon Selection/Sword'.set_visible(true)
$'Weapon Selection'.set_visible(false) $'Weapon Selection'.set_visible(false)
weapon = "javelin" weapon = "javelin"
return return
func _on_select_staff_pressed() -> void: func _on_select_staff_pressed() -> void:
$'Weapon Selection/Staff'.set_visible(false) $'Weapon Selection/Staff'.set_visible(false)
$'Equipped Weapon/Weapon'.set_normal_texture( $'Equipped Weapon/Weapon'.set_normal_texture(
$'Weapon Selection/Staff/Weapon'.get_normal_texture()) $'Weapon Selection/Staff/Weapon'.get_normal_texture())
$'Weapon Selection/Bow'.set_visible(true) $'Weapon Selection/Bow'.set_visible(true)
$'Weapon Selection/Javelin'.set_visible(true) $'Weapon Selection/Javelin'.set_visible(true)
$'Weapon Selection/Sword'.set_visible(true) $'Weapon Selection/Sword'.set_visible(true)
$'Weapon Selection'.set_visible(false) $'Weapon Selection'.set_visible(false)
weapon = "staff" weapon = "staff"
return return
func _on_select_sword_pressed() -> void: func _on_select_sword_pressed() -> void:
$'Weapon Selection/Sword'.set_visible(false) $'Weapon Selection/Sword'.set_visible(false)
$'Equipped Weapon/Weapon'.set_normal_texture( $'Equipped Weapon/Weapon'.set_normal_texture(
$'Weapon Selection/Sword/Weapon'.get_normal_texture()) $'Weapon Selection/Sword/Weapon'.get_normal_texture())
$'Weapon Selection/Bow'.set_visible(true) $'Weapon Selection/Bow'.set_visible(true)
$'Weapon Selection/Javelin'.set_visible(true) $'Weapon Selection/Javelin'.set_visible(true)
$'Weapon Selection/Staff'.set_visible(true) $'Weapon Selection/Staff'.set_visible(true)
$'Weapon Selection'.set_visible(false) $'Weapon Selection'.set_visible(false)
weapon = "sword" weapon = "sword"
return return
+15 -15
View File
@@ -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
+17 -17
View File
@@ -4,26 +4,26 @@ signal complete
func _ready() -> void: func _ready() -> void:
# Fade in # Fade in
if not $Tween.interpolate_property(self, 'self_modulate:a', 0, 1, 3, Tween.TRANS_LINEAR, Tween.EASE_IN): if not $Tween.interpolate_property(self, 'self_modulate:a', 0, 1, 3, Tween.TRANS_LINEAR, Tween.EASE_IN):
print('ERROR: Splash Screen fade in animation has errors.') print('ERROR: Splash Screen fade in animation has errors.')
if not $Tween.start(): if not $Tween.start():
print('ERROR: Splash Screen fade in animation failed to start.') print('ERROR: Splash Screen fade in animation failed to start.')
yield($Tween, 'tween_completed') # Wait for fade in to complete yield($Tween, 'tween_completed') # Wait for fade in to complete
# Fade out # Fade out
if not $Tween.interpolate_property(self, 'self_modulate:a', 1, 0, 3, Tween.TRANS_LINEAR, Tween.EASE_OUT, 2): if not $Tween.interpolate_property(self, 'self_modulate:a', 1, 0, 3, Tween.TRANS_LINEAR, Tween.EASE_OUT, 2):
print('ERROR: Splash Screen fade out animation has errors.') print('ERROR: Splash Screen fade out animation has errors.')
if not $Tween.start(): if not $Tween.start():
print('ERROR: Splash Screen fade out animation failed to start.') print('ERROR: Splash Screen fade out animation failed to start.')
yield($Tween, 'tween_completed') # Wait for fade out to complete yield($Tween, 'tween_completed') # Wait for fade out to complete
emit_signal('complete') emit_signal('complete')
return return
func _input(event: InputEvent) -> void: func _input(event: InputEvent) -> void:
if event.is_action_pressed('ui_accept'): if event.is_action_pressed('ui_accept'):
emit_signal('complete') emit_signal('complete')
return return
+10
View File
@@ -0,0 +1,10 @@
extends Area2D
export var x_location: int
export var y_location: int
func _on_teleporter_body_entered(body: Node) -> void:
if body.is_in_group('player'):
body.set_deferred('position', Vector2(x_location, y_location))
return
+34
View File
@@ -0,0 +1,34 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=1]
[ext_resource path="res://Sprites/Levels/Interactables/Teleport_Pad.png" type="Texture" id=2]
[ext_resource path="res://Levels/Interactables/Teleporter.gd" type="Script" id=3]
[sub_resource type="CircleShape2D" id=1]
radius = 8.0
[node name="Teleporter" type="Area2D"]
light_mask = 0
collision_layer = 0
collision_mask = 2
input_pickable = false
monitorable = false
script = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="."]
self_modulate = Color( 0.564706, 1, 0.560784, 1 )
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
light_mask = 0
shape = SubResource( 1 )
[node name="Light" type="Light2D" parent="."]
texture = ExtResource( 1 )
texture_scale = 0.4
color = Color( 0.341176, 1, 0.321569, 1 )
energy = 1.2
shadow_item_cull_mask = 0
[connection signal="body_entered" from="." to="." method="_on_teleporter_body_entered"]
+8 -8
View File
@@ -1,17 +1,17 @@
extends Node2D extends Node2D
var death_count: int = 0
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready() -> void: func _ready() -> void:
$YSort/Player.load_hud($HUD) $YSort/Player.load_hud($HUD)
return return
# Called every frame. 'delta' is the elapsed time since the previous frame. func _on_dark_matter_death() -> void:
#func _process(delta): death_count += 1
# pass if death_count == 5:
if get_tree().change_scene('res://GUI/Level Complete.tscn') != OK:
print('ERROR: Level 1 failed to change scene to Level Complete.')
queue_free()
return
+6
View File
@@ -72,3 +72,9 @@ mode = 1
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Map_boundary"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Map_boundary"]
build_mode = 1 build_mode = 1
polygon = PoolVector2Array( 0.762451, -22.0982, 427.859, -18.7308, 425.053, 245.609, -22.248, 248.976, -21.1256, -22.6594, -0.589813, -21.9661, -0.589806, 225.272, 400.359, 224.843, 399.969, -0.312477, 0.455406, -0.154987 ) polygon = PoolVector2Array( 0.762451, -22.0982, 427.859, -18.7308, 425.053, 245.609, -22.248, 248.976, -21.1256, -22.6594, -0.589813, -21.9661, -0.589806, 225.272, 400.359, 224.843, 399.969, -0.312477, 0.455406, -0.154987 )
[connection signal="death" from="YSort/Enemies/Dark Matter" to="." method="_on_dark_matter_death"]
[connection signal="death" from="YSort/Enemies/Dark Matter2" to="." method="_on_dark_matter_death"]
[connection signal="death" from="YSort/Enemies/Dark Matter3" to="." method="_on_dark_matter_death"]
[connection signal="death" from="YSort/Enemies/Dark Matter4" to="." method="_on_dark_matter_death"]
[connection signal="death" from="YSort/Enemies/Dark Matter5" to="." method="_on_dark_matter_death"]
+30 -30
View File
@@ -7,51 +7,51 @@ var score = 0
func _ready() -> void: func _ready() -> void:
$YSort/Player.load_hud($HUD) $YSort/Player.load_hud($HUD)
screensize = get_viewport_rect().size screensize = get_viewport_rect().size
spawn_coins(8) spawn_coins(8)
return return
func spawn_coins(num: int) -> void: func spawn_coins(num: int) -> void:
for _i in range(num): for _i in range(num):
var g: Node = coin.instance() var g: Node = coin.instance()
$'coin_container'.add_child(g) $'coin_container'.add_child(g)
g.connect('coin_grabbed', self, '_on_coin_grabbed') g.connect('coin_grabbed', self, '_on_coin_grabbed')
#g.set_pos(Vector2(rand_range(0, screensize.x - 40), rand_range(0, screensize.y - 40))) #g.set_pos(Vector2(rand_range(0, screensize.x - 40), rand_range(0, screensize.y - 40)))
g.position = Vector2(rand_range(0, screensize.x - 40), rand_range(0, screensize.y - 40)) g.position = Vector2(rand_range(0, screensize.x - 40), rand_range(0, screensize.y - 40))
return return
func _on_coin_grabbed() -> void: func _on_coin_grabbed() -> void:
score += 1 score += 1
print(score) print(score)
$'Level 3 HUD/Label'.set_text(str(score) + '/5') $'Level 3 HUD/Label'.set_text(str(score) + '/5')
return return
func _timer_out() -> void: func _timer_out() -> void:
get_tree().change_scene('res://Levels/Hub World.tscn') get_tree().change_scene('res://Levels/Hub World.tscn')
queue_free() queue_free()
return return
func _on_TreasureChest_ice_key_collected() -> void: func _on_TreasureChest_ice_key_collected() -> void:
$YSort/Door/doorClosed.visible = false $YSort/Door/doorClosed.visible = false
$YSort/Door/doorOpened.visible = true $YSort/Door/doorOpened.visible = true
$YSort/DoorCollision.layers = 5 $YSort/DoorCollision.layers = 5
return return
func _on_DoorDetector_body_entered(body: Node) -> void: func _on_DoorDetector_body_entered(body: Node) -> void:
if body.is_in_group('player'): if body.is_in_group('player'):
print('WIN WIN WIN') print('WIN WIN WIN')
get_tree().change_scene('res://Levels/Hub World.tscn') get_tree().change_scene('res://Levels/Hub World.tscn')
return return
func _on_DoorDetector_area_entered(area: Area2D) -> void: func _on_DoorDetector_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player': if area.get_parent().name == 'Player':
get_tree().change_scene('res://GUI/Level Complete.tscn') get_tree().change_scene('res://GUI/Level Complete.tscn')
queue_free() queue_free()
return return
+15 -14
View File
@@ -2,28 +2,29 @@ extends Node2D
var gems: int = 4 var gems: int = 4
func _ready() -> void: func _ready() -> void:
#$YSort/Player.position = get_viewport_rect().size / 2 $YSort/Player.load_hud($HUD)
$YSort/Player.load_hud($HUD) return
return
func _on_TreasureChest_gem_collected() -> void: func _on_TreasureChest_gem_collected() -> void:
gems -= 1 gems -= 1
if gems == 0:
$YSort/Items/Door/doorClosed.visible = false
$YSort/Items/Door/doorOpened.visible = true
$DoorCollision.layers = 5
if gems == 0:
$YSort/Items/Door/doorClosed.visible = false
$YSort/Items/Door/doorOpened.visible = true
$DoorCollision.layers = 5
return
func _on_NextArea_area_entered(area: Area2D) -> void: func _on_NextArea_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player': if area.get_parent().name == 'Player':
$YSort/Player.position.x = 195 $YSort/Player.position.x = 195
$YSort/Player.position.y = -335 $YSort/Player.position.y = -335
return
func _on_Demon_Boss_demon_boss_death() -> void: func _on_Demon_Boss_demon_boss_death() -> void:
get_tree().change_scene('res://GUI/Level Complete.tscn') get_tree().change_scene('res://GUI/Level Complete.tscn')
queue_free() queue_free()
+23 -2
View File
@@ -2,5 +2,26 @@ extends Node2D
func _ready() -> void: func _ready() -> void:
$YSort/Player.load_hud($HUD) $YSort/Player.load_hud($HUD)
return return
func _on_activate_boss_teleporter_body_entered(body: Node) -> void:
$'Interactables/Boss Teleporter'.set_deferred('visible', true)
$'Interactables/Activate Boss Teleporter'.call_deferred('queue_free')
return
func _on_eyeball_boss_death() -> void:
$YSort/Enemies.call_deferred('queue_free')
$Lights.call_deferred('queue_free')
$Darkness.set_visible(false)
$Ending.start()
return
func _on_ending_timeout():
if get_tree().change_scene('res://GUI/Level Complete.tscn') != OK:
print('ERROR: Level 5 failed to change scene to Level Complete.')
queue_free()
return
+75 -7
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=2] [gd_scene load_steps=18 format=2]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1] [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Levels/Level 5.gd" type="Script" id=2] [ext_resource path="res://Levels/Level 5.gd" type="Script" id=2]
@@ -14,6 +14,11 @@
[ext_resource path="res://Levels/Interactables/Silver Barrier.tscn" type="PackedScene" id=12] [ext_resource path="res://Levels/Interactables/Silver Barrier.tscn" type="PackedScene" id=12]
[ext_resource path="res://Enemies/Creepy Glowing Ghost.tscn" type="PackedScene" id=13] [ext_resource path="res://Enemies/Creepy Glowing Ghost.tscn" type="PackedScene" id=13]
[ext_resource path="res://Levels/Traps/Fire Spinner.tscn" type="PackedScene" id=14] [ext_resource path="res://Levels/Traps/Fire Spinner.tscn" type="PackedScene" id=14]
[ext_resource path="res://Enemies/Eyeball Boss.tscn" type="PackedScene" id=15]
[ext_resource path="res://Levels/Interactables/Teleporter.tscn" type="PackedScene" id=16]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 8, 8 )
[node name="Void Level" type="Node2D"] [node name="Void Level" type="Node2D"]
script = ExtResource( 2 ) script = ExtResource( 2 )
@@ -29,7 +34,7 @@ collision_layer = 0
collision_mask = 0 collision_mask = 0
occluder_light_mask = 0 occluder_light_mask = 0
format = 1 format = 1
tile_data = PoolIntArray( -393225, 0, 0, -393224, 0, 1, -393223, 0, 1, -393222, 0, 1, -393221, 0, 1, -393220, 0, 1, -393219, 0, 1, -393218, 0, 1, -393217, 0, 1, -458752, 0, 1, -458751, 0, 1, -458750, 0, 1, -458749, 0, 1, -458748, 0, 1, -458747, 0, 1, -458746, 0, 1, -458745, 0, 1, -458744, 0, 1, -458743, 0, 1, -458742, 0, 1, -458741, 0, 1, -458740, 0, 1, -458739, 0, 1, -458738, 0, 1, -458737, 0, 1, -458736, 0, 1, -458735, 0, 1, -458734, 0, 1, -458733, 0, 1, -458732, 0, 1, -458731, 0, 1, -458730, 0, 1, -458729, 0, 1, -458728, 0, 1, -458727, 0, 1, -458726, 0, 1, -458725, 0, 1, -458724, 0, 1, -458723, 0, 1, -458722, 0, 1, -458721, 0, 1, -458720, 0, 1, -458719, 0, 1, -458718, 0, 1, -458717, 0, 1, -458716, 0, 2, -327689, 0, 65536, -327688, 0, 65537, -327687, 0, 65537, -327686, 0, 65537, -327685, 0, 65537, -327684, 0, 65537, -327683, 0, 65537, -327682, 0, 65537, -327681, 0, 65537, -393216, 0, 65537, -393215, 0, 65537, -393214, 0, 65537, -393213, 0, 65537, -393212, 0, 65537, -393211, 0, 65537, -393210, 0, 65537, -393209, 0, 65537, -393208, 0, 65537, -393207, 0, 65537, -393206, 0, 65537, -393205, 0, 65537, -393204, 0, 65537, -393203, 0, 65537, -393202, 0, 65537, -393201, 0, 65537, -393200, 0, 65537, -393199, 0, 65537, -393198, 0, 65537, -393197, 0, 65537, -393196, 0, 65537, -393195, 0, 65537, -393194, 0, 65537, -393193, 0, 65537, -393192, 0, 65537, -393191, 0, 65537, -393190, 0, 65537, -393189, 0, 65537, -393188, 0, 65537, -393187, 0, 65537, -393186, 0, 65537, -393185, 0, 65537, -393184, 0, 65537, -393183, 0, 65537, -393182, 0, 65537, -393181, 0, 65537, -393180, 0, 65538, -262153, 0, 65536, -262152, 0, 65537, -262151, 0, 65537, -262150, 0, 65537, -262149, 0, 65537, -262148, 0, 65537, -262147, 0, 65537, -262146, 0, 65537, -262145, 0, 65537, -327680, 0, 65537, -327679, 0, 65537, -327678, 0, 65537, -327677, 0, 65537, -327676, 0, 65537, -327675, 0, 65537, -327674, 0, 65537, -327673, 0, 65537, -327672, 0, 65537, -327671, 0, 65537, -327670, 0, 65537, -327669, 0, 65537, -327668, 0, 65537, -327667, 0, 65537, -327666, 0, 65537, -327665, 0, 65537, -327664, 0, 65537, -327663, 0, 65537, -327662, 0, 65537, -327661, 0, 65537, -327660, 0, 65537, -327659, 0, 65537, -327658, 0, 65537, -327657, 0, 65537, -327656, 0, 65537, -327655, 0, 65537, -327654, 0, 65537, -327653, 0, 65537, -327652, 0, 65537, -327651, 0, 65537, -327650, 0, 65537, -327649, 0, 65537, -327648, 0, 65537, -327647, 0, 65537, -327646, 0, 65537, -327645, 0, 65537, -327644, 0, 65538, -196617, 0, 65536, -196616, 0, 65537, -196615, 0, 65537, -196614, 0, 65537, -196613, 0, 65537, -196612, 0, 65537, -196611, 0, 65537, -196610, 0, 65537, -196609, 0, 65537, -262144, 0, 65537, -262143, 0, 65537, -262142, 0, 65537, -262141, 0, 65537, -262140, 0, 65537, -262139, 0, 65537, -262138, 0, 65537, -262137, 0, 65537, -262136, 0, 65537, -262135, 0, 65537, -262134, 0, 65537, -262133, 0, 65537, -262132, 0, 65537, -262131, 0, 65537, -262130, 0, 65537, -262129, 0, 65537, -262128, 0, 65537, -262127, 0, 65537, -262126, 0, 65537, -262125, 0, 65537, -262124, 0, 65537, -262123, 0, 65537, -262122, 0, 65537, -262121, 0, 65537, -262120, 0, 65537, -262119, 0, 65537, -262118, 0, 65537, -262117, 0, 65537, -262116, 0, 65537, -262115, 0, 65537, -262114, 0, 65537, -262113, 0, 65537, -262112, 0, 65537, -262111, 0, 65537, -262110, 0, 65537, -262109, 0, 65537, -262108, 0, 65538, -131081, 0, 65536, -131080, 0, 65537, -131079, 0, 65537, -131078, 0, 65537, -131077, 0, 65537, -131076, 0, 65537, -131075, 0, 65537, -131074, 0, 65537, -131073, 0, 65537, -196608, 0, 65537, -196607, 0, 65537, -196606, 0, 65537, -196605, 0, 65537, -196604, 0, 65537, -196603, 0, 65537, -196602, 0, 65537, -196601, 0, 65537, -196600, 0, 65537, -196599, 0, 65537, -196598, 0, 65537, -196597, 0, 65537, -196596, 0, 65537, -196595, 0, 65537, -196594, 0, 65537, -196593, 0, 65537, -196592, 0, 65537, -196591, 0, 65537, -196590, 0, 65537, -196589, 0, 65537, -196588, 0, 65537, -196587, 0, 65537, -196586, 0, 65537, -196585, 0, 65537, -196584, 0, 65537, -196583, 0, 65537, -196582, 0, 65537, -196581, 0, 65537, -196580, 0, 65537, -196579, 0, 65537, -196578, 0, 65537, -196577, 0, 65537, -196576, 0, 65537, -196575, 0, 65537, -196574, 0, 65537, -196573, 0, 65537, -196572, 0, 65538, -65545, 0, 65536, -65544, 0, 65537, -65543, 0, 65537, -65542, 0, 65537, -65541, 0, 65537, -65540, 0, 65537, -65539, 0, 65537, -65538, 0, 65537, -65537, 0, 65537, -131072, 0, 65537, -131071, 0, 65537, -131070, 0, 65537, -131069, 0, 65537, -131068, 0, 65537, -131067, 0, 65537, -131066, 0, 65537, -131065, 0, 65537, -131064, 0, 65537, -131063, 0, 65537, -131062, 0, 65537, -131061, 0, 65537, -131060, 0, 65537, -131059, 0, 65537, -131058, 0, 65537, -131057, 0, 65537, -131056, 0, 65537, -131055, 0, 65537, -131054, 0, 65537, -131053, 0, 65537, -131052, 0, 65537, -131051, 0, 65537, -131050, 0, 65537, -131049, 0, 65537, -131048, 0, 65537, -131047, 0, 65537, -131046, 0, 65537, -131045, 0, 65537, -131044, 0, 65537, -131043, 0, 65537, -131042, 0, 65537, -131041, 0, 65537, -131040, 0, 65537Line truncated tile_data = PoolIntArray( -786441, 0, 0, -786440, 0, 1, -786439, 0, 1, -786438, 0, 1, -786437, 0, 1, -786436, 0, 1, -786435, 0, 1, -786434, 0, 1, -786433, 0, 1, -851968, 0, 1, -851967, 0, 1, -851966, 0, 1, -851965, 0, 1, -851964, 0, 1, -851963, 0, 1, -851962, 0, 1, -851961, 0, 1, -851960, 0, 1, -851959, 0, 1, -851958, 0, 1, -851957, 0, 1, -851956, 0, 1, -851955, 0, 1, -851954, 0, 1, -851953, 0, 1, -851952, 0, 1, -851951, 0, 1, -851950, 0, 1, -851949, 0, 1, -851948, 0, 1, -851947, 0, 1, -851946, 0, 1, -851945, 0, 1, -851944, 0, 1, -851943, 0, 1, -851942, 0, 1, -851941, 0, 1, -851940, 0, 1, -851939, 0, 1, -851938, 0, 1, -851937, 0, 1, -851936, 0, 1, -851935, 0, 1, -851934, 0, 1, -851933, 0, 1, -851932, 0, 1, -851931, 0, 1, -851930, 0, 1, -851929, 0, 1, -851928, 0, 1, -851927, 0, 1, -851926, 0, 1, -851925, 0, 1, -851924, 0, 1, -851923, 0, 1, -851922, 0, 1, -851921, 0, 1, -851920, 0, 1, -851919, 0, 1, -851918, 0, 1, -851917, 0, 2, -720905, 0, 65536, -720904, 0, 65537, -720903, 0, 65537, -720902, 0, 65537, -720901, 0, 65537, -720900, 0, 65537, -720899, 0, 65537, -720898, 0, 65537, -720897, 0, 65537, -786432, 0, 65537, -786431, 0, 65537, -786430, 0, 65537, -786429, 0, 65537, -786428, 0, 65537, -786427, 0, 65537, -786426, 0, 65537, -786425, 0, 65537, -786424, 0, 65537, -786423, 0, 65537, -786422, 0, 65537, -786421, 0, 65537, -786420, 0, 65537, -786419, 0, 65537, -786418, 0, 65537, -786417, 0, 65537, -786416, 0, 65537, -786415, 0, 65537, -786414, 0, 65537, -786413, 0, 65537, -786412, 0, 65537, -786411, 0, 65537, -786410, 0, 65537, -786409, 0, 65537, -786408, 0, 65537, -786407, 0, 65537, -786406, 0, 65537, -786405, 0, 65537, -786404, 0, 65537, -786403, 0, 65537, -786402, 0, 65537, -786401, 0, 65537, -786400, 0, 65537, -786399, 0, 65537, -786398, 0, 65537, -786397, 0, 65537, -786396, 0, 65537, -786395, 0, 65537, -786394, 0, 65537, -786393, 0, 65537, -786392, 0, 65537, -786391, 0, 65537, -786390, 0, 65537, -786389, 0, 65537, -786388, 0, 65537, -786387, 0, 65537, -786386, 0, 65537, -786385, 0, 65537, -786384, 0, 65537, -786383, 0, 65537, -786382, 0, 65537, -786381, 0, 65538, -655369, 0, 65536, -655368, 0, 65537, -655367, 0, 65537, -655366, 0, 65537, -655365, 0, 65537, -655364, 0, 65537, -655363, 0, 65537, -655362, 0, 65537, -655361, 0, 65537, -720896, 0, 65537, -720895, 0, 65537, -720894, 0, 65537, -720893, 0, 65537, -720892, 0, 65537, -720891, 0, 65537, -720890, 0, 65537, -720889, 0, 65537, -720888, 0, 65537, -720887, 0, 65537, -720886, 0, 65537, -720885, 0, 65537, -720884, 0, 65537, -720883, 0, 65537, -720882, 0, 65537, -720881, 0, 65537, -720880, 0, 65537, -720879, 0, 65537, -720878, 0, 65537, -720877, 0, 65537, -720876, 0, 65537, -720875, 0, 65537, -720874, 0, 65537, -720873, 0, 65537, -720872, 0, 65537, -720871, 0, 65537, -720870, 0, 65537, -720869, 0, 65537, -720868, 0, 65537, -720867, 0, 65537, -720866, 0, 65537, -720865, 0, 65537, -720864, 0, 65537, -720863, 0, 65537, -720862, 0, 65537, -720861, 0, 65537, -720860, 0, 65537, -720859, 0, 65537, -720858, 0, 65537, -720857, 0, 65537, -720856, 0, 65537, -720855, 0, 65537, -720854, 0, 65537, -720853, 0, 65537, -720852, 0, 65537, -720851, 0, 65537, -720850, 0, 65537, -720849, 0, 65537, -720848, 0, 65537, -720847, 0, 65537, -720846, 0, 65537, -720845, 0, 65538, -589833, 0, 65536, -589832, 0, 65537, -589831, 0, 65537, -589830, 0, 65537, -589829, 0, 65537, -589828, 0, 65537, -589827, 0, 65537, -589826, 0, 65537, -589825, 0, 65537, -655360, 0, 65537, -655359, 0, 65537, -655358, 0, 65537, -655357, 0, 65537, -655356, 0, 65537, -655355, 0, 65537, -655354, 0, 65537, -655353, 0, 65537, -655352, 0, 65537, -655351, 0, 65537, -655350, 0, 65537, -655349, 0, 65537, -655348, 0, 65537, -655347, 0, 65537, -655346, 0, 65537, -655345, 0, 65537, -655344, 0, 65537, -655343, 0, 65537, -655342, 0, 65537, -655341, 0, 65537, -655340, 0, 65537, -655339, 0, 65537, -655338, 0, 65537, -655337, 0, 65537, -655336, 0, 65537, -655335, 0, 65537, -655334, 0, 65537, -655333, 0, 65537, -655332, 0, 65537, -655331, 0, 65537, -655330, 0, 65537, -655329, 0, 65537, -655328, 0, 65537, -655327, 0, 65537, -655326, 0, 65537, -655325, 0, 65537, -655324, 0, 65537, -655323, 0, 65537, -655322, 0, 65537, -655321, 0, 65537, -655320, 0, 65537, -655319, 0, 65537, -655318, 0, 65537, -655317, 0, 65537, -655316, 0, 65537, -655315, 0, 65537, -655314, 0, 65537, -655313, 0, 65537, -655312, 0, 65537, -655311, 0, 65537, -655310, 0, 65537, -655309, 0, 65538, -524297, 0, 65536, -524296, 0, 65537, -524295, 0, 65537, -524294, 0, 65537, -524293, 0, 65537, -524292, 0, 65537, -524291, 0, 65537, -524290, 0, 65537, -524289, 0, 65537, -589824, 0, 65537, -589823, 0, 65537, -589822, 0, 65537, -589821, 0, 65537, -589820, 0, 65537, -589819, 0, 65537, -589818, 0, 65537, -589817, 0, 65537, -589816, 0, 65537, -589815, 0, 65537, -589814, 0, 65537, -589813, 0, 65537, -589812, 0, 65537, -589811, 0, 65537, -589810, 0, 65537, -589809, 0, 65537, -589808, 0, 65537, -589807, 0, 65537, -589806, 0, 65537, -589805, 0, 65537, -589804, 0, 65537, -589803, 0,Line truncated
[node name="Walls" type="TileMap" parent="."] [node name="Walls" type="TileMap" parent="."]
light_mask = 8 light_mask = 8
@@ -37,7 +42,7 @@ tile_set = ExtResource( 8 )
cell_size = Vector2( 16, 16 ) cell_size = Vector2( 16, 16 )
collision_mask = 0 collision_mask = 0
format = 1 format = 1
tile_data = PoolIntArray( -393217, 0, 0, -458752, 0, 1, -458751, 0, 1, -458750, 0, 1, -458749, 0, 1, -458748, 0, 1, -458747, 0, 1, -458746, 0, 1, -458745, 0, 1, -458744, 0, 1, -458743, 0, 2, -327682, 0, 0, -327681, 0, 65545, -393216, 0, 131073, -393215, 0, 131073, -393214, 0, 131073, -393213, 0, 131073, -393212, 0, 131073, -393211, 0, 131073, -393210, 0, 131073, -393209, 0, 131073, -393208, 0, 131073, -393207, 0, 9, -393206, 0, 1, -393205, 0, 2, -262146, 0, 65536, -262145, 0, 65538, -327671, 0, 131072, -327670, 0, 65542, -327669, 0, 131077, -327668, 0, 2, -196611, 0, 0, -196610, 0, 131078, -196609, 0, 65538, -262142, 0, 0, -262141, 0, 1, -262140, 0, 1, -262139, 0, 1, -262138, 0, 1, -262137, 0, 2, -262134, 0, 131072, -262133, 0, 131073, -262132, 0, 65543, -131075, 0, 65536, -131074, 0, 65541, -131073, 0, 131074, -196606, 0, 131072, -196605, 0, 131073, -196604, 0, 131073, -196603, 0, 131073, -196602, 0, 65542, -196601, 0, 65538, -196596, 0, 131075, -196589, 0, 0, -196588, 0, 1, -196587, 0, 1, -196586, 0, 1, -196585, 0, 1, -196584, 0, 1, -196583, 0, 2, -65539, 0, 65536, -65538, 0, 65538, -131066, 0, 65536, -131065, 0, 65538, -131055, 0, 0, -131054, 0, 1, -131053, 0, 131078, -131052, 0, 65541, -131051, 0, 131073, -131050, 0, 131073, -131049, 0, 131073, -131048, 0, 65542, -131047, 0, 65538, -3, 0, 65536, -2, 0, 65538, -65530, 0, 65536, -65529, 0, 65538, -65524, 0, 0, -65523, 0, 1, -65522, 0, 1, -65521, 0, 1, -65520, 0, 1, -65519, 0, 65545, -65518, 0, 131073, -65517, 0, 131073, -65516, 0, 131074, -65512, 0, 65536, -65511, 0, 65538, 65533, 0, 65536, 65534, 0, 65538, 6, 0, 65536, 7, 0, 65538, 12, 0, 65536, 13, 0, 65541, 14, 0, 131073, 15, 0, 131073, 16, 0, 131073, 17, 0, 131074, 24, 0, 65536, 25, 0, 65538, 131069, 0, 65536, 131070, 0, 65538, 65542, 0, 65536, 65543, 0, 131077, 65544, 0, 1, 65545, 0, 1, 65546, 0, 1, 65547, 0, 1, 65548, 0, 131078, 65549, 0, 65538, 65560, 0, 65536, 65561, 0, 65538, 196605, 0, 65536, 196606, 0, 65538, 131078, 0, 65536, 131079, 0, 65537, 131080, 0, 65537, 131081, 0, 65537, 131082, 0, 65537, 131083, 0, 65537, 131084, 0, 65537, 131085, 0, 65538, 131089, 0, 3, 131096, 0, 65536, 131097, 0, 65538, 262141, 0, 65536, 262142, 0, 65538, 196614, 0, 65536, 196615, 0, 65541, 196616, 0, 131073, 196617, 0, 131073, 196618, 0, 131073, 196619, 0, 131073, 196620, 0, 65542, 196621, 0, 65538, 196625, 0, 65539, 196632, 0, 65536, 196633, 0, 65538, 327677, 0, 65536, 327678, 0, 65538, 262150, 0, 65536, 262151, 0, 65538, 262156, 0, 65536, 262157, 0, 65538, 262161, 0, 65539, 262163, 0, 0, 262164, 0, 2, 262167, 0, 0, 262168, 0, 131078, 262169, 0, 65538, 393213, 0, 65536, 393214, 0, 131077, 393215, 0, 1, 327680, 0, 1, 327681, 0, 1, 327682, 0, 1, 327683, 0, 1, 327684, 0, 2, 327686, 0, 65536, 327687, 0, 65538, 327692, 0, 65536, 327693, 0, 65538, 327696, 0, 4, 327697, 0, 196615, 327699, 0, 131072, 327700, 0, 65543, 327703, 0, 65536, 327704, 0, 65541, 327705, 0, 131074, 458749, 0, 131072, 458750, 0, 131073, 458751, 0, 131073, 393216, 0, 131073, 393217, 0, 131073, 393218, 0, 131073, 393219, 0, 65542, 393220, 0, 65538, 393222, 0, 65536, 393223, 0, 65538, 393228, 0, 65536, 393229, 0, 131077, 393230, 0, 5, 393231, 0, 196609, 393232, 0, 196615, 393236, 0, 131075, 393239, 0, 65536, 393240, 0, 65538, 458755, 0, 65536, 458756, 0, 65538, 458758, 0, 65536, 458759, 0, 65538, 458761, 0, 0, 458762, 0, 2, 458764, 0, 131072, 458765, 0, 131073, 458766, 0, 131074, 458774, 0, 0, 458775, 0, 131078, 458776, 0, 65538, 524291, 0, 65536, 524292, 0, 65538, 524294, 0, 65536, 524295, 0, 65538, 524297, 0, 65536, 524298, 0, 65538, 524309, 0, 0, 524310, 0, 131078, 524311, 0, 65541, 524312, 0, 131074, 589827, 0, 65536, 589828, 0, 65538, 589830, 0, 131072, 589831, 0, 131074, 589833, 0, 65536, 589834, 0, 131077, 589835, 0, 1, 589836, 0, 1, 589837, 0, 1, 589838, 0, 1, 589839, 0, 1, 589840, 0, 1, 589841, 0, 1, 589842, 0, 1, 589843, 0, 1, 589844, 0, 1, 589845, 0, 131078, 589846, 0, 65541, 589847, 0, 131074, 655363, 0, 65536, 655364, 0, 65538, 655369, 0, 65536, 655370, 0, 65541, 655371, 0, 131073, 655372, 0, 131073, 655373, 0, 131073, 655374, 0, 131073, 655375, 0, 131073, 655376, 0, 131073, 655377, 0, 131073, 655378, 0, 131073, 655379, 0, 131073, 655380, 0, 131073, 655381, 0, 131073, 655382, 0, 131074, 720899, 0, 65536, 720900, 0, 65538, 720905, 0, 65536, 720906, 0, 65538, 786435, 0, 65536, 786436, 0, 65538, 786441, 0, 65536, 786442, 0, 65538, 851971, 0, 65536, 851972, 0, 65538, 851977, 0, 65536, 851978, 0, 65538, 917507, 0, 65536, 917508, 0, 65538, 917513, 0, 65536, 917514, 0, 65538, 983043, 0, 65536, 983044, 0, 131077, 983045, 0, 1, 983046, 0, 1, 983047, 0, 1, 983048, 0, 1, 983049, 0, 131078, 983050, 0, 65538, 1048579, 0, 131072, 1048580, 0, 131073, 1048581, 0, 131073, 1048582, 0, 131073, 1048583, 0, 131073, 1048584, 0, 131073, 1048585, 0, 131073, 1048586, 0, 131074 ) tile_data = PoolIntArray( -393217, 0, 0, -458752, 0, 1, -458751, 0, 1, -458750, 0, 1, -458749, 0, 1, -458748, 0, 1, -458747, 0, 1, -458746, 0, 1, -458745, 0, 1, -458744, 0, 1, -458743, 0, 2, -327682, 0, 0, -327681, 0, 65545, -393216, 0, 131073, -393215, 0, 131073, -393214, 0, 131073, -393213, 0, 131073, -393212, 0, 131073, -393211, 0, 131073, -393210, 0, 131073, -393209, 0, 131073, -393208, 0, 131073, -393207, 0, 9, -393206, 0, 1, -393205, 0, 1, -393204, 0, 1, -393203, 0, 1, -393202, 0, 1, -393201, 0, 1, -393200, 0, 1, -393199, 0, 1, -393198, 0, 2, -262146, 0, 65536, -262145, 0, 65538, -327671, 0, 131072, -327670, 0, 65542, -327669, 0, 65537, -327668, 0, 65541, -327667, 0, 131073, -327666, 0, 131073, -327665, 0, 131073, -327664, 0, 131073, -327663, 0, 65542, -327662, 0, 65538, -196611, 0, 0, -196610, 0, 131078, -196609, 0, 65538, -262142, 0, 0, -262141, 0, 1, -262140, 0, 1, -262139, 0, 1, -262138, 0, 1, -262137, 0, 2, -262134, 0, 131072, -262133, 0, 131073, -262132, 0, 65543, -262127, 0, 65536, -262126, 0, 65538, -131075, 0, 65536, -131074, 0, 65541, -131073, 0, 131074, -196606, 0, 131072, -196605, 0, 131073, -196604, 0, 131073, -196603, 0, 131073, -196602, 0, 65542, -196601, 0, 65538, -196596, 0, 131075, -196591, 0, 65536, -196590, 0, 131077, -196589, 0, 1, -196588, 0, 1, -196587, 0, 1, -196586, 0, 1, -196585, 0, 1, -196584, 0, 1, -196583, 0, 2, -196579, 0, 0, -196578, 0, 1, -196577, 0, 1, -196576, 0, 1, -196575, 0, 1, -196574, 0, 1, -196573, 0, 1, -196572, 0, 2, -196568, 0, 0, -196567, 0, 1, -196566, 0, 1, -196565, 0, 1, -196564, 0, 1, -196563, 0, 1, -196562, 0, 1, -196561, 0, 2, -65539, 0, 65536, -65538, 0, 65538, -131066, 0, 65536, -131065, 0, 65538, -131055, 0, 65536, -131054, 0, 65537, -131053, 0, 65537, -131052, 0, 65541, -131051, 0, 131073, -131050, 0, 131073, -131049, 0, 131073, -131048, 0, 65542, -131047, 0, 65538, -131043, 0, 65536, -131042, 0, 65537, -131041, 0, 65537, -131040, 0, 65537, -131039, 0, 65537, -131038, 0, 65537, -131037, 0, 65537, -131036, 0, 131077, -131035, 0, 1, -131034, 0, 1, -131033, 0, 1, -131032, 0, 131078, -131031, 0, 65537, -131030, 0, 65537, -131029, 0, 65537, -131028, 0, 65537, -131027, 0, 65537, -131026, 0, 65537, -131025, 0, 65538, -3, 0, 65536, -2, 0, 65538, -65530, 0, 65536, -65529, 0, 65538, -65524, 0, 0, -65523, 0, 1, -65522, 0, 1, -65521, 0, 1, -65520, 0, 1, -65519, 0, 65545, -65518, 0, 131073, -65517, 0, 131073, -65516, 0, 131074, -65512, 0, 65536, -65511, 0, 65538, -65507, 0, 65536, -65506, 0, 65537, -65505, 0, 65537, -65504, 0, 65537, -65503, 0, 65541, -65502, 0, 131073, -65501, 0, 65542, -65500, 0, 65537, -65499, 0, 65537, -65498, 0, 65537, -65497, 0, 65537, -65496, 0, 65537, -65495, 0, 65541, -65494, 0, 131073, -65493, 0, 65542, -65492, 0, 65537, -65491, 0, 65537, -65490, 0, 65537, -65489, 0, 65538, 65533, 0, 65536, 65534, 0, 65538, 6, 0, 65536, 7, 0, 65538, 12, 0, 65536, 13, 0, 65541, 14, 0, 131073, 15, 0, 131073, 16, 0, 131073, 17, 0, 131074, 24, 0, 65536, 25, 0, 65538, 29, 0, 65536, 30, 0, 65537, 31, 0, 65537, 32, 0, 65537, 33, 0, 65538, 35, 0, 65536, 36, 0, 65541, 37, 0, 131073, 38, 0, 131073, 39, 0, 131073, 40, 0, 65542, 41, 0, 65538, 43, 0, 65536, 44, 0, 65537, 45, 0, 65537, 46, 0, 65537, 47, 0, 65538, 131069, 0, 65536, 131070, 0, 65538, 65542, 0, 65536, 65543, 0, 131077, 65544, 0, 1, 65545, 0, 1, 65546, 0, 1, 65547, 0, 1, 65548, 0, 131078, 65549, 0, 65538, 65560, 0, 65536, 65561, 0, 65538, 65565, 0, 65536, 65566, 0, 65537, 65567, 0, 65537, 65568, 0, 65537, 65569, 0, 131077, 65570, 0, 1, 65571, 0, 65545, 65572, 0, 131074, 65576, 0, 131072, 65577, 0, 9, 65578, 0, 1, 65579, 0, 131078, 65580, 0, 65537, 65581, 0, 65537, 65582, 0, 65537, 65583, 0, 65538, 196605, 0, 65536, 196606, 0, 65538, 131078, 0, 65536, 131079, 0, 65537, 131080, 0, 65537, 131081, 0, 65537, 131082, 0, 65537, 131083, 0, 65537, 131084, 0, 65537, 131085, 0, 65538, 131089, 0, 3, 131096, 0, 65536, 131097, 0, 65538, 131101, 0, 65536, 131102, 0, 65537, 131103, 0, 65537, 131104, 0, 65537, 131105, 0, 65537, 131106, 0, 65541, 131107, 0, 131074, 131113, 0, 131072, 131114, 0, 65542, 131115, 0, 65537, 131116, 0, 65537, 131117, 0, 65537, 131118, 0, 65537, 131119, 0, 65538, 262141, 0, 65536, 262142, 0, 65538, 196614, 0, 65536, 196615, 0, 65541, 196616, 0, 131073, 196617, 0, 131073, 196618, 0, 131073, 196619, 0, 131073, 196620, 0, 65542, 196621, 0, 65538, 196625, 0, 65539, 196632, 0, 65536, 196633, 0, 65538, 196637, 0, 65536, 196638, 0, 65537, 196639, 0, 65537, 196640, 0, 65537, 196641, 0, 65537, 196642, 0, 65538, 196650, 0, 65536, 196651, 0, 65537, 196652, 0, 65537, 196653, 0, 65537, 196654, 0, 65537, 196655, 0, 65538, 327677, 0, 65536, 327678, 0, 65538, 262150, 0, 65536, 262151, 0, 65538, 262156, 0, 65536, 262157, 0, 65538, 262161, 0, 65539, 262163, 0, 0, 262164, 0, 2, 262167, 0, 0, 262168, 0, 131078, 262169, 0, 65538, 262173, 0, 65536, 262174, 0, 65537, 262175, 0, 65537, 262176, 0, 65537, 262177, 0, 65537, 262178, 0, 65538, 262186, 0, 65536, 262187, 0, 65537, 262188, 0, 65537, 262189, 0, 65537, 262190Line truncated
[node name="YSort" type="YSort" parent="."] [node name="YSort" type="YSort" parent="."]
@@ -60,18 +65,27 @@ position = Vector2( 280.47, 109 )
[node name="Chasing Glowing Ghost 1" parent="YSort/Enemies" instance=ExtResource( 9 )] [node name="Chasing Glowing Ghost 1" parent="YSort/Enemies" instance=ExtResource( 9 )]
position = Vector2( 328.5, 20 ) position = Vector2( 328.5, 20 )
[node name="Creepy Glowing Ghost 00" parent="YSort/Enemies" instance=ExtResource( 13 )] [node name="Creepy Glowing Ghost 1" parent="YSort/Enemies" instance=ExtResource( 13 )]
position = Vector2( 310, 40 ) position = Vector2( 310, 40 )
[node name="Creepy Glowing Ghost 01" parent="YSort/Enemies" instance=ExtResource( 13 )] [node name="Creepy Glowing Ghost 2" parent="YSort/Enemies" instance=ExtResource( 13 )]
position = Vector2( 90, 175 ) position = Vector2( 90, 175 )
[node name="Creepy Glowing Ghost 02" parent="YSort/Enemies" instance=ExtResource( 13 )] [node name="Creepy Glowing Ghost 3" parent="YSort/Enemies" instance=ExtResource( 13 )]
position = Vector2( 100, 220 ) position = Vector2( 100, 220 )
[node name="Creepy Glowing Ghost 03" parent="YSort/Enemies" instance=ExtResource( 13 )] [node name="Creepy Glowing Ghost 4" parent="YSort/Enemies" instance=ExtResource( 13 )]
position = Vector2( 160, -20 ) position = Vector2( 160, -20 )
[node name="Eyeball Boss" parent="YSort/Enemies" instance=ExtResource( 15 )]
position = Vector2( 616, 40 )
[node name="Creepy Glowing Ghost 5" parent="YSort/Enemies" instance=ExtResource( 13 )]
position = Vector2( 552, 8 )
[node name="Creepy Glowing Ghost 6" parent="YSort/Enemies" instance=ExtResource( 13 )]
position = Vector2( 680, 8 )
[node name="Interactables" type="Node2D" parent="."] [node name="Interactables" type="Node2D" parent="."]
[node name="Silver Key Pickup 1" parent="Interactables" instance=ExtResource( 11 )] [node name="Silver Key Pickup 1" parent="Interactables" instance=ExtResource( 11 )]
@@ -87,6 +101,25 @@ position = Vector2( -16, 64 )
[node name="Silver Barrier" parent="Interactables" instance=ExtResource( 12 )] [node name="Silver Barrier" parent="Interactables" instance=ExtResource( 12 )]
position = Vector2( 200, -24 ) position = Vector2( 200, -24 )
[node name="Activate Boss Teleporter" type="Area2D" parent="Interactables"]
light_mask = 0
position = Vector2( 204, -24 )
collision_layer = 0
collision_mask = 2
input_pickable = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Interactables/Activate Boss Teleporter"]
visible = false
light_mask = 0
shape = SubResource( 1 )
[node name="Boss Teleporter" parent="Interactables" instance=ExtResource( 16 )]
visible = false
position = Vector2( 248, -40 )
x_location = 616
y_location = 148
[node name="Traps" type="Node2D" parent="."] [node name="Traps" type="Node2D" parent="."]
[node name="Spawn Trap 1" parent="Traps" instance=ExtResource( 10 )] [node name="Spawn Trap 1" parent="Traps" instance=ExtResource( 10 )]
@@ -108,8 +141,39 @@ position = Vector2( 48, -80 )
enemy_path = "res://Enemies/Chasing Glowing Ghost.tscn" enemy_path = "res://Enemies/Chasing Glowing Ghost.tscn"
relative_x_tiles = 5 relative_x_tiles = 5
[node name="Lights" type="Node2D" parent="."]
[node name="Boss Light 1" type="Light2D" parent="Lights"]
position = Vector2( 540, 80 )
texture = ExtResource( 5 )
range_item_cull_mask = 9
[node name="Boss Light 2" type="Light2D" parent="Lights"]
position = Vector2( 540, 160 )
texture = ExtResource( 5 )
range_item_cull_mask = 9
[node name="Boss Light 3" type="Light2D" parent="Lights"]
position = Vector2( 616, 220 )
texture = ExtResource( 5 )
range_item_cull_mask = 9
[node name="Boss Light 4" type="Light2D" parent="Lights"]
position = Vector2( 700, 160 )
texture = ExtResource( 5 )
range_item_cull_mask = 9
[node name="Boss Light 5" type="Light2D" parent="Lights"]
position = Vector2( 700, 80 )
texture = ExtResource( 5 )
range_item_cull_mask = 9
[node name="Projectiles" type="Node2D" parent="."] [node name="Projectiles" type="Node2D" parent="."]
[node name="Ending" type="Timer" parent="."]
wait_time = 2.5
one_shot = true
[node name="HUD" parent="." instance=ExtResource( 3 )] [node name="HUD" parent="." instance=ExtResource( 3 )]
[node name="Pause Screen" parent="." instance=ExtResource( 7 )] [node name="Pause Screen" parent="." instance=ExtResource( 7 )]
@@ -119,3 +183,7 @@ pause_mode = 2
stream = ExtResource( 6 ) stream = ExtResource( 6 )
volume_db = -10.0 volume_db = -10.0
autoplay = true autoplay = true
[connection signal="death" from="YSort/Enemies/Eyeball Boss" to="." method="_on_eyeball_boss_death"]
[connection signal="body_entered" from="Interactables/Activate Boss Teleporter" to="." method="_on_activate_boss_teleporter_body_entered"]
[connection signal="timeout" from="Ending" to="." method="_on_ending_timeout"]
+3 -3
View File
@@ -37,9 +37,9 @@ func _on_shoot_timeout():
shoot_array = rotated_shoot_directions shoot_array = rotated_shoot_directions
for itr in shoot_array: for itr in shoot_array:
var projectile: Node = glowing_fireball.instance() var projectile: Node = glowing_fireball.instance()
projectile.init(center, itr) projectile.init(center, itr)
get_tree().get_current_scene().get_node('Projectiles').add_child(projectile) get_tree().get_current_scene().get_node('Projectiles').add_child(projectile)
return return
+48 -48
View File
@@ -7,76 +7,76 @@ export var hub_world_path: String
func _ready() -> void: func _ready() -> void:
randomize() randomize()
var splash_screen: Node = play_splash_screen() var splash_screen: Node = play_splash_screen()
yield(splash_screen, 'complete') yield(splash_screen, 'complete')
splash_screen = null splash_screen = null
var main_menu: Node = play_main_menu() var main_menu: Node = play_main_menu()
yield(main_menu, 'complete') yield(main_menu, 'complete')
free_connected_node(main_menu, 'main_menu_option') free_connected_node(main_menu, 'main_menu_option')
main_menu = null main_menu = null
return return
func play_splash_screen() -> Node: func play_splash_screen() -> Node:
var splash_screen: Node = load(splash_screen_path).instance() var splash_screen: Node = load(splash_screen_path).instance()
if splash_screen.connect('complete', self, 'free_connected_node', if splash_screen.connect('complete', self, 'free_connected_node',
[splash_screen, 'free_connected_node']) != OK: [splash_screen, 'free_connected_node']) != OK:
print('ERROR: Splash Screen "complete" signal already connected.') print('ERROR: Splash Screen "complete" signal already connected.')
add_child(splash_screen) add_child(splash_screen)
return splash_screen return splash_screen
func play_main_menu() -> Node: func play_main_menu() -> Node:
var main_menu: Node = load(main_menu_path).instance() var main_menu: Node = load(main_menu_path).instance()
if main_menu.connect('complete', self, 'main_menu_option') != OK: if main_menu.connect('complete', self, 'main_menu_option') != OK:
print('ERROR: Main Menu "complete" signal already connected.') print('ERROR: Main Menu "complete" signal already connected.')
add_child(main_menu) add_child(main_menu)
return main_menu return main_menu
func main_menu_option(option: String) -> void: func main_menu_option(option: String) -> void:
if option == 'new game': if option == 'new game':
if get_tree().change_scene(hub_world_path) != OK: if get_tree().change_scene(hub_world_path) != OK:
print('ERROR: Main failed to change scene to Hub World.') print('ERROR: Main failed to change scene to Hub World.')
queue_free() queue_free()
#var level_select_menu: Node = play_level_select_menu() #var level_select_menu: Node = play_level_select_menu()
#yield(level_select_menu, 'complete') #yield(level_select_menu, 'complete')
#free_connected_node(level_select_menu, 'level_select_menu_option') #free_connected_node(level_select_menu, 'level_select_menu_option')
#level_select_menu = null #level_select_menu = null
return return
func play_level_select_menu() -> Node: func play_level_select_menu() -> Node:
var level_select_menu: Node = load(level_select_menu_path).instance() var level_select_menu: Node = load(level_select_menu_path).instance()
if level_select_menu.connect('complete', self, 'level_select_menu_option') != OK: if level_select_menu.connect('complete', self, 'level_select_menu_option') != OK:
print('ERROR: Level Select Menu "complete" signal already connected.') print('ERROR: Level Select Menu "complete" signal already connected.')
add_child(level_select_menu) add_child(level_select_menu)
return level_select_menu return level_select_menu
func level_select_menu_option(option: String) -> void: func level_select_menu_option(option: String) -> void:
var level: String = 'res://Levels/' var level: String = 'res://Levels/'
if option == 'H': if option == 'H':
level += 'Hub World.tscn' level += 'Hub World.tscn'
else: else:
level += 'Level ' + option + '.tscn' level += 'Level ' + option + '.tscn'
new_game(level) new_game(level)
return return
func free_connected_node(node: Node, connected_function: String) -> void: func free_connected_node(node: Node, connected_function: String) -> void:
node.disconnect('complete', self, connected_function) node.disconnect('complete', self, connected_function)
node.queue_free() node.queue_free()
return return
func new_game(level: String) -> void: func new_game(level: String) -> void:
if get_tree().change_scene(level) != OK: if get_tree().change_scene(level) != OK:
print('ERROR: Main failed to change scene to Level.') print('ERROR: Main failed to change scene to Level.')
queue_free() queue_free()
return return
+87 -87
View File
@@ -14,137 +14,137 @@ var velocity: Vector2 = Vector2.ZERO
func _ready() -> void: func _ready() -> void:
set_weapon_position(Vector2(1, 0)) set_weapon_position(Vector2(1, 0))
return return
func _physics_process(delta: float) -> void: func _physics_process(delta: float) -> void:
var input_vector: Vector2 = Vector2.ZERO var input_vector: Vector2 = Vector2.ZERO
input_vector.x = Input.get_action_strength('player_right') \ input_vector.x = Input.get_action_strength('player_right') \
- Input.get_action_strength('player_left') - Input.get_action_strength('player_left')
input_vector.y = Input.get_action_strength('player_down') \ input_vector.y = Input.get_action_strength('player_down') \
- Input.get_action_strength('player_up') - Input.get_action_strength('player_up')
input_vector = input_vector.normalized() input_vector = input_vector.normalized()
if input_vector != Vector2.ZERO: if input_vector != Vector2.ZERO:
$AnimationTree.set('parameters/Idle/blend_position', input_vector) $AnimationTree.set('parameters/Idle/blend_position', input_vector)
velocity = velocity.move_toward(input_vector * MAX_SPEED, ACCELERATION * delta) velocity = velocity.move_toward(input_vector * MAX_SPEED, ACCELERATION * delta)
set_weapon_position(input_vector) set_weapon_position(input_vector)
else: else:
velocity = velocity.move_toward(Vector2.ZERO, FRICTION * delta) velocity = velocity.move_toward(Vector2.ZERO, FRICTION * delta)
velocity = move_and_slide(velocity) velocity = move_and_slide(velocity)
return return
func load_hud(node: CanvasLayer) -> void: func load_hud(node: CanvasLayer) -> void:
hud = node hud = node
if hud.connect('add_currency', self, 'add_currency') != OK: if hud.connect('add_currency', self, 'add_currency') != OK:
print('ERROR: HUD "add_currency" signal already connected.') print('ERROR: HUD "add_currency" signal already connected.')
hud.update_health(HEALTH_SLICES[health_index]) hud.update_health(HEALTH_SLICES[health_index])
hud.update_currency($Inventory.get_currency()) hud.update_currency($Inventory.get_currency())
return return
func set_weapon_position(pos: Vector2) -> void: func set_weapon_position(pos: Vector2) -> void:
# Facing left # Facing left
if pos[0] < 0: if pos[0] < 0:
$Sword.rotation_degrees = -90 $Sword.rotation_degrees = -90
$Javelin.rotation_degrees = -90 $Javelin.rotation_degrees = -90
# Facing right # Facing right
elif pos[0] > 0: elif pos[0] > 0:
$Sword.rotation_degrees = 90 $Sword.rotation_degrees = 90
$Javelin.rotation_degrees = 90 $Javelin.rotation_degrees = 90
# Facing up # Facing up
elif pos[1] < 0: elif pos[1] < 0:
$Sword.rotation_degrees = 0 $Sword.rotation_degrees = 0
$Javelin.rotation_degrees = 0 $Javelin.rotation_degrees = 0
# Facing down # Facing down
elif pos[1] > 0: elif pos[1] > 0:
$Sword.rotation_degrees = 180 $Sword.rotation_degrees = 180
$Javelin.rotation_degrees = 180 $Javelin.rotation_degrees = 180
return return
func add_currency(amount: int) -> void: func add_currency(amount: int) -> void:
$Inventory.add_currency(amount) $Inventory.add_currency(amount)
return return
func has_item(item: String) -> bool: func has_item(item: String) -> bool:
return $Inventory.contains(item) return $Inventory.contains(item)
func add_item(item: String) -> void: func add_item(item: String) -> void:
$Inventory.add(item) $Inventory.add(item)
return return
func remove_item(item: String) -> void: func remove_item(item: String) -> void:
$Inventory.remove(item) $Inventory.remove(item)
return return
func _on_Inventory_update_currency(amount: int) -> void: func _on_Inventory_update_currency(amount: int) -> void:
hud.update_currency(amount) hud.update_currency(amount)
return return
func _on_hitbox_area_entered(area: Area2D) -> void: func _on_hitbox_area_entered(area: Area2D) -> void:
var hit: int = 0 var hit: int = 0
if area.is_in_group('enemy_hitbox_1') or area.is_in_group('enemy_projectile_1'): if area.is_in_group('enemy_hitbox_1') or area.is_in_group('enemy_projectile_1'):
hit = 1 hit = 1
elif area.is_in_group('enemy_hitbox_2') or area.is_in_group('enemy_projectile_2'): elif area.is_in_group('enemy_hitbox_2') or area.is_in_group('enemy_projectile_2'):
hit = 2 hit = 2
elif area.is_in_group('enemy_hitbox_3') or area.is_in_group('enemy_projectile_3'): elif area.is_in_group('enemy_hitbox_3') or area.is_in_group('enemy_projectile_3'):
hit = 3 hit = 3
elif area.is_in_group('freeze'): elif area.is_in_group('freeze'):
emit_signal('frozen') emit_signal('frozen')
$Sprite.self_modulate = Color(0, 0.5, 1) $Sprite.self_modulate = Color(0, 0.5, 1)
else: else:
return return
if health_index != 0: if health_index != 0:
health_index -= hit health_index -= hit
if health_index < 0: if health_index < 0:
health_index = 0 health_index = 0
hud.update_health(HEALTH_SLICES[health_index]) hud.update_health(HEALTH_SLICES[health_index])
else: else:
if get_tree().change_scene('res://GUI/Level Failed.tscn') != OK: if get_tree().change_scene('res://GUI/Level Failed.tscn') != OK:
print('ERROR: Player failed to change scene to Level Failed.') print('ERROR: Player failed to change scene to Level Failed.')
queue_free() queue_free()
return return
func _input(event: InputEvent) -> void: func _input(event: InputEvent) -> void:
if event.is_action_pressed('player_attack'): if event.is_action_pressed('player_attack'):
if hud.weapon == 'sword': if hud.weapon == 'sword':
$'Sword/Sword Animation'.play('swing') $'Sword/Sword Animation'.play('swing')
elif hud.weapon == 'javelin': elif hud.weapon == 'javelin':
$'Javelin/Javelin Animation'.play('swing') $'Javelin/Javelin Animation'.play('swing')
elif event.is_action_pressed('screenshot'): elif event.is_action_pressed('screenshot'):
var img: Image = get_viewport().get_texture().get_data() var img: Image = get_viewport().get_texture().get_data()
yield(get_tree(), 'idle_frame') yield(get_tree(), 'idle_frame')
yield(get_tree(), 'idle_frame') yield(get_tree(), 'idle_frame')
img.flip_y() img.flip_y()
var time: Dictionary = OS.get_datetime_from_unix_time(OS.get_unix_time()) var time: Dictionary = OS.get_datetime_from_unix_time(OS.get_unix_time())
var time_msecs: int = OS.get_system_time_msecs() var time_msecs: int = OS.get_system_time_msecs()
if img.save_png('user://Screenshot_%d%d%d_%d.png' % [time.year, time.month, time.day, time_msecs]) != OK: if img.save_png('user://Screenshot_%d%d%d_%d.png' % [time.year, time.month, time.day, time_msecs]) != OK:
print('ERROR: Failed saving screenshot.') print('ERROR: Failed saving screenshot.')
return return
func _on_SlowTime_unfreeze() -> void: func _on_SlowTime_unfreeze() -> void:
$Sprite.self_modulate = Color(1, 1, 1) $Sprite.self_modulate = Color(1, 1, 1)
return return
Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_10.png-3d59b9af344c5ab879fe8a7263fd96d1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_10.png"
dest_files=[ "res://.import/fire_column_medium_10.png-3d59b9af344c5ab879fe8a7263fd96d1.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_12.png-b9a482c4794e227f7d52aea3a0ee27a4.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_12.png"
dest_files=[ "res://.import/fire_column_medium_12.png-b9a482c4794e227f7d52aea3a0ee27a4.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_13.png-698b0658529a9a4cd6c9077842cc20e1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_13.png"
dest_files=[ "res://.import/fire_column_medium_13.png-698b0658529a9a4cd6c9077842cc20e1.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_14.png-51e2672fcac7d4ac1b5fbdcbcf5eb3c5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_14.png"
dest_files=[ "res://.import/fire_column_medium_14.png-51e2672fcac7d4ac1b5fbdcbcf5eb3c5.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_2.png-26ab3321c1ee3f9c908eaf3373d97d66.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_2.png"
dest_files=[ "res://.import/fire_column_medium_2.png-26ab3321c1ee3f9c908eaf3373d97d66.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_3.png-bebe40308d8003110ca8f5a3fb82ef4c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_3.png"
dest_files=[ "res://.import/fire_column_medium_3.png-bebe40308d8003110ca8f5a3fb82ef4c.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 581 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_4.png-9fa1f979ba09632c82b6be8a2c910324.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_4.png"
dest_files=[ "res://.import/fire_column_medium_4.png-9fa1f979ba09632c82b6be8a2c910324.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 568 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_5.png-523c0ae7fc9fea2d935c30b82415bb55.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_5.png"
dest_files=[ "res://.import/fire_column_medium_5.png-523c0ae7fc9fea2d935c30b82415bb55.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 568 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_6.png-b6ea29555af0f08a1bfee67d6ae39dc1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_6.png"
dest_files=[ "res://.import/fire_column_medium_6.png-b6ea29555af0f08a1bfee67d6ae39dc1.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_7.png-d8d1b68ebcae8566ec49fece5cd5b47a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_7.png"
dest_files=[ "res://.import/fire_column_medium_7.png-d8d1b68ebcae8566ec49fece5cd5b47a.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 575 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_8.png-167b31f70305cabddc5146827c570b02.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_8.png"
dest_files=[ "res://.import/fire_column_medium_8.png-167b31f70305cabddc5146827c570b02.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fire_column_medium_9.png-0747bbefa45c8ba83856cb9fd7f88cc1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/fire_column_medium_9.png"
dest_files=[ "res://.import/fire_column_medium_9.png-0747bbefa45c8ba83856cb9fd7f88cc1.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/tileset_mk_16_16_nature_tileset_godot.png-12548af451801021abf344e4470ddc77.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/tileset_mk_16_16_nature_tileset_godot.png"
dest_files=[ "res://.import/tileset_mk_16_16_nature_tileset_godot.png-12548af451801021abf344e4470ddc77.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
@@ -1,281 +0,0 @@
[gd_resource type="TileSet" load_steps=2 format=2]
[ext_resource path="res://Sprites/Assets/tileset_mk_16_16_nature_tileset_godot.png" type="Texture" id=1]
[resource]
0/name = "tileset_mk_16_16_nature_tileset_godot.png 0"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 960, 400 )
0/tile_mode = 1
0/autotile/bitmask_mode = 1
0/autotile/bitmask_flags = [ Vector2( 1, 0 ), 432, Vector2( 1, 1 ), 438, Vector2( 1, 2 ), 54, Vector2( 1, 3 ), 48, Vector2( 2, 0 ), 504, Vector2( 2, 1 ), 511, Vector2( 2, 2 ), 63, Vector2( 2, 3 ), 56, Vector2( 3, 0 ), 216, Vector2( 3, 1 ), 219, Vector2( 3, 2 ), 27, Vector2( 3, 3 ), 24, Vector2( 4, 0 ), 144, Vector2( 4, 1 ), 146, Vector2( 4, 2 ), 18, Vector2( 4, 3 ), 16, Vector2( 5, 0 ), 176, Vector2( 5, 1 ), 182, Vector2( 5, 2 ), 434, Vector2( 5, 3 ), 50, Vector2( 5, 4 ), 178, Vector2( 6, 0 ), 248, Vector2( 6, 1 ), 255, Vector2( 6, 2 ), 507, Vector2( 6, 3 ), 59, Vector2( 6, 4 ), 251, Vector2( 7, 0 ), 440, Vector2( 7, 1 ), 447, Vector2( 7, 2 ), 510, Vector2( 7, 3 ), 62, Vector2( 7, 4 ), 446, Vector2( 8, 0 ), 152, Vector2( 8, 1 ), 155, Vector2( 8, 2 ), 218, Vector2( 8, 3 ), 26, Vector2( 8, 4 ), 154, Vector2( 9, 0 ), 184, Vector2( 9, 1 ), 191, Vector2( 9, 2 ), 506, Vector2( 9, 3 ), 58, Vector2( 9, 4 ), 186, Vector2( 10, 0 ), 443, Vector2( 10, 1 ), 254, Vector2( 10, 2 ), 442, Vector2( 10, 3 ), 190, Vector2( 11, 2 ), 250, Vector2( 11, 3 ), 187 ]
0/autotile/icon_coordinate = Vector2( 2, 1 )
0/autotile/tile_size = Vector2( 16, 16 )
0/autotile/spacing = 0
0/autotile/occluder_map = [ ]
0/autotile/navpoly_map = [ ]
0/autotile/priority_map = [ ]
0/autotile/z_index_map = [ ]
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape_one_way = false
0/shape_one_way_margin = 0.0
0/shapes = [ ]
0/z_index = 0
1/name = "tileset_mk_16_16_nature_tileset_godot.png 1"
1/texture = ExtResource( 1 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 0, 0, 960, 400 )
1/tile_mode = 1
1/autotile/bitmask_mode = 1
1/autotile/bitmask_flags = [ Vector2( 1, 6 ), 432, Vector2( 1, 7 ), 438, Vector2( 1, 8 ), 54, Vector2( 1, 9 ), 48, Vector2( 2, 6 ), 504, Vector2( 2, 7 ), 511, Vector2( 2, 8 ), 63, Vector2( 2, 9 ), 56, Vector2( 3, 6 ), 216, Vector2( 3, 7 ), 219, Vector2( 3, 8 ), 27, Vector2( 3, 9 ), 24, Vector2( 4, 6 ), 144, Vector2( 4, 7 ), 146, Vector2( 4, 8 ), 18, Vector2( 4, 9 ), 16, Vector2( 5, 6 ), 176, Vector2( 5, 7 ), 182, Vector2( 5, 8 ), 434, Vector2( 5, 9 ), 50, Vector2( 5, 10 ), 178, Vector2( 6, 6 ), 248, Vector2( 6, 7 ), 255, Vector2( 6, 8 ), 507, Vector2( 6, 9 ), 59, Vector2( 6, 10 ), 251, Vector2( 7, 6 ), 440, Vector2( 7, 7 ), 447, Vector2( 7, 8 ), 510, Vector2( 7, 9 ), 62, Vector2( 7, 10 ), 446, Vector2( 8, 6 ), 152, Vector2( 8, 7 ), 155, Vector2( 8, 8 ), 218, Vector2( 8, 9 ), 26, Vector2( 8, 10 ), 154, Vector2( 9, 6 ), 184, Vector2( 9, 7 ), 191, Vector2( 9, 8 ), 506, Vector2( 9, 9 ), 58, Vector2( 9, 10 ), 186, Vector2( 10, 6 ), 443, Vector2( 10, 7 ), 254, Vector2( 10, 8 ), 442, Vector2( 10, 9 ), 190, Vector2( 11, 8 ), 250, Vector2( 11, 9 ), 187 ]
1/autotile/icon_coordinate = Vector2( 2, 7 )
1/autotile/tile_size = Vector2( 16, 16 )
1/autotile/spacing = 0
1/autotile/occluder_map = [ ]
1/autotile/navpoly_map = [ ]
1/autotile/priority_map = [ ]
1/autotile/z_index_map = [ ]
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shape_offset = Vector2( 0, 0 )
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
1/shape_one_way = false
1/shape_one_way_margin = 0.0
1/shapes = [ ]
1/z_index = 0
2/name = "tileset_mk_16_16_nature_tileset_godot.png 2"
2/texture = ExtResource( 1 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 1, 1, 1, 1 )
2/region = Rect2( 0, 0, 960, 400 )
2/tile_mode = 1
2/autotile/bitmask_mode = 1
2/autotile/bitmask_flags = [ Vector2( 13, 0 ), 432, Vector2( 13, 1 ), 438, Vector2( 13, 2 ), 54, Vector2( 13, 3 ), 48, Vector2( 14, 0 ), 504, Vector2( 14, 1 ), 511, Vector2( 14, 2 ), 63, Vector2( 14, 3 ), 56, Vector2( 15, 0 ), 216, Vector2( 15, 1 ), 219, Vector2( 15, 2 ), 27, Vector2( 15, 3 ), 24, Vector2( 16, 0 ), 144, Vector2( 16, 1 ), 146, Vector2( 16, 2 ), 18, Vector2( 16, 3 ), 16, Vector2( 17, 0 ), 176, Vector2( 17, 1 ), 182, Vector2( 17, 2 ), 434, Vector2( 17, 3 ), 50, Vector2( 17, 4 ), 178, Vector2( 18, 0 ), 248, Vector2( 18, 1 ), 255, Vector2( 18, 2 ), 507, Vector2( 18, 3 ), 59, Vector2( 18, 4 ), 251, Vector2( 19, 0 ), 440, Vector2( 19, 1 ), 447, Vector2( 19, 2 ), 510, Vector2( 19, 3 ), 62, Vector2( 19, 4 ), 446, Vector2( 20, 0 ), 152, Vector2( 20, 1 ), 155, Vector2( 20, 2 ), 218, Vector2( 20, 3 ), 26, Vector2( 20, 4 ), 154, Vector2( 21, 0 ), 184, Vector2( 21, 1 ), 191, Vector2( 21, 2 ), 506, Vector2( 21, 3 ), 58, Vector2( 21, 4 ), 186, Vector2( 22, 0 ), 443, Vector2( 22, 1 ), 254, Vector2( 22, 2 ), 442, Vector2( 22, 3 ), 190, Vector2( 23, 2 ), 250, Vector2( 23, 3 ), 187 ]
2/autotile/icon_coordinate = Vector2( 14, 1 )
2/autotile/tile_size = Vector2( 16, 16 )
2/autotile/spacing = 0
2/autotile/occluder_map = [ ]
2/autotile/navpoly_map = [ ]
2/autotile/priority_map = [ ]
2/autotile/z_index_map = [ ]
2/occluder_offset = Vector2( 0, 0 )
2/navigation_offset = Vector2( 0, 0 )
2/shape_offset = Vector2( 0, 0 )
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
2/shape_one_way = false
2/shape_one_way_margin = 0.0
2/shapes = [ ]
2/z_index = 0
3/name = "tileset_mk_16_16_nature_tileset_godot.png 3"
3/texture = ExtResource( 1 )
3/tex_offset = Vector2( 0, 0 )
3/modulate = Color( 1, 1, 1, 1 )
3/region = Rect2( 0, 0, 960, 400 )
3/tile_mode = 1
3/autotile/bitmask_mode = 1
3/autotile/bitmask_flags = [ Vector2( 13, 6 ), 432, Vector2( 13, 7 ), 438, Vector2( 13, 8 ), 54, Vector2( 13, 9 ), 48, Vector2( 14, 6 ), 504, Vector2( 14, 7 ), 511, Vector2( 14, 8 ), 63, Vector2( 14, 9 ), 56, Vector2( 15, 6 ), 216, Vector2( 15, 7 ), 219, Vector2( 15, 8 ), 27, Vector2( 15, 9 ), 24, Vector2( 16, 6 ), 144, Vector2( 16, 7 ), 146, Vector2( 16, 8 ), 18, Vector2( 16, 9 ), 16, Vector2( 17, 6 ), 176, Vector2( 17, 7 ), 182, Vector2( 17, 8 ), 434, Vector2( 17, 9 ), 50, Vector2( 17, 10 ), 178, Vector2( 18, 6 ), 248, Vector2( 18, 7 ), 255, Vector2( 18, 8 ), 507, Vector2( 18, 9 ), 59, Vector2( 18, 10 ), 251, Vector2( 19, 6 ), 440, Vector2( 19, 7 ), 447, Vector2( 19, 8 ), 510, Vector2( 19, 9 ), 62, Vector2( 19, 10 ), 446, Vector2( 20, 6 ), 152, Vector2( 20, 7 ), 155, Vector2( 20, 8 ), 218, Vector2( 20, 9 ), 26, Vector2( 20, 10 ), 154, Vector2( 21, 6 ), 184, Vector2( 21, 7 ), 191, Vector2( 21, 8 ), 506, Vector2( 21, 9 ), 58, Vector2( 21, 10 ), 186, Vector2( 22, 6 ), 443, Vector2( 22, 7 ), 254, Vector2( 22, 8 ), 442, Vector2( 22, 9 ), 190, Vector2( 23, 8 ), 250, Vector2( 23, 9 ), 187 ]
3/autotile/icon_coordinate = Vector2( 14, 7 )
3/autotile/tile_size = Vector2( 16, 16 )
3/autotile/spacing = 0
3/autotile/occluder_map = [ ]
3/autotile/navpoly_map = [ ]
3/autotile/priority_map = [ ]
3/autotile/z_index_map = [ ]
3/occluder_offset = Vector2( 0, 0 )
3/navigation_offset = Vector2( 0, 0 )
3/shape_offset = Vector2( 0, 0 )
3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
3/shape_one_way = false
3/shape_one_way_margin = 0.0
3/shapes = [ ]
3/z_index = 0
4/name = "tileset_mk_16_16_nature_tileset_godot.png 4"
4/texture = ExtResource( 1 )
4/tex_offset = Vector2( 0, 0 )
4/modulate = Color( 1, 1, 1, 1 )
4/region = Rect2( 0, 0, 960, 400 )
4/tile_mode = 1
4/autotile/bitmask_mode = 1
4/autotile/bitmask_flags = [ Vector2( 0, 14 ), 432, Vector2( 0, 15 ), 438, Vector2( 0, 16 ), 54, Vector2( 0, 17 ), 48, Vector2( 1, 14 ), 504, Vector2( 1, 15 ), 511, Vector2( 1, 16 ), 63, Vector2( 1, 17 ), 56, Vector2( 2, 14 ), 216, Vector2( 2, 15 ), 219, Vector2( 2, 16 ), 27, Vector2( 2, 17 ), 24, Vector2( 3, 14 ), 144, Vector2( 3, 15 ), 146, Vector2( 3, 16 ), 18, Vector2( 3, 17 ), 16, Vector2( 4, 14 ), 176, Vector2( 4, 15 ), 182, Vector2( 4, 16 ), 434, Vector2( 4, 17 ), 50, Vector2( 4, 18 ), 178, Vector2( 5, 14 ), 248, Vector2( 5, 15 ), 255, Vector2( 5, 16 ), 507, Vector2( 5, 17 ), 59, Vector2( 5, 18 ), 251, Vector2( 6, 14 ), 440, Vector2( 6, 15 ), 447, Vector2( 6, 16 ), 510, Vector2( 6, 17 ), 62, Vector2( 6, 18 ), 446, Vector2( 7, 14 ), 152, Vector2( 7, 15 ), 155, Vector2( 7, 16 ), 218, Vector2( 7, 17 ), 26, Vector2( 7, 18 ), 154, Vector2( 8, 14 ), 184, Vector2( 8, 15 ), 191, Vector2( 8, 16 ), 506, Vector2( 8, 17 ), 58, Vector2( 8, 18 ), 186, Vector2( 9, 14 ), 443, Vector2( 9, 15 ), 254, Vector2( 9, 16 ), 442, Vector2( 9, 17 ), 190, Vector2( 10, 16 ), 250, Vector2( 10, 17 ), 187 ]
4/autotile/icon_coordinate = Vector2( 1, 15 )
4/autotile/tile_size = Vector2( 16, 16 )
4/autotile/spacing = 0
4/autotile/occluder_map = [ ]
4/autotile/navpoly_map = [ ]
4/autotile/priority_map = [ ]
4/autotile/z_index_map = [ ]
4/occluder_offset = Vector2( 0, 0 )
4/navigation_offset = Vector2( 0, 0 )
4/shape_offset = Vector2( 0, 0 )
4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
4/shape_one_way = false
4/shape_one_way_margin = 0.0
4/shapes = [ ]
4/z_index = 0
5/name = "tileset_mk_16_16_nature_tileset_godot.png 5"
5/texture = ExtResource( 1 )
5/tex_offset = Vector2( 0, 0 )
5/modulate = Color( 1, 1, 1, 1 )
5/region = Rect2( 0, 0, 960, 400 )
5/tile_mode = 1
5/autotile/bitmask_mode = 1
5/autotile/bitmask_flags = [ Vector2( 0, 20 ), 432, Vector2( 0, 21 ), 438, Vector2( 0, 22 ), 54, Vector2( 0, 23 ), 48, Vector2( 1, 20 ), 504, Vector2( 1, 21 ), 511, Vector2( 1, 22 ), 63, Vector2( 1, 23 ), 56, Vector2( 2, 20 ), 216, Vector2( 2, 21 ), 219, Vector2( 2, 22 ), 27, Vector2( 2, 23 ), 24, Vector2( 3, 20 ), 144, Vector2( 3, 21 ), 146, Vector2( 3, 22 ), 18, Vector2( 3, 23 ), 16, Vector2( 4, 20 ), 176, Vector2( 4, 21 ), 182, Vector2( 4, 22 ), 434, Vector2( 4, 23 ), 50, Vector2( 4, 24 ), 178, Vector2( 5, 20 ), 248, Vector2( 5, 21 ), 255, Vector2( 5, 22 ), 507, Vector2( 5, 23 ), 59, Vector2( 5, 24 ), 251, Vector2( 6, 20 ), 440, Vector2( 6, 21 ), 447, Vector2( 6, 22 ), 510, Vector2( 6, 23 ), 62, Vector2( 6, 24 ), 446, Vector2( 7, 20 ), 152, Vector2( 7, 21 ), 155, Vector2( 7, 22 ), 218, Vector2( 7, 23 ), 26, Vector2( 7, 24 ), 154, Vector2( 8, 20 ), 184, Vector2( 8, 21 ), 191, Vector2( 8, 22 ), 506, Vector2( 8, 23 ), 58, Vector2( 8, 24 ), 186, Vector2( 9, 20 ), 443, Vector2( 9, 21 ), 254, Vector2( 9, 22 ), 442, Vector2( 9, 23 ), 190, Vector2( 10, 22 ), 250, Vector2( 10, 23 ), 187 ]
5/autotile/icon_coordinate = Vector2( 1, 21 )
5/autotile/tile_size = Vector2( 16, 16 )
5/autotile/spacing = 0
5/autotile/occluder_map = [ ]
5/autotile/navpoly_map = [ ]
5/autotile/priority_map = [ ]
5/autotile/z_index_map = [ ]
5/occluder_offset = Vector2( 0, 0 )
5/navigation_offset = Vector2( 0, 0 )
5/shape_offset = Vector2( 0, 0 )
5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
5/shape_one_way = false
5/shape_one_way_margin = 0.0
5/shapes = [ ]
5/z_index = 0
6/name = "tileset_mk_16_16_nature_tileset_godot.png 6"
6/texture = ExtResource( 1 )
6/tex_offset = Vector2( 0, 0 )
6/modulate = Color( 1, 1, 1, 1 )
6/region = Rect2( 0, 0, 960, 400 )
6/tile_mode = 1
6/autotile/bitmask_mode = 1
6/autotile/bitmask_flags = [ Vector2( 25, 0 ), 432, Vector2( 25, 1 ), 438, Vector2( 25, 2 ), 54, Vector2( 25, 3 ), 48, Vector2( 26, 0 ), 504, Vector2( 26, 1 ), 511, Vector2( 26, 2 ), 63, Vector2( 26, 3 ), 56, Vector2( 27, 0 ), 216, Vector2( 27, 1 ), 219, Vector2( 27, 2 ), 27, Vector2( 27, 3 ), 24, Vector2( 28, 0 ), 144, Vector2( 28, 1 ), 146, Vector2( 28, 2 ), 18, Vector2( 28, 3 ), 16, Vector2( 29, 0 ), 176, Vector2( 29, 1 ), 182, Vector2( 29, 2 ), 434, Vector2( 29, 3 ), 50, Vector2( 29, 4 ), 178, Vector2( 30, 0 ), 248, Vector2( 30, 1 ), 255, Vector2( 30, 2 ), 507, Vector2( 30, 3 ), 59, Vector2( 30, 4 ), 251, Vector2( 31, 0 ), 440, Vector2( 31, 1 ), 447, Vector2( 31, 2 ), 510, Vector2( 31, 3 ), 62, Vector2( 31, 4 ), 446, Vector2( 32, 0 ), 152, Vector2( 32, 1 ), 155, Vector2( 32, 2 ), 218, Vector2( 32, 3 ), 26, Vector2( 32, 4 ), 154, Vector2( 33, 0 ), 184, Vector2( 33, 1 ), 191, Vector2( 33, 2 ), 506, Vector2( 33, 3 ), 58, Vector2( 33, 4 ), 186, Vector2( 34, 0 ), 443, Vector2( 34, 1 ), 254, Vector2( 34, 2 ), 442, Vector2( 34, 3 ), 190, Vector2( 35, 2 ), 250, Vector2( 35, 3 ), 187 ]
6/autotile/icon_coordinate = Vector2( 26, 1 )
6/autotile/tile_size = Vector2( 16, 16 )
6/autotile/spacing = 0
6/autotile/occluder_map = [ ]
6/autotile/navpoly_map = [ ]
6/autotile/priority_map = [ ]
6/autotile/z_index_map = [ ]
6/occluder_offset = Vector2( 0, 0 )
6/navigation_offset = Vector2( 0, 0 )
6/shape_offset = Vector2( 0, 0 )
6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
6/shape_one_way = false
6/shape_one_way_margin = 0.0
6/shapes = [ ]
6/z_index = 0
7/name = "tileset_mk_16_16_nature_tileset_godot.png 7"
7/texture = ExtResource( 1 )
7/tex_offset = Vector2( 0, 0 )
7/modulate = Color( 1, 1, 1, 1 )
7/region = Rect2( 0, 0, 960, 400 )
7/tile_mode = 1
7/autotile/bitmask_mode = 1
7/autotile/bitmask_flags = [ Vector2( 25, 6 ), 432, Vector2( 25, 7 ), 438, Vector2( 25, 8 ), 54, Vector2( 25, 9 ), 48, Vector2( 26, 6 ), 504, Vector2( 26, 7 ), 511, Vector2( 26, 8 ), 63, Vector2( 26, 9 ), 56, Vector2( 27, 6 ), 216, Vector2( 27, 7 ), 219, Vector2( 27, 8 ), 27, Vector2( 27, 9 ), 24, Vector2( 28, 6 ), 144, Vector2( 28, 7 ), 146, Vector2( 28, 8 ), 18, Vector2( 28, 9 ), 16, Vector2( 29, 6 ), 176, Vector2( 29, 7 ), 182, Vector2( 29, 8 ), 434, Vector2( 29, 9 ), 50, Vector2( 29, 10 ), 178, Vector2( 30, 6 ), 248, Vector2( 30, 7 ), 255, Vector2( 30, 8 ), 507, Vector2( 30, 9 ), 59, Vector2( 30, 10 ), 251, Vector2( 31, 6 ), 440, Vector2( 31, 7 ), 447, Vector2( 31, 8 ), 510, Vector2( 31, 9 ), 62, Vector2( 31, 10 ), 446, Vector2( 32, 6 ), 152, Vector2( 32, 7 ), 155, Vector2( 32, 8 ), 218, Vector2( 32, 9 ), 26, Vector2( 32, 10 ), 154, Vector2( 33, 6 ), 184, Vector2( 33, 7 ), 191, Vector2( 33, 8 ), 506, Vector2( 33, 9 ), 58, Vector2( 33, 10 ), 186, Vector2( 34, 6 ), 443, Vector2( 34, 7 ), 254, Vector2( 34, 8 ), 442, Vector2( 34, 9 ), 190, Vector2( 35, 8 ), 250, Vector2( 35, 9 ), 187 ]
7/autotile/icon_coordinate = Vector2( 26, 7 )
7/autotile/tile_size = Vector2( 16, 16 )
7/autotile/spacing = 0
7/autotile/occluder_map = [ ]
7/autotile/navpoly_map = [ ]
7/autotile/priority_map = [ ]
7/autotile/z_index_map = [ ]
7/occluder_offset = Vector2( 0, 0 )
7/navigation_offset = Vector2( 0, 0 )
7/shape_offset = Vector2( 0, 0 )
7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
7/shape_one_way = false
7/shape_one_way_margin = 0.0
7/shapes = [ ]
7/z_index = 0
8/name = "tileset_mk_16_16_nature_tileset_godot.png 8"
8/texture = ExtResource( 1 )
8/tex_offset = Vector2( 0, 0 )
8/modulate = Color( 1, 1, 1, 1 )
8/region = Rect2( 0, 0, 960, 400 )
8/tile_mode = 1
8/autotile/bitmask_mode = 1
8/autotile/bitmask_flags = [ Vector2( 37, 0 ), 432, Vector2( 37, 1 ), 438, Vector2( 37, 2 ), 54, Vector2( 37, 3 ), 48, Vector2( 38, 0 ), 504, Vector2( 38, 1 ), 511, Vector2( 38, 2 ), 63, Vector2( 38, 3 ), 56, Vector2( 39, 0 ), 216, Vector2( 39, 1 ), 219, Vector2( 39, 2 ), 27, Vector2( 39, 3 ), 24, Vector2( 40, 0 ), 144, Vector2( 40, 1 ), 146, Vector2( 40, 2 ), 18, Vector2( 40, 3 ), 16, Vector2( 41, 0 ), 176, Vector2( 41, 1 ), 182, Vector2( 41, 2 ), 434, Vector2( 41, 3 ), 50, Vector2( 41, 4 ), 178, Vector2( 42, 0 ), 248, Vector2( 42, 1 ), 255, Vector2( 42, 2 ), 507, Vector2( 42, 3 ), 59, Vector2( 42, 4 ), 251, Vector2( 43, 0 ), 440, Vector2( 43, 1 ), 447, Vector2( 43, 2 ), 510, Vector2( 43, 3 ), 62, Vector2( 43, 4 ), 446, Vector2( 44, 0 ), 152, Vector2( 44, 1 ), 155, Vector2( 44, 2 ), 218, Vector2( 44, 3 ), 26, Vector2( 44, 4 ), 154, Vector2( 45, 0 ), 184, Vector2( 45, 1 ), 191, Vector2( 45, 2 ), 506, Vector2( 45, 3 ), 58, Vector2( 45, 4 ), 186, Vector2( 46, 0 ), 443, Vector2( 46, 1 ), 254, Vector2( 46, 2 ), 442, Vector2( 46, 3 ), 190, Vector2( 47, 2 ), 250, Vector2( 47, 3 ), 187 ]
8/autotile/icon_coordinate = Vector2( 38, 1 )
8/autotile/tile_size = Vector2( 16, 16 )
8/autotile/spacing = 0
8/autotile/occluder_map = [ ]
8/autotile/navpoly_map = [ ]
8/autotile/priority_map = [ ]
8/autotile/z_index_map = [ ]
8/occluder_offset = Vector2( 0, 0 )
8/navigation_offset = Vector2( 0, 0 )
8/shape_offset = Vector2( 0, 0 )
8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
8/shape_one_way = false
8/shape_one_way_margin = 0.0
8/shapes = [ ]
8/z_index = 0
9/name = "tileset_mk_16_16_nature_tileset_godot.png 9"
9/texture = ExtResource( 1 )
9/tex_offset = Vector2( 0, 0 )
9/modulate = Color( 1, 1, 1, 1 )
9/region = Rect2( 0, 0, 960, 400 )
9/tile_mode = 1
9/autotile/bitmask_mode = 1
9/autotile/bitmask_flags = [ Vector2( 37, 6 ), 432, Vector2( 37, 7 ), 438, Vector2( 37, 8 ), 54, Vector2( 37, 9 ), 48, Vector2( 38, 6 ), 504, Vector2( 38, 7 ), 511, Vector2( 38, 8 ), 63, Vector2( 38, 9 ), 56, Vector2( 39, 6 ), 216, Vector2( 39, 7 ), 219, Vector2( 39, 8 ), 27, Vector2( 39, 9 ), 24, Vector2( 40, 6 ), 144, Vector2( 40, 7 ), 146, Vector2( 40, 8 ), 18, Vector2( 40, 9 ), 16, Vector2( 41, 6 ), 176, Vector2( 41, 7 ), 182, Vector2( 41, 8 ), 434, Vector2( 41, 9 ), 50, Vector2( 41, 10 ), 178, Vector2( 42, 6 ), 248, Vector2( 42, 7 ), 255, Vector2( 42, 8 ), 507, Vector2( 42, 9 ), 59, Vector2( 42, 10 ), 251, Vector2( 43, 6 ), 440, Vector2( 43, 7 ), 447, Vector2( 43, 8 ), 510, Vector2( 43, 9 ), 62, Vector2( 43, 10 ), 446, Vector2( 44, 6 ), 152, Vector2( 44, 7 ), 155, Vector2( 44, 8 ), 218, Vector2( 44, 9 ), 26, Vector2( 44, 10 ), 154, Vector2( 45, 6 ), 184, Vector2( 45, 7 ), 191, Vector2( 45, 8 ), 506, Vector2( 45, 9 ), 58, Vector2( 45, 10 ), 186, Vector2( 46, 6 ), 443, Vector2( 46, 7 ), 254, Vector2( 46, 8 ), 442, Vector2( 46, 9 ), 190, Vector2( 47, 8 ), 250, Vector2( 47, 9 ), 187 ]
9/autotile/icon_coordinate = Vector2( 38, 7 )
9/autotile/tile_size = Vector2( 16, 16 )
9/autotile/spacing = 0
9/autotile/occluder_map = [ ]
9/autotile/navpoly_map = [ ]
9/autotile/priority_map = [ ]
9/autotile/z_index_map = [ ]
9/occluder_offset = Vector2( 0, 0 )
9/navigation_offset = Vector2( 0, 0 )
9/shape_offset = Vector2( 0, 0 )
9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
9/shape_one_way = false
9/shape_one_way_margin = 0.0
9/shapes = [ ]
9/z_index = 0
10/name = "tileset_mk_16_16_nature_tileset_godot.png 10"
10/texture = ExtResource( 1 )
10/tex_offset = Vector2( 0, 0 )
10/modulate = Color( 1, 1, 1, 1 )
10/region = Rect2( 0, 0, 960, 400 )
10/tile_mode = 1
10/autotile/bitmask_mode = 1
10/autotile/bitmask_flags = [ Vector2( 49, 0 ), 432, Vector2( 49, 1 ), 438, Vector2( 49, 2 ), 54, Vector2( 49, 3 ), 48, Vector2( 50, 0 ), 504, Vector2( 50, 1 ), 511, Vector2( 50, 2 ), 63, Vector2( 50, 3 ), 56, Vector2( 51, 0 ), 216, Vector2( 51, 1 ), 219, Vector2( 51, 2 ), 27, Vector2( 51, 3 ), 24, Vector2( 52, 0 ), 144, Vector2( 52, 1 ), 146, Vector2( 52, 2 ), 18, Vector2( 52, 3 ), 16, Vector2( 53, 0 ), 176, Vector2( 53, 1 ), 182, Vector2( 53, 2 ), 434, Vector2( 53, 3 ), 50, Vector2( 53, 4 ), 178, Vector2( 54, 0 ), 248, Vector2( 54, 1 ), 255, Vector2( 54, 2 ), 507, Vector2( 54, 3 ), 59, Vector2( 54, 4 ), 251, Vector2( 55, 0 ), 440, Vector2( 55, 1 ), 447, Vector2( 55, 2 ), 510, Vector2( 55, 3 ), 62, Vector2( 55, 4 ), 446, Vector2( 56, 0 ), 152, Vector2( 56, 1 ), 155, Vector2( 56, 2 ), 218, Vector2( 56, 3 ), 26, Vector2( 56, 4 ), 154, Vector2( 57, 0 ), 184, Vector2( 57, 1 ), 191, Vector2( 57, 2 ), 506, Vector2( 57, 3 ), 58, Vector2( 57, 4 ), 186, Vector2( 58, 0 ), 443, Vector2( 58, 1 ), 254, Vector2( 58, 2 ), 442, Vector2( 58, 3 ), 190, Vector2( 59, 2 ), 250, Vector2( 59, 3 ), 187 ]
10/autotile/icon_coordinate = Vector2( 50, 1 )
10/autotile/tile_size = Vector2( 16, 16 )
10/autotile/spacing = 0
10/autotile/occluder_map = [ ]
10/autotile/navpoly_map = [ ]
10/autotile/priority_map = [ ]
10/autotile/z_index_map = [ ]
10/occluder_offset = Vector2( 0, 0 )
10/navigation_offset = Vector2( 0, 0 )
10/shape_offset = Vector2( 0, 0 )
10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
10/shape_one_way = false
10/shape_one_way_margin = 0.0
10/shapes = [ ]
10/z_index = 0
11/name = "tileset_mk_16_16_nature_tileset_godot.png 11"
11/texture = ExtResource( 1 )
11/tex_offset = Vector2( 0, 0 )
11/modulate = Color( 1, 1, 1, 1 )
11/region = Rect2( 0, 0, 960, 400 )
11/tile_mode = 1
11/autotile/bitmask_mode = 1
11/autotile/bitmask_flags = [ Vector2( 49, 6 ), 432, Vector2( 49, 7 ), 438, Vector2( 49, 8 ), 54, Vector2( 49, 9 ), 48, Vector2( 50, 6 ), 504, Vector2( 50, 7 ), 511, Vector2( 50, 8 ), 63, Vector2( 50, 9 ), 56, Vector2( 51, 6 ), 216, Vector2( 51, 7 ), 219, Vector2( 51, 8 ), 27, Vector2( 51, 9 ), 24, Vector2( 52, 6 ), 144, Vector2( 52, 7 ), 146, Vector2( 52, 8 ), 18, Vector2( 52, 9 ), 16, Vector2( 53, 6 ), 176, Vector2( 53, 7 ), 182, Vector2( 53, 8 ), 434, Vector2( 53, 9 ), 50, Vector2( 53, 10 ), 178, Vector2( 54, 6 ), 248, Vector2( 54, 7 ), 255, Vector2( 54, 8 ), 507, Vector2( 54, 9 ), 59, Vector2( 54, 10 ), 251, Vector2( 55, 6 ), 440, Vector2( 55, 7 ), 447, Vector2( 55, 8 ), 510, Vector2( 55, 9 ), 62, Vector2( 55, 10 ), 446, Vector2( 56, 6 ), 152, Vector2( 56, 7 ), 155, Vector2( 56, 8 ), 218, Vector2( 56, 9 ), 26, Vector2( 56, 10 ), 154, Vector2( 57, 6 ), 184, Vector2( 57, 7 ), 191, Vector2( 57, 8 ), 506, Vector2( 57, 9 ), 58, Vector2( 57, 10 ), 186, Vector2( 58, 6 ), 443, Vector2( 58, 7 ), 254, Vector2( 58, 8 ), 442, Vector2( 58, 9 ), 190, Vector2( 59, 8 ), 250, Vector2( 59, 9 ), 187 ]
11/autotile/icon_coordinate = Vector2( 50, 7 )
11/autotile/tile_size = Vector2( 16, 16 )
11/autotile/spacing = 0
11/autotile/occluder_map = [ ]
11/autotile/navpoly_map = [ ]
11/autotile/priority_map = [ ]
11/autotile/z_index_map = [ ]
11/occluder_offset = Vector2( 0, 0 )
11/navigation_offset = Vector2( 0, 0 )
11/shape_offset = Vector2( 0, 0 )
11/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
11/shape_one_way = false
11/shape_one_way_margin = 0.0
11/shapes = [ ]
11/z_index = 0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/transparent16x16.png-f6f9707588e3381f4a86cbf58a077ee1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/transparent16x16.png"
dest_files=[ "res://.import/transparent16x16.png-f6f9707588e3381f4a86cbf58a077ee1.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/fire_column_medium_11.png-1796e072c315c826fad5e137829db456.stex" path="res://.import/Eyeball_Boss_Spritesheet.png-68d0e69f98fe7b38c9c73f0a64d2617b.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Assets/fire_column_medium_11.png" source_file="res://Sprites/Enemies/Eyeball_Boss_Spritesheet.png"
dest_files=[ "res://.import/fire_column_medium_11.png-1796e072c315c826fad5e137829db456.stex" ] dest_files=[ "res://.import/Eyeball_Boss_Spritesheet.png-68d0e69f98fe7b38c9c73f0a64d2617b.stex" ]
[params] [params]
@@ -18,13 +18,13 @@ compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0 compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=2
flags/repeat=0 flags/repeat=0
flags/filter=false flags/filter=false
flags/mipmaps=false flags/mipmaps=false
flags/anisotropic=false flags/anisotropic=false
flags/srgb=2 flags/srgb=0
process/fix_alpha_border=true process/fix_alpha_border=false
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false process/invert_color=false
Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/fire_column_medium_1.png-48b98f9a68bfaeaf7064e879938e5cfd.stex" path="res://.import/Glowing_Blue_Fireball.png-fe4975267183b98e7938f4c5e42be857.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Assets/fire_column_medium_1.png" source_file="res://Sprites/Enemies/Projectiles/Glowing_Blue_Fireball.png"
dest_files=[ "res://.import/fire_column_medium_1.png-48b98f9a68bfaeaf7064e879938e5cfd.stex" ] dest_files=[ "res://.import/Glowing_Blue_Fireball.png-fe4975267183b98e7938f4c5e42be857.stex" ]
[params] [params]
@@ -18,13 +18,13 @@ compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0 compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=2
flags/repeat=0 flags/repeat=0
flags/filter=false flags/filter=false
flags/mipmaps=false flags/mipmaps=false
flags/anisotropic=false flags/anisotropic=false
flags/srgb=2 flags/srgb=0
process/fix_alpha_border=true process/fix_alpha_border=false
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false process/invert_color=false
Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/demon_slime_FREE_v1.0_288x160_spritesheet.png-da4c04e9c38eb5ed99cae0d2f557eb77.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Enemies/demon_slime_FREE_v1.0_288x160_spritesheet.png"
dest_files=[ "res://.import/demon_slime_FREE_v1.0_288x160_spritesheet.png-da4c04e9c38eb5ed99cae0d2f557eb77.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/flaming skull design.png-6cdb00fac9a58170d068889a670f71dd.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Enemies/flaming skull design.png"
dest_files=[ "res://.import/flaming skull design.png-6cdb00fac9a58170d068889a670f71dd.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/hell-hound-jump.png-fb98aad763e717154d47c9a25ba1d282.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Enemies/hell-hound-jump.png"
dest_files=[ "res://.import/hell-hound-jump.png-fb98aad763e717154d47c9a25ba1d282.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

-35
View File
@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/hell-hound-run.png-591e4b1772e53a1946fa4c0e7f6d00c7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Enemies/hell-hound-run.png"
dest_files=[ "res://.import/hell-hound-run.png-591e4b1772e53a1946fa4c0e7f6d00c7.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/hell-hound-idle.png-04adabe67f632c3810ca4f6f4217166b.stex" path="res://.import/Teleport_Pad.png-feb3618f49108afe681ef3b951315b02.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Enemies/hell-hound-idle.png" source_file="res://Sprites/Levels/Interactables/Teleport_Pad.png"
dest_files=[ "res://.import/hell-hound-idle.png-04adabe67f632c3810ca4f6f4217166b.stex" ] dest_files=[ "res://.import/Teleport_Pad.png-feb3618f49108afe681ef3b951315b02.stex" ]
[params] [params]
@@ -18,13 +18,13 @@ compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0 compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=2
flags/repeat=0 flags/repeat=0
flags/filter=false flags/filter=false
flags/mipmaps=false flags/mipmaps=false
flags/anisotropic=false flags/anisotropic=false
flags/srgb=2 flags/srgb=0
process/fix_alpha_border=true process/fix_alpha_border=false
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false process/invert_color=false