Merge branch 'main' into Space-level

This commit is contained in:
Jane Cho authored and GitHub committed 2021-12-09 18:34:56 -06:00
commit ff327a5949
85 files changed
+2220 -467

No files matched your search

+74
View File
@@ -0,0 +1,74 @@
extends KinematicBody2D
const SPEED: int = 30
var player: KinematicBody2D = null
var velocity: Vector2 = Vector2.ZERO
var health: int = 15
var hit: bool = false
var counter: int = 0
func _physics_process(_delta: float) -> void:
velocity = Vector2.ZERO
if player and position.distance_to(player.position) > 1:
velocity = position.direction_to(player.position).normalized() * SPEED
var angle = position.angle_to_point(player.position)
if abs(angle) > PI/2:
$AnimatedSprite1.scale.x = -0.563
else:
$AnimatedSprite1.scale.x = 0.563
if hit == true:
if counter < 15:
if counter % 5 == 0:
$AnimatedSprite1.visible = false
else:
$AnimatedSprite1.visible = true
counter += 1
velocity = Vector2.ZERO
else:
hit = false
counter = 0
velocity = move_and_slide(velocity)
return
func _on_player_detector_body_entered(body: Node) -> void:
if body.is_in_group('player'):
player = body
$AnimatedSprite1.animation = 'Walk'
return
func _on_player_detector_body_exited(body: Node) -> void:
if body.is_in_group('player'):
player = null
$AnimatedSprite1.animation = 'Idle'
return
func _on_hitbox_area_entered(area: Area2D) -> void:
if area.is_in_group('player_weapon_1'):
health -= 1
hit = true
elif area.is_in_group('player_weapon_2'):
health -= 2
hit = true
if health <= 0:
call_deferred('queue_free')
return
func _on_Player_Detector__Attack_body_entered(body: Node) -> void:
if body.is_in_group('player'):
player = body
$AnimatedSprite1.animation = 'Attack'
func _on_Player_Detector__Attack_body_exited(body: Node) -> void:
if body.is_in_group('player'):
player = body
$AnimatedSprite1.animation = 'Walk'
+193 -209
View File
@@ -1,310 +1,251 @@
[gd_scene load_steps=68 format=2] [gd_scene load_steps=71 format=2]
[ext_resource path="res://Resources/Level_5_Enemy_Glowing_Ghost_Occluder.tres" type="OccluderPolygon2D" id=1] [ext_resource path="res://Resources/Level_5_Enemy_Glowing_Ghost_Occluder.tres" type="OccluderPolygon2D" id=1]
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=2] [ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Enemies/Demon_Slime_Spritesheet.png" type="Texture" id=3] [ext_resource path="res://Enemies/Demon Boss.gd" type="Script" id=4]
[ext_resource path="res://Enemies/DemonBoss.gd" type="Script" id=4] [ext_resource path="res://Sprites/Enemies/Demon_Slime_Spritesheet.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Enemies/Chasing_Glowing_Ghost.png" type="Texture" id=7]
[sub_resource type="AtlasTexture" id=3] [sub_resource type="AtlasTexture" id=3]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 0, 640, 288, 160 ) region = Rect2( 0, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=4] [sub_resource type="AtlasTexture" id=4]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 288, 640, 288, 160 ) region = Rect2( 288, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=5] [sub_resource type="AtlasTexture" id=5]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 576, 640, 288, 160 ) region = Rect2( 576, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=6] [sub_resource type="AtlasTexture" id=6]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 864, 640, 288, 160 ) region = Rect2( 864, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=7] [sub_resource type="AtlasTexture" id=7]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 1152, 640, 288, 160 ) region = Rect2( 1152, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=8] [sub_resource type="AtlasTexture" id=8]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 1440, 640, 288, 160 ) region = Rect2( 1440, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=9] [sub_resource type="AtlasTexture" id=9]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 1728, 640, 288, 160 ) region = Rect2( 1728, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=10] [sub_resource type="AtlasTexture" id=10]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 2016, 640, 288, 160 ) region = Rect2( 2016, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=11] [sub_resource type="AtlasTexture" id=11]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 2304, 640, 288, 160 ) region = Rect2( 2304, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=12] [sub_resource type="AtlasTexture" id=12]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 2592, 640, 288, 160 ) region = Rect2( 2592, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=13] [sub_resource type="AtlasTexture" id=13]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 2880, 640, 288, 160 ) region = Rect2( 2880, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=14] [sub_resource type="AtlasTexture" id=14]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 3168, 640, 288, 160 ) region = Rect2( 3168, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=15] [sub_resource type="AtlasTexture" id=15]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 3456, 640, 288, 160 ) region = Rect2( 3456, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=16] [sub_resource type="AtlasTexture" id=16]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 3744, 640, 288, 160 ) region = Rect2( 3744, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=17] [sub_resource type="AtlasTexture" id=17]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 4032, 640, 288, 160 ) region = Rect2( 4032, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=18] [sub_resource type="AtlasTexture" id=18]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 4320, 640, 288, 160 ) region = Rect2( 4320, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=19] [sub_resource type="AtlasTexture" id=19]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 4608, 640, 288, 160 ) region = Rect2( 4608, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=20] [sub_resource type="AtlasTexture" id=20]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 4896, 640, 288, 160 ) region = Rect2( 4896, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=21] [sub_resource type="AtlasTexture" id=21]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 5184, 640, 288, 160 ) region = Rect2( 5184, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=22] [sub_resource type="AtlasTexture" id=22]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 5472, 640, 288, 160 ) region = Rect2( 5472, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=23] [sub_resource type="AtlasTexture" id=23]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 5760, 640, 288, 160 ) region = Rect2( 5760, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=24] [sub_resource type="AtlasTexture" id=24]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 6048, 640, 288, 160 ) region = Rect2( 6048, 640, 288, 160 )
[sub_resource type="AtlasTexture" id=25]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 0, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=26]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 288, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=27]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 576, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=28]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 864, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=29]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 1152, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=30]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 1440, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=31]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 1728, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=32]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 2016, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=33]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 2304, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=34]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 2592, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=35]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 2880, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=36]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 3168, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=37]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=38]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 288, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=39]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 576, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=40]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 864, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=41]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 1152, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=42]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 1440, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=43] [sub_resource type="AtlasTexture" id=43]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 0, 320, 288, 160 ) region = Rect2( 0, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=44] [sub_resource type="AtlasTexture" id=44]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 288, 320, 288, 160 ) region = Rect2( 288, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=45] [sub_resource type="AtlasTexture" id=45]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 576, 320, 288, 160 ) region = Rect2( 576, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=46] [sub_resource type="AtlasTexture" id=46]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 864, 320, 288, 160 ) region = Rect2( 864, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=47] [sub_resource type="AtlasTexture" id=47]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 1152, 320, 288, 160 ) region = Rect2( 1152, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=48] [sub_resource type="AtlasTexture" id=48]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 1440, 320, 288, 160 ) region = Rect2( 1440, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=49] [sub_resource type="AtlasTexture" id=49]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 1728, 320, 288, 160 ) region = Rect2( 1728, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=50] [sub_resource type="AtlasTexture" id=50]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 2016, 320, 288, 160 ) region = Rect2( 2016, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=51] [sub_resource type="AtlasTexture" id=51]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 2304, 320, 288, 160 ) region = Rect2( 2304, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=52] [sub_resource type="AtlasTexture" id=52]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 2592, 320, 288, 160 ) region = Rect2( 2592, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=53] [sub_resource type="AtlasTexture" id=53]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 2880, 320, 288, 160 ) region = Rect2( 2880, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=54] [sub_resource type="AtlasTexture" id=54]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 3168, 320, 288, 160 ) region = Rect2( 3168, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=55] [sub_resource type="AtlasTexture" id=55]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 3456, 320, 288, 160 ) region = Rect2( 3456, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=56] [sub_resource type="AtlasTexture" id=56]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 3744, 320, 288, 160 ) region = Rect2( 3744, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=57] [sub_resource type="AtlasTexture" id=57]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 4032, 320, 288, 160 ) region = Rect2( 4032, 320, 288, 160 )
[sub_resource type="AtlasTexture" id=58] [sub_resource type="AtlasTexture" id=58]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 0, 480, 288, 160 ) region = Rect2( 0, 480, 288, 160 )
[sub_resource type="AtlasTexture" id=59] [sub_resource type="AtlasTexture" id=59]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 288, 480, 288, 160 ) region = Rect2( 288, 480, 288, 160 )
[sub_resource type="AtlasTexture" id=60] [sub_resource type="AtlasTexture" id=60]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 576, 480, 288, 160 ) region = Rect2( 576, 480, 288, 160 )
[sub_resource type="AtlasTexture" id=61] [sub_resource type="AtlasTexture" id=61]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 864, 480, 288, 160 ) region = Rect2( 864, 480, 288, 160 )
[sub_resource type="AtlasTexture" id=62] [sub_resource type="AtlasTexture" id=62]
flags = 4 atlas = ExtResource( 5 )
atlas = ExtResource( 3 )
region = Rect2( 1152, 480, 288, 160 ) region = Rect2( 1152, 480, 288, 160 )
[sub_resource type="AtlasTexture" id=25]
atlas = ExtResource( 5 )
region = Rect2( 0, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=26]
atlas = ExtResource( 5 )
region = Rect2( 288, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=27]
atlas = ExtResource( 5 )
region = Rect2( 576, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=28]
atlas = ExtResource( 5 )
region = Rect2( 864, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=29]
atlas = ExtResource( 5 )
region = Rect2( 1152, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=30]
atlas = ExtResource( 5 )
region = Rect2( 1440, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=31]
atlas = ExtResource( 5 )
region = Rect2( 1728, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=32]
atlas = ExtResource( 5 )
region = Rect2( 2016, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=33]
atlas = ExtResource( 5 )
region = Rect2( 2304, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=34]
atlas = ExtResource( 5 )
region = Rect2( 2592, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=35]
atlas = ExtResource( 5 )
region = Rect2( 2880, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=36]
atlas = ExtResource( 5 )
region = Rect2( 3168, 160, 288, 160 )
[sub_resource type="AtlasTexture" id=37]
atlas = ExtResource( 5 )
region = Rect2( 0, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=38]
atlas = ExtResource( 5 )
region = Rect2( 288, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=39]
atlas = ExtResource( 5 )
region = Rect2( 576, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=40]
atlas = ExtResource( 5 )
region = Rect2( 864, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=41]
atlas = ExtResource( 5 )
region = Rect2( 1152, 0, 288, 160 )
[sub_resource type="AtlasTexture" id=42]
atlas = ExtResource( 5 )
region = Rect2( 1440, 0, 288, 160 )
[sub_resource type="SpriteFrames" id=63] [sub_resource type="SpriteFrames" id=63]
animations = [ { animations = [ {
"frames": [ SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ) ], "frames": [ SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ) ],
@@ -312,16 +253,6 @@ animations = [ {
"name": "Death", "name": "Death",
"speed": 5.0 "speed": 5.0
}, { }, {
"frames": [ SubResource( 25 ), SubResource( 26 ), SubResource( 27 ), SubResource( 28 ), SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ) ],
"loop": true,
"name": "Walk",
"speed": 5.0
}, {
"frames": [ SubResource( 37 ), SubResource( 38 ), SubResource( 39 ), SubResource( 40 ), SubResource( 41 ), SubResource( 42 ) ],
"loop": true,
"name": "Idle",
"speed": 5.0
}, {
"frames": [ SubResource( 43 ), SubResource( 44 ), SubResource( 45 ), SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ), SubResource( 53 ), SubResource( 54 ), SubResource( 55 ), SubResource( 56 ), SubResource( 57 ) ], "frames": [ SubResource( 43 ), SubResource( 44 ), SubResource( 45 ), SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ), SubResource( 53 ), SubResource( 54 ), SubResource( 55 ), SubResource( 56 ), SubResource( 57 ) ],
"loop": true, "loop": true,
"name": "Attack", "name": "Attack",
@@ -331,74 +262,127 @@ animations = [ {
"loop": true, "loop": true,
"name": "Hit", "name": "Hit",
"speed": 5.0 "speed": 5.0
}, {
"frames": [ SubResource( 25 ), SubResource( 26 ), SubResource( 27 ), SubResource( 28 ), SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ) ],
"loop": true,
"name": "Walk",
"speed": 5.0
}, {
"frames": [ SubResource( 37 ), SubResource( 38 ), SubResource( 39 ), SubResource( 40 ), SubResource( 41 ), SubResource( 42 ) ],
"loop": true,
"name": "Idle",
"speed": 5.0
} ] } ]
[sub_resource type="CapsuleShape2D" id=64]
radius = 1.5
height = 3.0
[sub_resource type="CapsuleShape2D" id=1] [sub_resource type="CapsuleShape2D" id=1]
radius = 3.0 radius = 26.0
height = 2.0 height = 2.0
[sub_resource type="CircleShape2D" id=2] [sub_resource type="CircleShape2D" id=2]
radius = 50.0 radius = 144.003
[node name="DemonBoss" type="KinematicBody2D" groups=["enemies"]] [sub_resource type="CircleShape2D" id=65]
collision_layer = 2 radius = 42.0
[node name="Demon Boss" type="KinematicBody2D" groups=["enemy"]]
light_mask = 0
collision_layer = 4
collision_mask = 5
script = ExtResource( 4 ) script = ExtResource( 4 )
[node name="AnimatedSprite1" type="AnimatedSprite" parent="."] [node name="AnimatedSprite1" type="AnimatedSprite" parent="."]
position = Vector2( 1, -3 ) position = Vector2( 2, -15 )
scale = Vector2( 0.5, 0.5 ) scale = Vector2( 0.5, 0.5 )
frames = SubResource( 63 ) frames = SubResource( 63 )
animation = "Idle" animation = "Idle"
frame = 5
playing = true playing = true
[node name="Hitbox" type="CollisionShape2D" parent="."] [node name="Sprite" type="Sprite" parent="."]
visible = false visible = false
light_mask = 4
position = Vector2( 0, -3 ) position = Vector2( 0, -3 )
texture = ExtResource( 7 )
offset = Vector2( 0, 0.5 )
[node name="Collision" type="CollisionShape2D" parent="."]
visible = false
light_mask = 0
rotation = 1.5708
shape = SubResource( 64 )
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox_1"]]
light_mask = 0
collision_layer = 4
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
visible = false
light_mask = 0
position = Vector2( 2, 5 )
shape = SubResource( 1 ) shape = SubResource( 1 )
[node name="Player Detector" type="Area2D" parent="."] [node name="Player Detector" type="Area2D" parent="."]
light_mask = 0
collision_layer = 0 collision_layer = 0
collision_mask = 2 collision_mask = 2
input_pickable = false input_pickable = false
monitorable = false monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
scale = Vector2( 2, 2 ) light_mask = 0
shape = SubResource( 2 ) shape = SubResource( 2 )
[node name="Player Attack" type="Area2D" parent="."] [node name="Player Detector - Attack" type="Area2D" parent="."]
visible = false light_mask = 0
collision_layer = 0 collision_layer = 0
collision_mask = 2 collision_mask = 2
input_pickable = false input_pickable = false
monitorable = false monitorable = false
[node name="Attack" type="CollisionShape2D" parent="Player Attack"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector - Attack"]
position = Vector2( 0, 7 ) shape = SubResource( 65 )
scale = Vector2( 1, 0.75 )
shape = SubResource( 2 )
[node name="Light2D" type="Light2D" parent="."] [node name="Player Detector - Attack2" 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 - Attack2"]
visible = false
shape = SubResource( 65 )
[node name="Light" type="Light2D" parent="."]
visible = false visible = false
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 2 ) texture = ExtResource( 2 )
texture_scale = 0.5
color = Color( 0.984314, 0.94902, 0.211765, 0.392157 ) color = Color( 0.984314, 0.94902, 0.211765, 0.392157 )
energy = 2.0 energy = 2.0
range_item_cull_mask = 11 range_item_cull_mask = 11
[node name="Light2DEyes" type="Light2D" parent="."] [node name="Eyes" type="Light2D" parent="."]
visible = false visible = false
scale = Vector2( 0.1, 0.1 ) scale = Vector2( 0.1, 0.1 )
texture = ExtResource( 2 ) texture = ExtResource( 2 )
offset = Vector2( 5, -40 ) offset = Vector2( 5, -35 )
range_item_cull_mask = 4 range_item_cull_mask = 4
shadow_item_cull_mask = 0
[node name="LightOccluder2D" type="LightOccluder2D" parent="."] [node name="Occluder" type="LightOccluder2D" parent="."]
visible = false visible = false
show_behind_parent = true show_behind_parent = true
occluder = ExtResource( 1 ) occluder = ExtResource( 1 )
[connection signal="area_entered" from="Player Detector" to="." method="_on_player_detector_area_entered"] [connection signal="area_entered" from="Hitbox" to="." method="_on_hitbox_area_entered"]
[connection signal="area_exited" from="Player Detector" to="." method="_on_player_detector_area_exited"] [connection signal="body_entered" from="Player Detector" to="." method="_on_player_detector_body_entered"]
[connection signal="area_entered" from="Player Attack" to="." method="_on_Player_Attack_area_entered"] [connection signal="body_exited" from="Player Detector" to="." method="_on_player_detector_body_exited"]
[connection signal="area_exited" from="Player Attack" to="." method="_on_Player_Attack_area_exited"] [connection signal="body_entered" from="Player Detector - Attack" to="." method="_on_Player_Detector__Attack_body_entered"]
[connection signal="body_exited" from="Player Detector - Attack" to="." method="_on_Player_Detector__Attack_body_exited"]
[connection signal="body_entered" from="Player Detector - Attack2" to="." method="_on_Player_Detector__Attack_body_entered"]
[connection signal="body_exited" from="Player Detector - Attack2" to="." method="_on_Player_Detector__Attack_body_exited"]
-50
View File
@@ -1,50 +0,0 @@
extends KinematicBody2D
const SPEED: int = 30
var player: KinematicBody2D = null
var velocity: Vector2 = Vector2.ZERO
var status = "walk"
func _physics_process(_delta: float) -> void:
velocity = Vector2.ZERO
if player:
velocity = position.direction_to(player.position).normalized() * SPEED
var angle = position.angle_to_point(player.position)
if abs(angle) > PI/2:
$AnimatedSprite1.scale.x = -0.563
else:
$AnimatedSprite1.scale.x = 0.563
velocity = move_and_slide(velocity)
return
func _on_player_detector_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player':
player = area.get_parent()
$AnimatedSprite1.animation = "Walk"
return
func _on_player_detector_area_exited(_area: Area2D):
player = null
$AnimatedSprite1.animation = "Idle"
return
func _on_Player_Attack_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player':
player = area.get_parent()
$AnimatedSprite1.animation = "Attack"
status = "attack"
return
func _on_Player_Attack_area_exited(area: Area2D) -> void:
player = null
if not status == "attack":
$AnimatedSprite1.animation = "Walk"
return
+37 -7
View File
@@ -4,25 +4,55 @@ const SPEED: int = 50
var player: KinematicBody2D = null var player: KinematicBody2D = null
var velocity: Vector2 = Vector2.ZERO var velocity: Vector2 = Vector2.ZERO
var health: int = 2
var hit: bool = false
var counter: int = 0
func _physics_process(_delta: float) -> void: func _physics_process(_delta: float) -> void:
velocity = Vector2.ZERO velocity = Vector2.ZERO
if player: 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 counter < 15:
if counter % 5 == 0:
$AnimatedSprite.visible = false
else:
$AnimatedSprite.visible = true
counter += 1
velocity = Vector2.ZERO
else:
counter = 0
hit = false
velocity = move_and_slide(velocity) velocity = move_and_slide(velocity)
return return
func _on_player_detector_area_entered(area: Area2D) -> void: func _on_player_detector_body_entered(body: Node) -> void:
if area.get_parent().name == 'Player': if body.is_in_group('player'):
player = area.get_parent() player = body
return return
func _on_player_detector_area_exited(_area: Area2D): func _on_player_detector_body_exited(body: Node) -> void:
player = null if body.is_in_group('player'):
player = null
return
func _on_hitbox_area_entered(area: Area2D) -> void:
if area.is_in_group('player_weapon_1'):
health -= 1
hit = true
elif area.is_in_group('player_weapon_2'):
health -= 2
hit = true
if health <= 0:
call_deferred('queue_free')
return return
+35 -34
View File
@@ -1,22 +1,18 @@
[gd_scene load_steps=11 format=2] [gd_scene load_steps=10 format=2]
[ext_resource path="res://Resources/Level_5_Enemy_Glowing_Ghost_Occluder.tres" type="OccluderPolygon2D" id=1] [ext_resource path="res://Sprites/Enemies/Chasing_Glowing_Ghost.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=2]
[ext_resource path="res://Enemies/Flaming Skull.gd" type="Script" id=4] [ext_resource path="res://Enemies/Flaming Skull.gd" type="Script" id=4]
[ext_resource path="res://Sprites/Enemies/Flaming_Skull_Design.png" type="Texture" id=5] [ext_resource path="res://Sprites/Enemies/Flaming_Skull_Design.png" type="Texture" id=5]
[sub_resource type="AtlasTexture" id=3] [sub_resource type="AtlasTexture" id=3]
flags = 4
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 0, 0, 672, 672 ) region = Rect2( 0, 0, 672, 672 )
[sub_resource type="AtlasTexture" id=4] [sub_resource type="AtlasTexture" id=4]
flags = 4
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 672, 0, 672, 672 ) region = Rect2( 672, 0, 672, 672 )
[sub_resource type="AtlasTexture" id=5] [sub_resource type="AtlasTexture" id=5]
flags = 4
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 1344, 0, 672, 672 ) region = Rect2( 1344, 0, 672, 672 )
@@ -29,27 +25,50 @@ animations = [ {
} ] } ]
[sub_resource type="CapsuleShape2D" id=1] [sub_resource type="CapsuleShape2D" id=1]
radius = 3.0 radius = 5.0
height = 2.0 height = 12.0
[sub_resource type="CircleShape2D" id=2] [sub_resource type="CircleShape2D" id=2]
radius = 50.0 radius = 50.0
[node name="Flaming Skull" type="KinematicBody2D" groups=["enemies"]] [node name="Flaming Skull" type="KinematicBody2D" groups=["enemy"]]
collision_layer = 2 light_mask = 0
collision_layer = 4
collision_mask = 5
script = ExtResource( 4 ) script = ExtResource( 4 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."] [node name="AnimatedSprite" type="AnimatedSprite" parent="."]
scale = Vector2( 0.0446429, 0.0446429 ) position = Vector2( 4.76837e-07, -2.38419e-07 )
scale = Vector2( 0.0517113, 0.0517113 )
frames = SubResource( 6 ) frames = SubResource( 6 )
frame = 2
playing = true playing = true
offset = Vector2( 0, 0.5 )
[node name="Hitbox" type="CollisionShape2D" parent="."] [node name="Sprite" type="Sprite" parent="."]
visible = false visible = false
light_mask = 4
position = Vector2( 0, -3 ) position = Vector2( 0, -3 )
texture = ExtResource( 3 )
offset = Vector2( 0, 0.5 )
[node name="Collision" type="CollisionShape2D" parent="."]
visible = false
light_mask = 0
rotation = 1.5708
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox_1"]]
light_mask = 0
collision_layer = 4
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
light_mask = 0
position = Vector2( -1, 1 )
shape = SubResource( 1 ) shape = SubResource( 1 )
[node name="Player Detector" type="Area2D" parent="."] [node name="Player Detector" type="Area2D" parent="."]
light_mask = 0
collision_layer = 0 collision_layer = 0
collision_mask = 2 collision_mask = 2
input_pickable = false input_pickable = false
@@ -57,27 +76,9 @@ monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
visible = false visible = false
light_mask = 0
shape = SubResource( 2 ) shape = SubResource( 2 )
[node name="Light2D" type="Light2D" parent="."] [connection signal="area_entered" from="Hitbox" to="." method="_on_hitbox_area_entered"]
visible = false [connection signal="body_entered" from="Player Detector" to="." method="_on_player_detector_body_entered"]
scale = Vector2( 0.5, 0.5 ) [connection signal="body_exited" from="Player Detector" to="." method="_on_player_detector_body_exited"]
texture = ExtResource( 2 )
color = Color( 0.984314, 0.94902, 0.211765, 0.392157 )
energy = 2.0
range_item_cull_mask = 11
[node name="Light2DEyes" type="Light2D" parent="."]
visible = false
scale = Vector2( 0.1, 0.1 )
texture = ExtResource( 2 )
offset = Vector2( 5, -40 )
range_item_cull_mask = 4
[node name="LightOccluder2D" type="LightOccluder2D" parent="."]
visible = false
show_behind_parent = true
occluder = ExtResource( 1 )
[connection signal="area_entered" from="Player Detector" to="." method="_on_player_detector_area_entered"]
[connection signal="area_exited" from="Player Detector" to="." method="_on_player_detector_area_exited"]
+42 -15
View File
@@ -4,12 +4,15 @@ const SPEED: int = 60
var player: KinematicBody2D = null var player: KinematicBody2D = null
var velocity: Vector2 = Vector2.ZERO var velocity: Vector2 = Vector2.ZERO
var health: int = 2
var hit: bool = false
var counter: int = 0
func _physics_process(_delta: float) -> void: func _physics_process(_delta: float) -> void:
velocity = Vector2.ZERO velocity = Vector2.ZERO
if player: 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:
@@ -17,31 +20,55 @@ func _physics_process(_delta: float) -> void:
else: else:
$AnimatedSprite1.scale.x = 0.563 $AnimatedSprite1.scale.x = 0.563
if hit == true:
if counter < 15:
if counter % 5 == 0:
$AnimatedSprite1.visible = false
else:
$AnimatedSprite1.visible = true
counter += 1
velocity = Vector2.ZERO
else:
counter = 0
hit = false
velocity = move_and_slide(velocity) velocity = move_and_slide(velocity)
return return
func _on_player_detector_area_entered(area: Area2D) -> void: func _on_player_detector_body_entered(body: Node) -> void:
if area.get_parent().name == 'Player': if body.is_in_group('player'):
player = area.get_parent() player = body
$AnimatedSprite1.animation = 'Running' $AnimatedSprite1.animation = 'Running'
return return
func _on_player_detector_area_exited(_area: Area2D): func _on_player_detector_body_exited(body: Node) -> void:
player = null if body.is_in_group('player'):
$AnimatedSprite1.animation = 'Idle' player = null
$AnimatedSprite1.animation = 'Idle'
return return
func _on_Player_Attack_area_entered(area: Area2D) -> void: func _on_hitbox_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player': if area.is_in_group('player_weapon_1'):
player = area.get_parent() health -= 1
hit = true
elif area.is_in_group('player_weapon_2'):
health -= 2
hit = true
if health <= 0:
call_deferred('queue_free')
return
func _on_Player_Detector__Attack_body_entered(body: Node) -> void:
if body.is_in_group('player'):
player = body
$AnimatedSprite1.animation = 'Jump' $AnimatedSprite1.animation = 'Jump'
return
func _on_Player_Attack_area_exited(area: Area2D) -> void: func _on_Player_Detector__Attack_body_exited(body: Node) -> void:
player = null if body.is_in_group('player'):
$AnimatedSprite1.animation = 'Running' player = body
return $AnimatedSprite1.animation = 'Running'
+123 -69
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=27 format=2] [gd_scene load_steps=30 format=2]
[ext_resource path="res://Resources/Level_5_Enemy_Glowing_Ghost_Occluder.tres" type="OccluderPolygon2D" id=1] [ext_resource path="res://Resources/Level_5_Enemy_Glowing_Ghost_Occluder.tres" type="OccluderPolygon2D" id=1]
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=2] [ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=2]
@@ -7,82 +7,80 @@
[ext_resource path="res://Sprites/Enemies/Hell_Hound_Jump.png" type="Texture" id=5] [ext_resource path="res://Sprites/Enemies/Hell_Hound_Jump.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Enemies/Hell_Hound_Run.png" type="Texture" id=6] [ext_resource path="res://Sprites/Enemies/Hell_Hound_Run.png" type="Texture" id=6]
[sub_resource type="AtlasTexture" id=1] [ext_resource path="res://Sprites/Enemies/Chasing_Glowing_Ghost.png" type="Texture" id=7]
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 3 )
region = Rect2( 64, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=3] [sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 3 )
region = Rect2( 128, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 3 )
region = Rect2( 192, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=5]
atlas = ExtResource( 3 )
region = Rect2( 256, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=6]
atlas = ExtResource( 3 )
region = Rect2( 320, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=7]
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 0, 0, 65, 48 ) region = Rect2( 0, 0, 65, 48 )
[sub_resource type="AtlasTexture" id=8] [sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 65, 0, 65, 48 ) region = Rect2( 65, 0, 65, 48 )
[sub_resource type="AtlasTexture" id=9] [sub_resource type="AtlasTexture" id=5]
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 130, 0, 65, 48 ) region = Rect2( 130, 0, 65, 48 )
[sub_resource type="AtlasTexture" id=10] [sub_resource type="AtlasTexture" id=6]
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 195, 0, 65, 48 ) region = Rect2( 195, 0, 65, 48 )
[sub_resource type="AtlasTexture" id=11] [sub_resource type="AtlasTexture" id=7]
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 260, 0, 65, 48 ) region = Rect2( 260, 0, 65, 48 )
[sub_resource type="AtlasTexture" id=12] [sub_resource type="AtlasTexture" id=8]
atlas = ExtResource( 5 ) atlas = ExtResource( 5 )
region = Rect2( 325, 0, 65, 48 ) region = Rect2( 325, 0, 65, 48 )
[sub_resource type="AtlasTexture" id=13] [sub_resource type="AtlasTexture" id=15]
atlas = ExtResource( 6 ) atlas = ExtResource( 6 )
region = Rect2( 0, 0, 67, 32 ) region = Rect2( 0, 0, 67, 32 )
[sub_resource type="AtlasTexture" id=14] [sub_resource type="AtlasTexture" id=16]
atlas = ExtResource( 6 ) atlas = ExtResource( 6 )
region = Rect2( 67, 0, 67, 32 ) region = Rect2( 67, 0, 67, 32 )
[sub_resource type="AtlasTexture" id=15] [sub_resource type="AtlasTexture" id=17]
atlas = ExtResource( 6 ) atlas = ExtResource( 6 )
region = Rect2( 134, 0, 67, 32 ) region = Rect2( 134, 0, 67, 32 )
[sub_resource type="AtlasTexture" id=16] [sub_resource type="AtlasTexture" id=18]
atlas = ExtResource( 6 ) atlas = ExtResource( 6 )
region = Rect2( 201, 0, 67, 32 ) region = Rect2( 201, 0, 67, 32 )
[sub_resource type="AtlasTexture" id=17] [sub_resource type="AtlasTexture" id=19]
atlas = ExtResource( 6 ) atlas = ExtResource( 6 )
region = Rect2( 268, 0, 67, 32 ) region = Rect2( 268, 0, 67, 32 )
[sub_resource type="SpriteFrames" id=18] [sub_resource type="AtlasTexture" id=9]
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=10]
atlas = ExtResource( 3 )
region = Rect2( 64, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=11]
atlas = ExtResource( 3 )
region = Rect2( 128, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=12]
atlas = ExtResource( 3 )
region = Rect2( 192, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=13]
atlas = ExtResource( 3 )
region = Rect2( 256, 0, 64, 32 )
[sub_resource type="AtlasTexture" id=14]
atlas = ExtResource( 3 )
region = Rect2( 320, 0, 64, 32 )
[sub_resource type="SpriteFrames" id=20]
animations = [ { animations = [ {
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ) ], "frames": [ SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ) ],
"loop": true,
"name": "Idle",
"speed": 3.0
}, {
"frames": [ SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ) ],
"loop": true, "loop": true,
"name": "Jump", "name": "Jump",
"speed": 8.0 "speed": 8.0
@@ -91,35 +89,73 @@ animations = [ {
"loop": true, "loop": true,
"name": "Running", "name": "Running",
"speed": 5.0 "speed": 5.0
}, {
"frames": [ SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ) ],
"loop": true,
"name": "Idle",
"speed": 3.0
} ] } ]
[sub_resource type="CapsuleShape2D" id=19]
radius = 3.0 [sub_resource type="CapsuleShape2D" id=21]
radius = 1.5
height = 3.0
[sub_resource type="CapsuleShape2D" id=1]
radius = 8.0
height = 2.0 height = 2.0
[sub_resource type="CircleShape2D" id=20] [sub_resource type="CircleShape2D" id=2]
radius = 50.0 radius = 82.0061
[sub_resource type="CircleShape2D" id=22]
radius = 25.02
[node name="Hellhound" type="KinematicBody2D" groups=["enemy"]]
light_mask = 0
collision_layer = 4
collision_mask = 5
[node name="Hellhound" type="KinematicBody2D" groups=[
"enemies",
]]
collision_layer = 2
script = ExtResource( 4 ) script = ExtResource( 4 )
[node name="AnimatedSprite1" type="AnimatedSprite" parent="."] [node name="AnimatedSprite1" type="AnimatedSprite" parent="."]
light_mask = 0
position = Vector2( 1, -3 ) position = Vector2( 1, -3 )
scale = Vector2( 0.5625, 0.5625 ) scale = Vector2( 0.5625, 0.5625 )
frames = SubResource( 18 ) frames = SubResource( 18 )
animation = "Idle" animation = "Idle"
frame = 5 frame = 3
playing = true playing = true
[node name="Hitbox" type="CollisionShape2D" parent="."] [node name="Sprite" type="Sprite" parent="."]
visible = false visible = false
light_mask = 4
position = Vector2( 0, -3 ) position = Vector2( 0, -3 )
shape = SubResource( 19 )
texture = ExtResource( 7 )
offset = Vector2( 0, 0.5 )
[node name="Collision" type="CollisionShape2D" parent="."]
visible = false
light_mask = 0
rotation = 1.5708
shape = SubResource( 21 )
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox_1"]]
light_mask = 0
collision_layer = 4
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
visible = false
light_mask = 0
shape = SubResource( 1 )
[node name="Player Detector" type="Area2D" parent="."] [node name="Player Detector" type="Area2D" parent="."]
light_mask = 0
collision_layer = 0
collision_mask = 2
input_pickable = false input_pickable = false
monitorable = false monitorable = false
collision_layer = 0 collision_layer = 0
@@ -127,42 +163,60 @@ collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
visible = false visible = false
scale = Vector2( 1.5, 1.5 )
shape = SubResource( 20 )
[node name="Player Attack" type="Area2D" parent="."] light_mask = 0
visible = false shape = SubResource( 2 )
[node name="Player Detector - Attack" type="Area2D" parent="."]
light_mask = 0
collision_layer = 0
collision_mask = 2
input_pickable = false input_pickable = false
monitorable = false monitorable = false
collision_layer = 0 collision_layer = 0
collision_mask = 2 collision_mask = 2
[node name="Attack" type="CollisionShape2D" parent="Player Attack"]
visible = false
scale = Vector2( 0.5, 0.5 )
shape = SubResource( 20 )
[node name="Light2D" type="Light2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector - Attack"]
shape = SubResource( 22 )
[node name="Player Detector - Attack2" 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 - Attack2"]
shape = SubResource( 22 )
[node name="Light" type="Light2D" parent="."]
visible = false visible = false
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 2 ) texture = ExtResource( 2 )
texture_scale = 0.5
color = Color( 0.984314, 0.94902, 0.211765, 0.392157 ) color = Color( 0.984314, 0.94902, 0.211765, 0.392157 )
energy = 2.0 energy = 2.0
range_item_cull_mask = 11 range_item_cull_mask = 11
[node name="Light2DEyes" type="Light2D" parent="."] [node name="Eyes" type="Light2D" parent="."]
visible = false visible = false
scale = Vector2( 0.1, 0.1 ) scale = Vector2( 0.1, 0.1 )
texture = ExtResource( 2 ) texture = ExtResource( 2 )
offset = Vector2( 5, -40 ) offset = Vector2( 5, -35 )
range_item_cull_mask = 4 range_item_cull_mask = 4
shadow_item_cull_mask = 0
[node name="LightOccluder2D" type="LightOccluder2D" parent="."] [node name="Occluder" type="LightOccluder2D" parent="."]
visible = false visible = false
show_behind_parent = true show_behind_parent = true
occluder = ExtResource( 1 ) occluder = ExtResource( 1 )
[connection signal="area_entered" from="Player Detector" to="." method="_on_player_detector_area_entered"] [connection signal="area_entered" from="Hitbox" to="." method="_on_hitbox_area_entered"]
[connection signal="area_exited" from="Player Detector" to="." method="_on_player_detector_area_exited"] [connection signal="body_entered" from="Player Detector" to="." method="_on_player_detector_body_entered"]
[connection signal="area_entered" from="Player Attack" to="." method="_on_Player_Attack_area_entered"] [connection signal="body_exited" from="Player Detector" to="." method="_on_player_detector_body_exited"]
[connection signal="area_exited" from="Player Attack" to="." method="_on_Player_Attack_area_exited"] [connection signal="body_entered" from="Player Detector - Attack" to="." method="_on_Player_Detector__Attack_body_entered"]
[connection signal="body_exited" from="Player Detector - Attack" to="." method="_on_Player_Detector__Attack_body_exited"]
[connection signal="body_entered" from="Player Detector - Attack2" to="." method="_on_Player_Detector__Attack_body_entered"]
[connection signal="body_exited" from="Player Detector - Attack2" to="." method="_on_Player_Detector__Attack_body_exited"]
+18
View File
@@ -0,0 +1,18 @@
extends Area2D
var move = Vector2.ZERO
var look_vec = Vector2.ZERO
var player = null
var speed = 3
func _ready():
look_vec = player.position - global_position
func _physics_process(delta):
move = Vector2.ZERO
move = move.move_toward(look_vec, delta)
move = move.normalized() * speed
position += move
+21
View File
@@ -0,0 +1,21 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Enemies/Snowball.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Enemies/blue_snowball.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 4.47823
[node name="snowball_blue" type="Area2D" groups=[
"freeze",
]]
collision_layer = 0
collision_mask = 2
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -2 )
texture = ExtResource( 2 )
[node name="snowball_blue" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
+23
View File
@@ -0,0 +1,23 @@
extends Area2D
var move = Vector2.ZERO
var look_vec = Vector2.ZERO
var player = null
var speed = 3
func _ready():
look_vec = player.position - position
func _physics_process(delta):
move = Vector2.ZERO
move = move.move_toward(look_vec, delta)
move = move.normalized() * speed
position += move
#position = position.move_toward(look_vec, delta).normalized() * SPEED
+22
View File
@@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Enemies/Snowball.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Enemies/pink_snowball.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 4.47823
[node name="snowball" type="Area2D" groups=[
"enemy_projectile_1",
]]
monitoring = false
collision_layer = 0
collision_mask = 2
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="snowball" type="CollisionShape2D" parent="."]
position = Vector2( -0.00869751, -0.0361767 )
shape = SubResource( 1 )
+64
View File
@@ -0,0 +1,64 @@
extends KinematicBody2D
onready var SNOWBALL_BLUE_SCENE = preload("res://Enemies/Snowball Blue.tscn")
var player = null
var move = Vector2.ZERO
var speed = .5
var health: int = 2
func _physics_process(delta: float) -> void:
move = Vector2.ZERO
if player != null:
move = position.direction_to(player.position) * speed
else:
move = Vector2.ZERO
move = move.normalized()
move = move_and_collide(move)
func _on_Area2D_body_entered(body: Node) -> void:
if body != self && !(body.name.begins_with("tree")) && !(body.name.begins_with("snowmen_enemy")) && !(body.name.begins_with("wall")):
player = body
func _on_Area2D_body_exited(body: Node) -> void:
if !(body.name.begins_with("tree")) && !(body.name.begins_with("snowmen_enemy")) && !(body.name.begins_with("wall")):
player = null
func fire():
var snowball = SNOWBALL_BLUE_SCENE.instance()
snowball.position = get_global_position()
snowball.player = player
get_parent().add_child(snowball)
$Timer.set_wait_time(1)
func _on_Timer_timeout() -> void:
if player != null:
fire()
func _on_player_detector_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player':
player = area.get_parent()
return
func _on_player_detector_area_exited(_area: Area2D):
player = null
return
func _on_hitbox_area_entered(area: Area2D) -> void:
if area.is_in_group('player_weapon_1'):
health -= 1
elif area.is_in_group('player_weapon_2'):
health -= 2
if health <= 0:
call_deferred('queue_free')
return
+54
View File
@@ -0,0 +1,54 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Sprites/Enemies/blue_snowman.png" type="Texture" id=1]
[ext_resource path="res://Enemies/Snowman Enemy.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 1.5
height = 3.0
[sub_resource type="CircleShape2D" id=2]
radius = 58.0175
[sub_resource type="CapsuleShape2D" id=3]
radius = 6.0
height = 5.0
[node name="snowmen_enemy" type="KinematicBody2D" groups=[
"freeze",
]]
collision_layer = 2
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="Collision" type="CollisionShape2D" parent="."]
light_mask = 0
position = Vector2( 0.618717, 6.27557 )
rotation = 1.5708
shape = SubResource( 1 )
[node name="detection" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 2
[node name="detection" type="CollisionShape2D" parent="detection"]
shape = SubResource( 2 )
[node name="Timer" type="Timer" parent="."]
autostart = true
[node name="hitbox" type="Area2D" parent="." groups=[
"freeze",
]]
collision_layer = 4
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="hitbox"]
shape = SubResource( 3 )
[connection signal="body_entered" from="detection" to="." method="_on_Area2D_body_entered"]
[connection signal="body_exited" from="detection" to="." method="_on_Area2D_body_exited"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
[connection signal="area_entered" from="hitbox" to="." method="_on_hitbox_area_entered"]
+66
View File
@@ -0,0 +1,66 @@
extends KinematicBody2D
onready var SNOWBALL_SCENE = preload("res://Enemies/Snowball.tscn")
var player = null
var move = Vector2.ZERO
var speed = .5
var health: int = 2
func _physics_process(delta: float) -> void:
move = Vector2.ZERO
if player != null:
move = position.direction_to(player.position) * speed
else:
move = Vector2.ZERO
move = move.normalized()
move = move_and_collide(move)
func _on_Area2D_body_entered(body: Node) -> void:
if body != self && !(body.name.begins_with("tree")) && !(body.name.begins_with("snowmen_enemy")) && !(body.name.begins_with("wall")):
player = body
func _on_Area2D_body_exited(body: Node) -> void:
if !(body.name.begins_with("tree")) && !(body.name.begins_with("snowmen_enemy")) && !(body.name.begins_with("wall")):
player = null
func fire():
var snowball = SNOWBALL_SCENE.instance()
snowball.position = get_global_position()
snowball.player = player
get_parent().add_child(snowball)
$Timer.set_wait_time(1)
func _on_Timer_timeout() -> void:
if player != null:
fire()
func _on_player_detector_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player':
player = area.get_parent()
return
func _on_player_detector_area_exited(_area: Area2D):
player = null
return
func _on_hitbox_area_entered(area: Area2D) -> void:
print("HIT")
if area.is_in_group('player_weapon_1'):
health -= 1
elif area.is_in_group('player_weapon_2'):
health -= 2
if health <= 0:
call_deferred('queue_free')
return
+55
View File
@@ -0,0 +1,55 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Sprites/Enemies/pink_snowman.png" type="Texture" id=1]
[ext_resource path="res://Enemies/Snowman Enemy.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 1.5
height = 3.0
[sub_resource type="CircleShape2D" id=2]
radius = 56.0659
[sub_resource type="CapsuleShape2D" id=3]
radius = 6.0
height = 5.0
[node name="snowmen_enemy" type="KinematicBody2D" groups=[
"enemy",
]]
collision_layer = 2
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="Collision" type="CollisionShape2D" parent="."]
light_mask = 0
position = Vector2( 0.618717, 6.27557 )
rotation = 1.5708
shape = SubResource( 1 )
[node name="detection" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 2
[node name="detection" type="CollisionShape2D" parent="detection"]
shape = SubResource( 2 )
[node name="Timer" type="Timer" parent="."]
autostart = true
[node name="hitbox" type="Area2D" parent="." groups=[
"enemy_hitbox_1",
]]
visible = false
collision_layer = 4
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="hitbox"]
shape = SubResource( 3 )
[connection signal="body_entered" from="detection" to="." method="_on_Area2D_body_entered"]
[connection signal="body_exited" from="detection" to="." method="_on_Area2D_body_exited"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
[connection signal="area_entered" from="hitbox" to="." method="_on_hitbox_area_entered"]
+12
View File
@@ -0,0 +1,12 @@
extends Label
signal timer_end
func _process(_delta: float) -> void:
var time_seconds: int = int($Timer.get_time_left())
set_text('%02d:%02d' % [time_seconds, int(($Timer.get_time_left() - time_seconds) * 100)])
if $Timer.get_time_left() == 0:
get_tree().change_scene('res://Levels/Hub World.tscn')
return
+28
View File
@@ -0,0 +1,28 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://GUI/Countdown Timer.gd" type="Script" id=1]
[ext_resource path="res://Fonts/AtariClassicSmooth.ttf" type="DynamicFontData" id=2]
[sub_resource type="DynamicFont" id=1]
size = 40
font_data = ExtResource( 2 )
[node name="Countdown Timer" type="Label"]
margin_left = 135.0
margin_top = 1.0
margin_right = 335.0
margin_bottom = 41.0
rect_min_size = Vector2( 200, 0 )
rect_scale = Vector2( 0.25, 0.25 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 1 )
align = 1
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Timer" type="Timer" parent="."]
wait_time = 60.0
one_shot = true
autostart = true
+22
View File
@@ -1,11 +1,28 @@
extends CanvasLayer extends CanvasLayer
export var hub_world_path: String = 'res://Levels/Hub World.tscn'
export var disable_back_to_hub: bool = false
func _ready() -> void:
if disable_back_to_hub:
$'Menu/Menu Options/Back To Hub'.visible = false
return
func _on_resume_button_pressed() -> void: func _on_resume_button_pressed() -> void:
resume() resume()
return return
func _on_back_to_hub_button_pressed():
if get_tree().change_scene(hub_world_path) != OK:
print('ERROR: Pause Screen failed to change scene to Hub World.')
resume()
queue_free()
return
func _on_quit_button_pressed() -> void: func _on_quit_button_pressed() -> void:
get_tree().quit() get_tree().quit()
return return
@@ -16,6 +33,11 @@ func _on_resume_button_mouse_entered() -> void:
return return
func _on_back_to_hub_button_mouse_entered() -> void:
$'Menu Button Hover'.play(0.0)
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
+20 -5
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=2] [gd_scene load_steps=10 format=2]
[ext_resource path="res://Sprites/Assets/Black_Background.png" type="Texture" id=1] [ext_resource path="res://Sprites/Assets/Black_Background.png" type="Texture" id=1]
[ext_resource path="res://Sprites/Menus/Menu Buttons/Quit_Button_Normal.png" type="Texture" id=2] [ext_resource path="res://Sprites/Menus/Menu Buttons/Quit_Button_Normal.png" type="Texture" id=2]
@@ -7,6 +7,8 @@
[ext_resource path="res://Sprites/Menus/Menu Buttons/Quit_Button_Hover.png" type="Texture" id=5] [ext_resource path="res://Sprites/Menus/Menu Buttons/Quit_Button_Hover.png" type="Texture" id=5]
[ext_resource path="res://GUI/Pause Screen.gd" type="Script" id=6] [ext_resource path="res://GUI/Pause Screen.gd" type="Script" id=6]
[ext_resource path="res://Sounds/Menu_Button_Hover.wav" type="AudioStream" id=7] [ext_resource path="res://Sounds/Menu_Button_Hover.wav" type="AudioStream" id=7]
[ext_resource path="res://Sprites/Menus/Menu Buttons/Back_To_Hub_Button_Normal.png" type="Texture" id=8]
[ext_resource path="res://Sprites/Menus/Menu Buttons/Back_To_Hub_Button_Hover.png" type="Texture" id=9]
[node name="Pause Screen" type="CanvasLayer"] [node name="Pause Screen" type="CanvasLayer"]
pause_mode = 2 pause_mode = 2
@@ -34,10 +36,10 @@ __meta__ = {
} }
[node name="Menu Options" type="VBoxContainer" parent="Menu"] [node name="Menu Options" type="VBoxContainer" parent="Menu"]
margin_left = 49.0 margin_left = 33.0
margin_top = 63.0 margin_top = 53.0
margin_right = 111.0 margin_right = 126.0
margin_bottom = 97.0 margin_bottom = 106.0
[node name="Resume" type="CenterContainer" parent="Menu/Menu Options"] [node name="Resume" type="CenterContainer" parent="Menu/Menu Options"]
margin_right = 62.0 margin_right = 62.0
@@ -49,6 +51,17 @@ margin_bottom = 15.0
texture_normal = ExtResource( 3 ) texture_normal = ExtResource( 3 )
texture_hover = ExtResource( 4 ) texture_hover = ExtResource( 4 )
[node name="Back To Hub" type="CenterContainer" parent="Menu/Menu Options"]
margin_right = 40.0
margin_bottom = 40.0
[node name="Back To Hub Button" type="TextureButton" parent="Menu/Menu Options/Back To Hub"]
margin_top = 12.0
margin_right = 93.0
margin_bottom = 27.0
texture_normal = ExtResource( 8 )
texture_hover = ExtResource( 9 )
[node name="Quit" type="CenterContainer" parent="Menu/Menu Options"] [node name="Quit" type="CenterContainer" parent="Menu/Menu Options"]
margin_top = 19.0 margin_top = 19.0
margin_right = 62.0 margin_right = 62.0
@@ -67,5 +80,7 @@ volume_db = -16.0
[connection signal="mouse_entered" from="Menu/Menu Options/Resume/Resume Button" to="." method="_on_resume_button_mouse_entered"] [connection signal="mouse_entered" from="Menu/Menu Options/Resume/Resume Button" to="." method="_on_resume_button_mouse_entered"]
[connection signal="pressed" from="Menu/Menu Options/Resume/Resume Button" to="." method="_on_resume_button_pressed"] [connection signal="pressed" from="Menu/Menu Options/Resume/Resume Button" to="." method="_on_resume_button_pressed"]
[connection signal="mouse_entered" from="Menu/Menu Options/Back To Hub/Back To Hub Button" to="." method="_on_back_to_hub_button_mouse_entered"]
[connection signal="pressed" from="Menu/Menu Options/Back To Hub/Back To Hub Button" to="." method="_on_back_to_hub_button_pressed"]
[connection signal="mouse_entered" from="Menu/Menu Options/Quit/Quit Button" to="." method="_on_quit_button_mouse_entered"] [connection signal="mouse_entered" from="Menu/Menu Options/Quit/Quit Button" to="." method="_on_quit_button_mouse_entered"]
[connection signal="pressed" from="Menu/Menu Options/Quit/Quit Button" to="." method="_on_quit_button_pressed"] [connection signal="pressed" from="Menu/Menu Options/Quit/Quit Button" to="." method="_on_quit_button_pressed"]
+1 -1
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=3 format=2]
[ext_resource path="res://Sprites/Assets/Splash_Screen.png" type="Texture" id=1] [ext_resource path="res://Sprites/Assets/Splash_Screen.png" type="Texture" id=1]
[ext_resource path="res://GUI/Splash Screen.gd" type="Script" id=2] [ext_resource path="res://GUI/Splash Screen.gd" type="Script" id=2]
+11
View File
@@ -3,4 +3,15 @@ extends Node2D
func _ready() -> void: func _ready() -> void:
$YSort/Player.load_hud($HUD) $YSort/Player.load_hud($HUD)
for level_portal in $'YSort/Level Portals'.get_children():
if level_portal.connect('enter_level', self, 'enter_level') != OK:
print('ERROR: Level Portal "enter_level" signal already connected.')
return
func enter_level(level: String) -> void:
if get_tree().change_scene(level) != OK:
print('ERROR: Hub World failed to change scene to Level.')
queue_free()
return return
+111 -2
View File
@@ -1,18 +1,127 @@
[gd_scene load_steps=5 format=2] [gd_scene load_steps=11 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/Hub World.gd" type="Script" id=2] [ext_resource path="res://Levels/Hub World.gd" type="Script" id=2]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=3] [ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=3]
[ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=4] [ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=4]
[ext_resource path="res://Sprites/Levels/Tilesets/Hub_World_Grass_Atlas.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Assets/Black_Tile.png" type="Texture" id=6]
[ext_resource path="res://Levels/Interactables/Level Portal.tscn" type="PackedScene" id=7]
[sub_resource type="ConvexPolygonShape2D" id=2]
points = PoolVector2Array( 0, 0, 2, 0, 2, 2, 0, 2 )
[sub_resource type="TileSet" id=3]
0/name = "Boundary Tile"
0/texture = ExtResource( 6 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 2, 2 )
0/tile_mode = 0
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 = SubResource( 2 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 2 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
[sub_resource type="TileSet" id=1]
0/name = "Hub_World_Grass_Atlas.png 0"
0/texture = ExtResource( 5 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 256, 128 )
0/tile_mode = 2
0/autotile/icon_coordinate = Vector2( 5, 3 )
0/autotile/tile_size = Vector2( 32, 32 )
0/autotile/spacing = 0
0/autotile/occluder_map = [ ]
0/autotile/navpoly_map = [ ]
0/autotile/priority_map = [ Vector3( 0, 0, 2 ), Vector3( 0, 1, 2 ), Vector3( 0, 2, 2 ), Vector3( 0, 3, 2 ), Vector3( 1, 0, 2 ), Vector3( 1, 1, 2 ), Vector3( 1, 2, 2 ), Vector3( 1, 3, 2 ), Vector3( 2, 0, 2 ), Vector3( 2, 1, 2 ), Vector3( 2, 2, 2 ), Vector3( 2, 3, 2 ), Vector3( 3, 0, 2 ), Vector3( 3, 1, 2 ), Vector3( 3, 2, 2 ), Vector3( 3, 3, 2 ) ]
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
[node name="Hub World" type="Node2D"] [node name="Hub World" type="Node2D"]
script = ExtResource( 2 ) script = ExtResource( 2 )
[node name="Boundary" type="TileMap" parent="."]
light_mask = 0
tile_set = SubResource( 3 )
cell_size = Vector2( 2, 2 )
cell_quadrant_size = 64
show_collision = true
collision_mask = 0
occluder_light_mask = 0
format = 1
tile_data = PoolIntArray( -1, 0, 0, -65536, 0, 0, -65535, 0, 0, -65534, 0, 0, -65533, 0, 0, -65532, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, 0, -65528, 0, 0, -65527, 0, 0, -65526, 0, 0, -65525, 0, 0, -65524, 0, 0, -65523, 0, 0, -65522, 0, 0, -65521, 0, 0, -65520, 0, 0, -65519, 0, 0, -65518, 0, 0, -65517, 0, 0, -65516, 0, 0, -65515, 0, 0, -65514, 0, 0, -65513, 0, 0, -65512, 0, 0, -65511, 0, 0, -65510, 0, 0, -65509, 0, 0, -65508, 0, 0, -65507, 0, 0, -65506, 0, 0, -65505, 0, 0, -65504, 0, 0, -65503, 0, 0, -65502, 0, 0, -65501, 0, 0, -65500, 0, 0, -65499, 0, 0, -65498, 0, 0, -65497, 0, 0, -65496, 0, 0, -65495, 0, 0, -65494, 0, 0, -65493, 0, 0, -65492, 0, 0, -65491, 0, 0, -65490, 0, 0, -65489, 0, 0, -65488, 0, 0, -65487, 0, 0, -65486, 0, 0, -65485, 0, 0, -65484, 0, 0, -65483, 0, 0, -65482, 0, 0, -65481, 0, 0, -65480, 0, 0, -65479, 0, 0, -65478, 0, 0, -65477, 0, 0, -65476, 0, 0, -65475, 0, 0, -65474, 0, 0, -65473, 0, 0, -65472, 0, 0, -65471, 0, 0, -65470, 0, 0, -65469, 0, 0, -65468, 0, 0, -65467, 0, 0, -65466, 0, 0, -65465, 0, 0, -65464, 0, 0, -65463, 0, 0, -65462, 0, 0, -65461, 0, 0, -65460, 0, 0, -65459, 0, 0, -65458, 0, 0, -65457, 0, 0, -65456, 0, 0, -65455, 0, 0, -65454, 0, 0, -65453, 0, 0, -65452, 0, 0, -65451, 0, 0, -65450, 0, 0, -65449, 0, 0, -65448, 0, 0, -65447, 0, 0, -65446, 0, 0, -65445, 0, 0, -65444, 0, 0, -65443, 0, 0, -65442, 0, 0, -65441, 0, 0, -65440, 0, 0, -65439, 0, 0, -65438, 0, 0, -65437, 0, 0, -65436, 0, 0, -65435, 0, 0, -65434, 0, 0, -65433, 0, 0, -65432, 0, 0, -65431, 0, 0, -65430, 0, 0, -65429, 0, 0, -65428, 0, 0, -65427, 0, 0, -65426, 0, 0, -65425, 0, 0, -65424, 0, 0, -65423, 0, 0, -65422, 0, 0, -65421, 0, 0, -65420, 0, 0, -65419, 0, 0, -65418, 0, 0, -65417, 0, 0, -65416, 0, 0, -65415, 0, 0, -65414, 0, 0, -65413, 0, 0, -65412, 0, 0, -65411, 0, 0, -65410, 0, 0, -65409, 0, 0, -65408, 0, 0, -65407, 0, 0, -65406, 0, 0, -65405, 0, 0, -65404, 0, 0, -65403, 0, 0, -65402, 0, 0, -65401, 0, 0, -65400, 0, 0, -65399, 0, 0, -65398, 0, 0, -65397, 0, 0, -65396, 0, 0, -65395, 0, 0, -65394, 0, 0, -65393, 0, 0, -65392, 0, 0, -65391, 0, 0, -65390, 0, 0, -65389, 0, 0, -65388, 0, 0, -65387, 0, 0, -65386, 0, 0, -65385, 0, 0, -65384, 0, 0, -65383, 0, 0, -65382, 0, 0, -65381, 0, 0, -65380, 0, 0, -65379, 0, 0, -65378, 0, 0, -65377, 0, 0, -65376, 0, 0, -65375, 0, 0, -65374, 0, 0, -65373, 0, 0, -65372, 0, 0, -65371, 0, 0, -65370, 0, 0, -65369, 0, 0, -65368, 0, 0, -65367, 0, 0, -65366, 0, 0, -65365, 0, 0, -65364, 0, 0, -65363, 0, 0, -65362, 0, 0, -65361, 0, 0, -65360, 0, 0, -65359, 0, 0, -65358, 0, 0, -65357, 0, 0, -65356, 0, 0, -65355, 0, 0, -65354, 0, 0, -65353, 0, 0, -65352, 0, 0, -65351, 0, 0, -65350, 0, 0, -65349, 0, 0, -65348, 0, 0, -65347, 0, 0, -65346, 0, 0, -65345, 0, 0, -65344, 0, 0, 65535, 0, 0, 192, 0, 0, 131071, 0, 0, 65728, 0, 0, 196607, 0, 0, 131264, 0, 0, 262143, 0, 0, 196800, 0, 0, 327679, 0, 0, 262336, 0, 0, 393215, 0, 0, 327872, 0, 0, 458751, 0, 0, 393408, 0, 0, 524287, 0, 0, 458944, 0, 0, 589823, 0, 0, 524480, 0, 0, 655359, 0, 0, 590016, 0, 0, 720895, 0, 0, 655552, 0, 0, 786431, 0, 0, 721088, 0, 0, 851967, 0, 0, 786624, 0, 0, 917503, 0, 0, 852160, 0, 0, 983039, 0, 0, 917696, 0, 0, 1048575, 0, 0, 983232, 0, 0, 1114111, 0, 0, 1048768, 0, 0, 1179647, 0, 0, 1114304, 0, 0, 1245183, 0, 0, 1179840, 0, 0, 1310719, 0, 0, 1245376, 0, 0, 1376255, 0, 0, 1310912, 0, 0, 1441791, 0, 0, 1376448, 0, 0, 1507327, 0, 0, 1441984, 0, 0, 1572863, 0, 0, 1507520, 0, 0, 1638399, 0, 0, 1573056, 0, 0, 1703935, 0, 0, 1638592, 0, 0, 1769471, 0, 0, 1704128, 0, 0, 1835007, 0, 0, 1769664, 0, 0, 1900543, 0, 0, 1835200, 0, 0, 1966079, 0, 0, 1900736, 0, 0, 2031615, 0, 0, 1966272, 0, 0, 2097151, 0, 0, 2031808, 0, 0, 2162687, 0, 0, 2097344, 0, 0, 2228223, 0, 0, 2162880, 0, 0, 2293759, 0, 0, 2228416, 0, 0, 2359295, 0, 0, 2293952, 0, 0, 2424831, 0, 0, 2359488, 0, 0, 2490367, 0, 0, 2425024, 0, 0, 2555903, 0, 0, 2490560, 0, 0, 2621439, 0, 0, 2556096, 0, 0, 2686975, 0, 0, 2621632, 0, 0, 2752511, 0, 0, 2687168, 0, 0, 2818047, 0, 0, 2752704, 0, 0, 2883583, 0, 0, 2818240, 0, 0, 2949119, 0, 0, 2883776, 0, 0, 3014655, 0, 0, 2949312, 0, 0, 3080191, 0, 0, 3014848, 0, 0, 3145727, 0, 0, 3080384, 0, 0, 3211263, 0, 0, 3145920, 0, 0, 3276799, 0, 0, 3211456, 0, 0, 3342335, 0, 0, 3276992, 0, 0, 3407871, 0, 0, 3342528, 0, 0, 3473407, 0, 0, 3408064, 0, 0, 3538943, 0, 0, 3473600, 0, 0, 3604479, 0, 0, 3539136, 0, 0, 3670015, 0, 0, 3604672, 0, 0, 3735551, 0, 0, 3670208, 0, 0, 3801087, 0, 0, 3735744, 0, 0, 3866623, 0, 0, 3801280, 0, 0, 3932159, 0, 0, 3866816, 0, 0, 3997695, 0, 0, 3932352, 0, 0, 4063231, 0, 0, 3997888, 0, 0, 4128767, 0, 0, 4063424, 0, 0, 4194303, 0, 0, 4128960, 0, 0, 4259839, 0, 0, 4194496, 0, 0, 4325375, 0, 0, 4260032, 0, 0, 4390911, 0, 0, 4325568, 0, 0, 4456447, 0, 0, 4391104, 0, 0, 4521983, 0, 0, 4456640, 0, 0, 4587519, 0, 0, 4522176, 0, 0, 4653055, 0, 0, 4587712, 0, 0, 4718591, 0, 0, 4653248, 0, 0, 4784127, 0, 0, 4718784, 0, 0, 4849663, 0, 0, 4784320, 0, 0, 4915199, 0, 0, 4849856, 0, 0, 4980735, 0, 0, 4915392, 0, 0, 5046271, 0, 0, 49Line truncated
[node name="Floor" type="TileMap" parent="."]
tile_set = SubResource( 1 )
cell_size = Vector2( 32, 32 )
cell_quadrant_size = 32
collision_layer = 0
collision_mask = 0
format = 1
tile_data = PoolIntArray( 0, 0, 1, 1, 0, 6, 2, 0, 65543, 3, 0, 196610, 4, 0, 196609, 5, 0, 131077, 6, 0, 1, 7, 0, 196614, 8, 0, 196613, 9, 0, 65536, 10, 0, 196612, 11, 0, 6, 65536, 0, 131078, 65537, 0, 65537, 65538, 0, 2, 65539, 0, 2, 65540, 0, 196608, 65541, 0, 196612, 65542, 0, 196610, 65543, 0, 65537, 65544, 0, 7, 65545, 0, 196608, 65546, 0, 196610, 65547, 0, 65541, 131072, 0, 131072, 131073, 0, 196612, 131074, 0, 131072, 131075, 0, 196610, 131076, 0, 131074, 131077, 0, 196611, 131078, 0, 196612, 131079, 0, 131078, 131080, 0, 196613, 131081, 0, 65538, 131082, 0, 3, 131083, 0, 65538, 196608, 0, 131077, 196609, 0, 0, 196610, 0, 65538, 196611, 0, 131079, 196612, 0, 65538, 196613, 0, 196611, 196614, 0, 5, 196615, 0, 65539, 196616, 0, 0, 196617, 0, 2, 196618, 0, 196610, 196619, 0, 196614, 262144, 0, 65538, 262145, 0, 196611, 262146, 0, 196613, 262147, 0, 7, 262148, 0, 1, 262149, 0, 131075, 262150, 0, 65541, 262151, 0, 131074, 262152, 0, 3, 262153, 0, 196609, 262154, 0, 65537, 262155, 0, 3, 327680, 0, 196611, 327681, 0, 196612, 327682, 0, 131077, 327683, 0, 2, 327684, 0, 65539, 327685, 0, 65536, 327686, 0, 196608, 327687, 0, 4, 327688, 0, 65536, 327689, 0, 131075, 327690, 0, 0, 327691, 0, 196611, 393216, 0, 131073, 393217, 0, 3, 393218, 0, 7, 393219, 0, 196608, 393220, 0, 196611, 393221, 0, 1, 393222, 0, 2, 393223, 0, 0, 393224, 0, 65542, 393225, 0, 131075, 393226, 0, 196609, 393227, 0, 65536, 458752, 0, 131072, 458753, 0, 65537, 458754, 0, 131076, 458755, 0, 4, 458756, 0, 196611, 458757, 0, 196609, 458758, 0, 196613, 458759, 0, 196614, 458760, 0, 65542, 458761, 0, 0, 458762, 0, 1, 458763, 0, 65539 )
[node name="YSort" type="YSort" parent="."] [node name="YSort" type="YSort" parent="."]
[node name="Player" parent="YSort" instance=ExtResource( 1 )] [node name="Player" parent="YSort" instance=ExtResource( 1 )]
position = Vector2( 160, 90 ) position = Vector2( 192, 128 )
MAX_SPEED = 200
[node name="Camera2D" type="Camera2D" parent="YSort/Player"]
current = true
limit_left = 0
limit_top = 0
limit_right = 384
limit_bottom = 256
limit_smoothed = true
[node name="Level Portals" type="YSort" parent="YSort"]
[node name="Level 1 Portal" parent="YSort/Level Portals" instance=ExtResource( 7 )]
modulate = Color( 0.67451, 0, 0.74902, 1 )
position = Vector2( 70, 100 )
level_path = "res://Levels/Level 1.tscn"
[node name="Level 2 Portal" parent="YSort/Level Portals" instance=ExtResource( 7 )]
modulate = Color( 0.415686, 0.756863, 0, 1 )
position = Vector2( 120, 70 )
level_path = "res://Levels/Level 2.tscn"
[node name="Level 3 Portal" parent="YSort/Level Portals" instance=ExtResource( 7 )]
modulate = Color( 0, 0.415686, 1, 1 )
position = Vector2( 190, 60 )
level_path = "res://Levels/Level 3.tscn"
[node name="Level 4 Portal" parent="YSort/Level Portals" instance=ExtResource( 7 )]
modulate = Color( 1, 0.305882, 0, 1 )
position = Vector2( 260, 70 )
level_path = "res://Levels/Level 4.tscn"
[node name="Level 5 Portal" parent="YSort/Level Portals" instance=ExtResource( 7 )]
modulate = Color( 0.266667, 0, 0.470588, 1 )
position = Vector2( 310, 100 )
level_path = "res://Levels/Level 5.tscn"
[node name="HUD" parent="." instance=ExtResource( 3 )] [node name="HUD" parent="." instance=ExtResource( 3 )]
[node name="Pause Screen" parent="." instance=ExtResource( 4 )] [node name="Pause Screen" parent="." instance=ExtResource( 4 )]
disable_back_to_hub = true
+10
View File
@@ -0,0 +1,10 @@
extends Area2D
signal coin_grabbed
func _on_Node2D_body_entered(body: Node) -> void:
if body.get_name() == 'Player':
emit_signal("coin_grabbed")
print("coin!")
queue_free()
+19
View File
@@ -0,0 +1,19 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Levels/Interactables/Coin.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Assets/coin.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 6.38067
[node name="coin" type="Area2D"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, 1 )
texture = ExtResource( 2 )
[node name="coin" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[connection signal="body_entered" from="." to="." method="_on_Node2D_body_entered"]
+11
View File
@@ -0,0 +1,11 @@
extends Area2D
signal enter_level(level)
export var level_path: String = 'res://Levels/LEVEL.tscn'
func _on_level_portal_body_entered(body: Node) -> void:
if body.is_in_group('player'):
emit_signal('enter_level', level_path)
return
+28
View File
@@ -0,0 +1,28 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Sprites/Levels/Interactables/Level_Portal.png" type="Texture" id=1]
[ext_resource path="res://Levels/Interactables/Level Portal.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 8.0
height = 18.0
[node name="Level Portal" type="Area2D"]
light_mask = 0
collision_layer = 0
collision_mask = 2
input_pickable = false
monitorable = false
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
offset = Vector2( 0, -8 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
light_mask = 0
position = Vector2( 0, -8 )
shape = SubResource( 1 )
[connection signal="body_entered" from="." to="." method="_on_level_portal_body_entered"]
+2 -2
View File
@@ -38,10 +38,10 @@ shape = SubResource( 2 )
[node name="Unlock" type="Area2D" parent="."] [node name="Unlock" type="Area2D" parent="."]
light_mask = 0 light_mask = 0
collision_layer = 0
collision_mask = 2
input_pickable = false input_pickable = false
monitorable = false monitorable = false
collision_layer = 0
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Unlock"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Unlock"]
visible = false visible = false
+56
View File
@@ -0,0 +1,56 @@
extends Node2D
onready var coin = preload('res://Levels/Interactables/Coin.tscn')
var screensize
var score = 0
func _ready() -> void:
$YSort/Player.load_hud($HUD)
screensize = get_viewport_rect().size
spawn_coins(8)
return
func spawn_coins(num: int) -> void:
for _i in range(num):
var g: Node = coin.instance()
$'coin_container'.add_child(g)
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.position = Vector2(rand_range(0, screensize.x - 40), rand_range(0, screensize.y - 40))
return
func _on_coin_grabbed() -> void:
score += 1
print(score)
$'Level 3 HUD/Label'.set_text(str(score) + '/5')
return
func _timer_out() -> void:
get_tree().change_scene('res://Levels/Hub World.tscn')
return
func _on_TreasureChest_ice_key_collected() -> void:
$YSort/Door/doorClosed.visible = false
$YSort/Door/doorOpened.visible = true
$YSort/DoorCollision.layers = 5
return
func _on_DoorDetector_body_entered(body: Node) -> void:
if body.is_in_group('player'):
print('WIN WIN WIN')
get_tree().change_scene('res://Levels/Hub World.tscn')
return
func _on_DoorDetector_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player':
print('WIN WIN WIN')
get_tree().change_scene('res://Levels/Hub World.tscn')
return
+227
View File
@@ -0,0 +1,227 @@
[gd_scene load_steps=22 format=2]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Levels/Level 3.gd" type="Script" id=2]
[ext_resource path="res://Resources/tileSet.tres" type="TileSet" id=3]
[ext_resource path="res://Enemies/Snowman Enemy.tscn" type="PackedScene" id=4]
[ext_resource path="res://Levels/Objects/Tree.tscn" type="PackedScene" id=5]
[ext_resource path="res://Enemies/Snowman Enemy Blue.tscn" type="PackedScene" id=6]
[ext_resource path="res://Enemies/Snowman Enemy Blue.gd" type="Script" id=7]
[ext_resource path="res://Levels/Objects/TreasureChest_L3.tscn" type="PackedScene" id=8]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=9]
[ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=10]
[ext_resource path="res://Music/Level_3.mp3" type="AudioStream" id=11]
[ext_resource path="res://GUI/Countdown Timer.tscn" type="PackedScene" id=12]
[ext_resource path="res://Levels/Objects/TreasureChest_L3.gd" type="Script" id=13]
[ext_resource path="res://Levels/Objects/IceDoor.tscn" type="PackedScene" id=14]
[ext_resource path="res://Levels/Objects/IceDoor.gd" type="Script" id=15]
[ext_resource path="res://Levels/SlowTime.gd" type="Script" id=16]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 14.2575, 4.53175 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 13.5227, 15.1025 )
[sub_resource type="SegmentShape2D" id=3]
a = Vector2( 3.84175, -99.0063 )
b = Vector2( 4.68997, 139.153 )
[sub_resource type="SegmentShape2D" id=4]
a = Vector2( -12.0323, 29.5732 )
b = Vector2( 339.344, 29.8339 )
[sub_resource type="SegmentShape2D" id=5]
a = Vector2( 400.865, 207.97 )
b = Vector2( 51.2007, 207.999 )
[node name="Level 3" type="Node2D"]
script = ExtResource( 2 )
[node name="TileMap" type="TileMap" parent="."]
tile_set = ExtResource( 3 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
occluder_light_mask = 0
format = 1
tile_data = PoolIntArray( 0, 0, 65537, 1, 0, 65538, 2, 0, 65538, 3, 0, 65538, 4, 0, 65538, 5, 0, 65538, 6, 0, 65538, 7, 0, 65538, 8, 0, 65538, 9, 0, 65538, 10, 0, 65538, 11, 0, 65538, 12, 0, 65538, 13, 0, 65538, 14, 0, 65538, 15, 0, 65538, 16, 0, 65538, 17, 0, 65538, 18, 0, 65538, 19, 0, 65538, 20, 0, 65538, 21, 0, 65539, 65536, 0, 131073, 65537, 0, 131074, 65538, 0, 131074, 65539, 0, 131074, 65540, 0, 131074, 65541, 0, 131074, 65542, 0, 131074, 65543, 0, 131074, 65544, 0, 131074, 65545, 0, 131074, 65546, 0, 131074, 65547, 0, 131074, 65548, 0, 131074, 65549, 0, 131074, 65550, 0, 131074, 65551, 0, 131074, 65552, 0, 131074, 65553, 0, 131074, 65554, 0, 131074, 65555, 0, 131074, 65556, 0, 131074, 65557, 0, 131075, 131072, 0, 131073, 131073, 0, 131074, 131074, 0, 131074, 131075, 0, 131074, 131076, 0, 131074, 131077, 0, 131074, 131078, 0, 131074, 131079, 0, 131074, 131080, 0, 131074, 131081, 0, 131074, 131082, 0, 131074, 131083, 0, 131074, 131084, 0, 131074, 131085, 0, 131074, 131086, 0, 131074, 131087, 0, 131074, 131088, 0, 131074, 131089, 0, 131074, 131090, 0, 131074, 131091, 0, 131074, 131092, 0, 131074, 131093, 0, 131075, 196608, 0, 131073, 196609, 0, 131074, 196610, 0, 131074, 196611, 0, 131074, 196612, 0, 131074, 196613, 0, 131074, 196614, 0, 131074, 196615, 0, 131074, 196616, 0, 131074, 196617, 0, 131074, 196618, 0, 131074, 196619, 0, 131074, 196620, 0, 131074, 196621, 0, 131074, 196622, 0, 131074, 196623, 0, 131074, 196624, 0, 131074, 196625, 0, 131074, 196626, 0, 131074, 196627, 0, 131074, 196628, 0, 131074, 196629, 0, 131075, 262144, 0, 131073, 262145, 0, 131074, 262146, 0, 131074, 262147, 0, 131074, 262148, 0, 131074, 262149, 0, 131074, 262150, 0, 131074, 262151, 0, 131074, 262152, 0, 131074, 262153, 0, 131074, 262154, 0, 131074, 262155, 0, 131074, 262156, 0, 131074, 262157, 0, 131074, 262158, 0, 131074, 262159, 0, 131074, 262160, 0, 131074, 262161, 0, 131074, 262162, 0, 131074, 262163, 0, 131074, 262164, 0, 131074, 262165, 0, 131075, 327680, 0, 131073, 327681, 0, 131074, 327682, 0, 131074, 327683, 0, 131074, 327684, 0, 131074, 327685, 0, 131074, 327686, 0, 131074, 327687, 0, 131074, 327688, 0, 131074, 327689, 0, 131074, 327690, 0, 131074, 327691, 0, 131074, 327692, 0, 131074, 327693, 0, 131074, 327694, 0, 131074, 327695, 0, 131074, 327696, 0, 131074, 327697, 0, 131074, 327698, 0, 131074, 327699, 0, 131074, 327700, 0, 131074, 327701, 0, 131075, 393216, 0, 131073, 393217, 0, 131074, 393218, 0, 131074, 393219, 0, 131074, 393220, 0, 131074, 393221, 0, 131074, 393222, 0, 131074, 393223, 0, 131074, 393224, 0, 131074, 393225, 0, 131074, 393226, 0, 131074, 393227, 0, 131074, 393228, 0, 131074, 393229, 0, 131074, 393230, 0, 131074, 393231, 0, 131074, 393232, 0, 131074, 393233, 0, 131074, 393234, 0, 131074, 393235, 0, 131074, 393236, 0, 131074, 393237, 0, 131075, 458752, 0, 131073, 458753, 0, 131074, 458754, 0, 131074, 458755, 0, 131074, 458756, 0, 131074, 458757, 0, 131074, 458758, 0, 131074, 458759, 0, 131074, 458760, 0, 131074, 458761, 0, 131074, 458762, 0, 131074, 458763, 0, 131074, 458764, 0, 131074, 458765, 0, 131074, 458766, 0, 131074, 458767, 0, 131074, 458768, 0, 131074, 458769, 0, 131074, 458770, 0, 131074, 458771, 0, 131074, 458772, 0, 131074, 458773, 0, 131075, 589822, 0, 262148, 524288, 0, 131073, 524289, 0, 131074, 524290, 0, 131074, 524291, 0, 131074, 524292, 0, 131074, 524293, 0, 131074, 524294, 0, 131074, 524295, 0, 131074, 524296, 0, 131074, 524297, 0, 131074, 524298, 0, 131074, 524299, 0, 131074, 524300, 0, 131074, 524301, 0, 131074, 524302, 0, 131074, 524303, 0, 131074, 524304, 0, 131074, 524305, 0, 131074, 524306, 0, 131074, 524307, 0, 131074, 524308, 0, 131074, 524309, 0, 131075, 589824, 0, 131073, 589825, 0, 131074, 589826, 0, 131074, 589827, 0, 131074, 589828, 0, 131074, 589829, 0, 131074, 589830, 0, 131074, 589831, 0, 131074, 589832, 0, 131074, 589833, 0, 131074, 589834, 0, 131074, 589835, 0, 131074, 589836, 0, 131074, 589837, 0, 131074, 589838, 0, 131074, 589839, 0, 131074, 589840, 0, 131074, 589841, 0, 131074, 589842, 0, 131074, 589843, 0, 131074, 589844, 0, 131074, 589845, 0, 131075, 655360, 0, 131073, 655361, 0, 131074, 655362, 0, 131074, 655363, 0, 131074, 655364, 0, 131074, 655365, 0, 131074, 655366, 0, 131074, 655367, 0, 131074, 655368, 0, 131074, 655369, 0, 131074, 655370, 0, 131074, 655371, 0, 131074, 655372, 0, 131074, 655373, 0, 131074, 655374, 0, 131074, 655375, 0, 131074, 655376, 0, 131074, 655377, 0, 131074, 655378, 0, 131074, 655379, 0, 131074, 655380, 0, 131074, 655381, 0, 131075, 720896, 0, 131073, 720897, 0, 131074, 720898, 0, 131074, 720899, 0, 131074, 720900, 0, 131074, 720901, 0, 131074, 720902, 0, 131074, 720903, 0, 131074, 720904, 0, 131074, 720905, 0, 131074, 720906, 0, 131074, 720907, 0, 131074, 720908, 0, 131074, 720909, 0, 131074, 720910, 0, 131074, 720911, 0, 131074, 720912, 0, 131074, 720913, 0, 131074, 720914, 0, 131074, 720915, 0, 131074, 720916, 0, 131074, 720917, 0, 131075, 786432, 0, 131073, 786433, 0, 131074, 786434, 0, 131074, 786435, 0, 131074, 7864Line truncated
[node name="YSort" type="YSort" parent="."]
[node name="Door" parent="YSort" instance=ExtResource( 14 )]
modulate = Color( 0.00392157, 0.905882, 1, 1 )
self_modulate = Color( 0.0352941, 0.705882, 1, 1 )
position = Vector2( 331.313, 27.3291 )
script = ExtResource( 15 )
[node name="DoorCollision" type="StaticBody2D" parent="YSort"]
position = Vector2( 200, 200 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="YSort/DoorCollision"]
position = Vector2( 132.887, -159.68 )
shape = SubResource( 1 )
[node name="DoorDetector" type="Area2D" parent="YSort"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="YSort/DoorDetector"]
light_mask = 0
position = Vector2( 332.149, 29.4297 )
shape = SubResource( 2 )
[node name="TreasureChest" parent="YSort" instance=ExtResource( 8 )]
position = Vector2( 185, 215 )
script = ExtResource( 13 )
[node name="Player" parent="YSort" instance=ExtResource( 1 )]
position = Vector2( 120, 60 )
ACCELERATION = 500
FRICTION = 100
[node name="Camera2D" type="Camera2D" parent="YSort/Player"]
current = true
limit_left = 0
limit_top = 0
limit_right = 352
limit_bottom = 240
[node name="Tree 1" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 48.8191, 197.978 )
[node name="Tree 2" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 60.5206, 107.362 )
[node name="Tree 3" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 71.9777, 44.6528 )
[node name="Tree 4" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 183.044, 156.837 )
[node name="Tree 5" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 185.033, 54.2387 )
[node name="Tree 9" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 225.097, 212.48 )
[node name="Tree 10" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 100, 160.355 )
[node name="Tree 6" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 203.053, 104.605 )
[node name="Tree 7" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 306.87, 104.733 )
[node name="Tree 8" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 275.667, 170.487 )
[node name="Tree 12" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 133.359, 100.445 )
[node name="Tree 13" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 146.457, 200 )
[node name="Tree 11" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 250.562, 86.6365 )
[node name="Enemies" type="YSort" parent="YSort"]
[node name="Snowman 1" parent="YSort/Enemies" groups=["enemies"] instance=ExtResource( 4 )]
position = Vector2( 268.977, 221.859 )
collision_layer = 4
collision_mask = 5
[node name="Snowman 2" parent="YSort/Enemies" groups=["enemies"] instance=ExtResource( 4 )]
position = Vector2( 124.417, 123.977 )
collision_layer = 4
collision_mask = 5
[node name="Blue Snowman 1" parent="YSort/Enemies" groups=["enemies"] instance=ExtResource( 6 )]
position = Vector2( 252.747, 40.9419 )
collision_layer = 4
collision_mask = 5
script = ExtResource( 7 )
[node name="Blue Snowman 2" parent="YSort/Enemies" groups=["enemies"] instance=ExtResource( 6 )]
position = Vector2( 105.053, 195.4 )
collision_layer = 4
collision_mask = 5
script = ExtResource( 7 )
[node name="wall" type="StaticBody2D" parent="."]
position = Vector2( -17.4614, 141.279 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="wall"]
position = Vector2( 363.748, -41.1679 )
shape = SubResource( 3 )
[node name="wall1" type="StaticBody2D" parent="."]
position = Vector2( 15.874, -26.1921 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="wall1"]
position = Vector2( -3.71627, -0.261772 )
shape = SubResource( 4 )
[node name="wall2" type="StaticBody2D" parent="."]
position = Vector2( -7.93701, 71.8299 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="wall2"]
position = Vector2( 8.36367, 26.9858 )
shape = SubResource( 3 )
[node name="wall3" type="StaticBody2D" parent="."]
position = Vector2( -49.6063, 34.526 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="wall3"]
position = Vector2( 0, -4.25 )
shape = SubResource( 5 )
[node name="Effects" type="Node" parent="."]
[node name="SlowTime" type="Node" parent="Effects"]
script = ExtResource( 16 )
[node name="coin_container" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Level 3 HUD" type="Control" parent="."]
margin_left = 0.28064
margin_top = -12.9083
margin_right = 352.281
margin_bottom = 227.092
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Level 3 HUD"]
margin_left = 174.441
margin_top = 199.997
margin_right = 196.441
margin_bottom = 213.997
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "0/5"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HUD" parent="." instance=ExtResource( 9 )]
[node name="Countdown Timer" parent="HUD" instance=ExtResource( 12 )]
[node name="Pause Screen" parent="." instance=ExtResource( 10 )]
[node name="BGM" type="AudioStreamPlayer" parent="."]
pause_mode = 2
stream = ExtResource( 11 )
volume_db = -12.0
autoplay = true
[connection signal="area_entered" from="YSort/DoorDetector" to="." method="_on_DoorDetector_area_entered"]
[connection signal="ice_key_collected" from="YSort/TreasureChest" to="." method="_on_TreasureChest_ice_key_collected"]
[connection signal="frozen" from="YSort/Player" to="Effects/SlowTime" method="start"]
[connection signal="unfreeze" from="Effects/SlowTime" to="YSort/Player" method="_on_SlowTime_unfreeze"]
+22 -20
View File
@@ -24,7 +24,7 @@
[ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=22] [ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=22]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=23] [ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=23]
[ext_resource path="res://Enemies/Flaming Skull.tscn" type="PackedScene" id=24] [ext_resource path="res://Enemies/Flaming Skull.tscn" type="PackedScene" id=24]
[ext_resource path="res://Enemies/DemonBoss.tscn" type="PackedScene" id=26] [ext_resource path="res://Enemies/Demon Boss.tscn" type="PackedScene" id=26]
[sub_resource type="SpriteFrames" id=1] [sub_resource type="SpriteFrames" id=1]
animations = [ { animations = [ {
@@ -34,10 +34,10 @@ animations = [ {
"speed": 10.0 "speed": 10.0
} ] } ]
[sub_resource type="ConvexPolygonShape2D" id=2] [sub_resource type="ConvexPolygonShape2D" id=10]
points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
[sub_resource type="TileSet" id=3] [sub_resource type="TileSet" id=9]
0/name = "transparent16x16.png 0" 0/name = "transparent16x16.png 0"
0/texture = ExtResource( 19 ) 0/texture = ExtResource( 19 )
0/tex_offset = Vector2( 0, 0 ) 0/tex_offset = Vector2( 0, 0 )
@@ -48,22 +48,22 @@ points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
0/navigation_offset = Vector2( 0, 0 ) 0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 ) 0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 2 ) 0/shape = SubResource( 10 )
0/shape_one_way = false 0/shape_one_way = false
0/shape_one_way_margin = 1.0 0/shape_one_way_margin = 1.0
0/shapes = [ { 0/shapes = [ {
"autotile_coord": Vector2( 0, 0 ), "autotile_coord": Vector2( 0, 0 ),
"one_way": false, "one_way": false,
"one_way_margin": 1.0, "one_way_margin": 1.0,
"shape": SubResource( 2 ), "shape": SubResource( 10 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ] } ]
0/z_index = 0 0/z_index = 0
[sub_resource type="RectangleShape2D" id=4] [sub_resource type="RectangleShape2D" id=11]
extents = Vector2( 39, 10 ) extents = Vector2( 39, 10 )
[sub_resource type="RectangleShape2D" id=5] [sub_resource type="RectangleShape2D" id=12]
extents = Vector2( 26.5, 10 ) extents = Vector2( 26.5, 10 )
[node name="World" type="Node2D"] [node name="World" type="Node2D"]
@@ -74,32 +74,33 @@ tile_set = ExtResource( 15 )
cell_size = Vector2( 16, 16 ) cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 ) cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
format = 1 format = 1
tile_data = PoolIntArray( -851986, 0, 1, -851985, 0, 2, -851984, 0, 2, -851983, 0, 2, -851982, 0, 2, -851981, 0, 2, -851980, 0, 2, -851979, 0, 2, -851978, 0, 2, -851977, 0, 2, -851976, 0, 2, -851975, 0, 2, -851974, 0, 2, -851973, 0, 2, -851972, 0, 2, -851971, 0, 2, -851970, 0, 2, -851969, 0, 2, -917504, 0, 2, -917503, 0, 2, -917502, 0, 2, -917501, 0, 2, -917500, 0, 2, -917499, 0, 2, -917498, 0, 2, -917497, 0, 2, -917496, 0, 2, -917495, 0, 2, -917494, 0, 2, -917493, 0, 2, -917492, 0, 2, -917491, 0, 2, -917490, 0, 2, -917489, 0, 2, -917488, 0, 2, -917487, 0, 2, -917486, 0, 2, -917485, 0, 2, -917484, 0, 2, -917483, 0, 2, -917482, 0, 2, -917481, 0, 2, -917480, 0, 2, -917479, 0, 2, -917478, 0, 2, -917477, 0, 2, -917476, 0, 2, -917475, 0, 2, -917474, 0, 2, -917473, 0, 2, -917472, 0, 2, -917471, 0, 2, -917470, 0, 2, -917469, 0, 2, -917468, 0, 2, -917467, 0, 3, -786450, 0, 65537, -786449, 0, 65538, -786448, 0, 65538, -786447, 0, 65538, -786446, 0, 65538, -786445, 0, 65538, -786444, 0, 65538, -786443, 0, 65538, -786442, 0, 65538, -786441, 0, 65538, -786440, 0, 65538, -786439, 0, 65538, -786438, 0, 65538, -786437, 0, 65538, -786436, 0, 65538, -786435, 0, 65538, -786434, 0, 65538, -786433, 0, 65538, -851968, 0, 65538, -851967, 0, 65538, -851966, 0, 65538, -851965, 0, 65538, -851964, 0, 65538, -851963, 0, 65538, -851962, 0, 65538, -851961, 0, 65538, -851960, 0, 65538, -851959, 0, 65538, -851958, 0, 65538, -851957, 0, 65538, -851956, 0, 65538, -851955, 0, 65538, -851954, 0, 65538, -851953, 0, 65538, -851952, 0, 65538, -851951, 0, 65538, -851950, 0, 65538, -851949, 0, 65538, -851948, 0, 65538, -851947, 0, 65538, -851946, 0, 65538, -851945, 0, 65538, -851944, 0, 65538, -851943, 0, 65538, -851942, 0, 65538, -851941, 0, 65538, -851940, 0, 65538, -851939, 0, 65538, -851938, 0, 65538, -851937, 0, 65538, -851936, 0, 65538, -851935, 0, 65538, -851934, 0, 65538, -851933, 0, 65538, -851932, 0, 65538, -851931, 0, 65539, -720914, 0, 65537, -720913, 0, 65538, -720912, 0, 65538, -720911, 0, 65538, -720910, 0, 65538, -720909, 0, 65538, -720908, 0, 65538, -720907, 0, 65538, -720906, 0, 65538, -720905, 0, 65538, -720904, 0, 65538, -720903, 0, 65538, -720902, 0, 65538, -720901, 0, 65538, -720900, 0, 65538, -720899, 0, 65538, -720898, 0, 65538, -720897, 0, 65538, -786432, 0, 65538, -786431, 0, 65538, -786430, 0, 65538, -786429, 0, 65538, -786428, 0, 65538, -786427, 0, 65538, -786426, 0, 65538, -786425, 0, 65538, -786424, 0, 65538, -786423, 0, 65538, -786422, 0, 65538, -786421, 0, 65538, -786420, 0, 65538, -786419, 0, 65538, -786418, 0, 65538, -786417, 0, 65538, -786416, 0, 65538, -786415, 0, 65538, -786414, 0, 65538, -786413, 0, 65538, -786412, 0, 65538, -786411, 0, 65538, -786410, 0, 65538, -786409, 0, 65538, -786408, 0, 65538, -786407, 0, 65538, -786406, 0, 65538, -786405, 0, 65538, -786404, 0, 65538, -786403, 0, 65538, -786402, 0, 65538, -786401, 0, 65538, -786400, 0, 65538, -786399, 0, 65538, -786398, 0, 65538, -786397, 0, 65538, -786396, 0, 65538, -786395, 0, 65539, -655378, 0, 65537, -655377, 0, 65538, -655376, 0, 65538, -655375, 0, 65538, -655374, 0, 65538, -655373, 0, 65538, -655372, 0, 65538, -655371, 0, 65538, -655370, 0, 65538, -655369, 0, 65538, -655368, 0, 65538, -655367, 0, 65538, -655366, 0, 65538, -655365, 0, 65538, -655364, 0, 65538, -655363, 0, 65538, -655362, 0, 65538, -655361, 0, 65538, -720896, 0, 65538, -720895, 0, 65538, -720894, 0, 65538, -720893, 0, 65538, -720892, 0, 65538, -720891, 0, 65538, -720890, 0, 65538, -720889, 0, 65538, -720888, 0, 65538, -720887, 0, 65538, -720886, 0, 65538, -720885, 0, 65538, -720884, 0, 65538, -720883, 0, 65538, -720882, 0, 65538, -720881, 0, 65538, -720880, 0, 65538, -720879, 0, 65538, -720878, 0, 65538, -720877, 0, 65538, -720876, 0, 65538, -720875, 0, 65538, -720874, 0, 65538, -720873, 0, 65538, -720872, 0, 65538, -720871, 0, 65538, -720870, 0, 65538, -720869, 0, 65538, -720868, 0, 65538, -720867, 0, 65538, -720866, 0, 65538, -720865, 0, 65538, -720864, 0, 65538, -720863, 0, 65538, -720862, 0, 65538, -720861, 0, 65538, -720860, 0, 65538, -720859, 0, 65539, -589842, 0, 65537, -589841, 0, 65538, -589840, 0, 65538, -589839, 0, 65538, -589838, 0, 65538, -589837, 0, 65538, -589836, 0, 65538, -589835, 0, 65538, -589834, 0, 65538, -589833, 0, 65538, -589832, 0, 65538, -589831, 0, 65538, -589830, 0, 65538, -589829, 0, 65538, -589828, 0, 65538, -589827, 0, 65538, -589826, 0, 65538, -589825, 0, 65538, -655360, 0, 65538, -655359, 0, 65538, -655358, 0, 65538, -655357, 0, 65538, -655356, 0, 65538, -655355, 0, 65538, -655354, 0, 65538, -655353, 0, 65538, -655352, 0, 65538, -655351, 0, 65538, -655350, 0, 65538, -655349, 0, 65538, -655348, 0, 65538, -655347, 0, 65538, -655346, 0, 65538, -655345, 0, 65538, -655344, 0, 65538, -655343, 0, 65538, -655342, 0, 65538, -655341, 0, 65538, -655340, 0, 65538, -655339, 0, 65538, -655338, 0, 65538, -655337, 0, 65538, -655336, 0, 65538, -655335, 0, 65538, -655334, 0, 65538, -655333, 0, 65538, -655332, 0, 65538, -655331, 0, 65538, -655330, 0, 65538, -655329, 0Line truncated tile_data = PoolIntArray( -3145746, 0, 1, -3145745, 0, 2, -3145744, 0, 2, -3145743, 0, 2, -3145742, 0, 2, -3145741, 0, 2, -3145740, 0, 2, -3145739, 0, 2, -3145738, 0, 2, -3145737, 0, 2, -3145736, 0, 2, -3145735, 0, 2, -3145734, 0, 2, -3145733, 0, 2, -3145732, 0, 2, -3145731, 0, 2, -3145730, 0, 2, -3145729, 0, 2, -3211264, 0, 2, -3211263, 0, 2, -3211262, 0, 2, -3211261, 0, 2, -3211260, 0, 2, -3211259, 0, 2, -3211258, 0, 2, -3211257, 0, 2, -3211256, 0, 2, -3211255, 0, 2, -3211254, 0, 2, -3211253, 0, 2, -3211252, 0, 2, -3211251, 0, 2, -3211250, 0, 2, -3211249, 0, 2, -3211248, 0, 2, -3211247, 0, 2, -3211246, 0, 2, -3211245, 0, 2, -3211244, 0, 2, -3211243, 0, 2, -3211242, 0, 2, -3211241, 0, 2, -3211240, 0, 2, -3211239, 0, 2, -3211238, 0, 2, -3211237, 0, 2, -3211236, 0, 2, -3211235, 0, 2, -3211234, 0, 2, -3211233, 0, 2, -3211232, 0, 2, -3211231, 0, 2, -3211230, 0, 2, -3211229, 0, 2, -3211228, 0, 2, -3211227, 0, 3, -3080210, 0, 65537, -3080209, 0, 65538, -3080208, 0, 65538, -3080207, 0, 65538, -3080206, 0, 65538, -3080205, 0, 65538, -3080204, 0, 65538, -3080203, 0, 65538, -3080202, 0, 65538, -3080201, 0, 65538, -3080200, 0, 65538, -3080199, 0, 65538, -3080198, 0, 65538, -3080197, 0, 65538, -3080196, 0, 65538, -3080195, 0, 65538, -3080194, 0, 65538, -3080193, 0, 65538, -3145728, 0, 65538, -3145727, 0, 65538, -3145726, 0, 65538, -3145725, 0, 65538, -3145724, 0, 65538, -3145723, 0, 65538, -3145722, 0, 65538, -3145721, 0, 65538, -3145720, 0, 65538, -3145719, 0, 65538, -3145718, 0, 65538, -3145717, 0, 65538, -3145716, 0, 65538, -3145715, 0, 65538, -3145714, 0, 65538, -3145713, 0, 65538, -3145712, 0, 65538, -3145711, 0, 65538, -3145710, 0, 65538, -3145709, 0, 65538, -3145708, 0, 65538, -3145707, 0, 65538, -3145706, 0, 65538, -3145705, 0, 65538, -3145704, 0, 65538, -3145703, 0, 65538, -3145702, 0, 65538, -3145701, 0, 65538, -3145700, 0, 65538, -3145699, 0, 65538, -3145698, 0, 65538, -3145697, 0, 65538, -3145696, 0, 65538, -3145695, 0, 65538, -3145694, 0, 65538, -3145693, 0, 65538, -3145692, 0, 65538, -3145691, 0, 65539, -3014674, 0, 65537, -3014673, 0, 65538, -3014672, 0, 65538, -3014671, 0, 65538, -3014670, 0, 65538, -3014669, 0, 65538, -3014668, 0, 65538, -3014667, 0, 65538, -3014666, 0, 65538, -3014665, 0, 65538, -3014664, 0, 65538, -3014663, 0, 65538, -3014662, 0, 65538, -3014661, 0, 65538, -3014660, 0, 65538, -3014659, 0, 65538, -3014658, 0, 65538, -3014657, 0, 65538, -3080192, 0, 65538, -3080191, 0, 65538, -3080190, 0, 65538, -3080189, 0, 65538, -3080188, 0, 65538, -3080187, 0, 65538, -3080186, 0, 65538, -3080185, 0, 65538, -3080184, 0, 65538, -3080183, 0, 65538, -3080182, 0, 65538, -3080181, 0, 65538, -3080180, 0, 65538, -3080179, 0, 65538, -3080178, 0, 65538, -3080177, 0, 65538, -3080176, 0, 65538, -3080175, 0, 65538, -3080174, 0, 65538, -3080173, 0, 65538, -3080172, 0, 65538, -3080171, 0, 65538, -3080170, 0, 65538, -3080169, 0, 65538, -3080168, 0, 65538, -3080167, 0, 65538, -3080166, 0, 65538, -3080165, 0, 65538, -3080164, 0, 65538, -3080163, 0, 65538, -3080162, 0, 65538, -3080161, 0, 65538, -3080160, 0, 65538, -3080159, 0, 65538, -3080158, 0, 65538, -3080157, 0, 65538, -3080156, 0, 65538, -3080155, 0, 65539, -2949138, 0, 65537, -2949137, 0, 65538, -2949136, 0, 65538, -2949135, 0, 65538, -2949134, 0, 65538, -2949133, 0, 65538, -2949132, 0, 65538, -2949131, 0, 65538, -2949130, 0, 65538, -2949129, 0, 65538, -2949128, 0, 65538, -2949127, 0, 65538, -2949126, 0, 65538, -2949125, 0, 65538, -2949124, 0, 65538, -2949123, 0, 65538, -2949122, 0, 65538, -2949121, 0, 65538, -3014656, 0, 65538, -3014655, 0, 65538, -3014654, 0, 65538, -3014653, 0, 65538, -3014652, 0, 65538, -3014651, 0, 65538, -3014650, 0, 65538, -3014649, 0, 65538, -3014648, 0, 65538, -3014647, 0, 65538, -3014646, 0, 65538, -3014645, 0, 65538, -3014644, 0, 65538, -3014643, 0, 65538, -3014642, 0, 65538, -3014641, 0, 65538, -3014640, 0, 65538, -3014639, 0, 65538, -3014638, 0, 65538, -3014637, 0, 65538, -3014636, 0, 65538, -3014635, 0, 65538, -3014634, 0, 65538, -3014633, 0, 65538, -3014632, 0, 65538, -3014631, 0, 65538, -3014630, 0, 65538, -3014629, 0, 65538, -3014628, 0, 65538, -3014627, 0, 65538, -3014626, 0, 65538, -3014625, 0, 65538, -3014624, 0, 65538, -3014623, 0, 65538, -3014622, 0, 65538, -3014621, 0, 65538, -3014620, 0, 65538, -3014619, 0, 65539, -2883602, 0, 65537, -2883601, 0, 65538, -2883600, 0, 65538, -2883599, 0, 65538, -2883598, 0, 65538, -2883597, 0, 65538, -2883596, 0, 65538, -2883595, 0, 65538, -2883594, 0, 65538, -2883593, 0, 65538, -2883592, 0, 65538, -2883591, 0, 65538, -2883590, 0, 65538, -2883589, 0, 65538, -2883588, 0, 65538, -2883587, 0, 65538, -2883586, 0, 65538, -2883585, 0, 65538, -2949120, 0, 65538, -2949119, 0, 65538, -2949118, 0, 65538, -2949117, 0, 65538, -2949116, 0, 65538, -2949115, 0, 65538, -2949114, 0, 65538, -2949113, 0, 65538, -2949112, 0, 65538, -2949111, 0, 65538, -2949110, 0, 65538, -2949109, 0, 65538, -2949108, 0, 65538, -2949107, 0, 65538, -2949106, 0, 65538, -2949105, 0, 65538, -2949104, 0, 65538, -2949103, 0, 6553Line truncated
[node name="Wall" type="TileMap" parent="."] [node name="Wall" type="TileMap" parent="."]
tile_set = ExtResource( 15 ) tile_set = ExtResource( 15 )
cell_size = Vector2( 16, 16 ) cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 ) cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
format = 1 format = 1
tile_data = PoolIntArray( -2359292, 0, 5, -2359291, 0, 196610, -2359290, 0, 196610, -2359289, 0, 196610, -2359288, 0, 196610, -2359287, 0, 196610, -2359286, 0, 196610, -2359285, 0, 196610, -2359284, 0, 196610, -2359283, 0, 196610, -2359282, 0, 196610, -2359281, 0, 196610, -2359280, 0, 196610, -2359279, 0, 196610, -2359278, 0, 196610, -2359277, 0, 196610, -2359276, 0, 8, -2293756, 0, 65540, -2293740, 0, 65540, -2228220, 0, 65540, -2228204, 0, 65540, -2162684, 0, 65540, -2162668, 0, 65540, -2097148, 0, 65540, -2097132, 0, 65540, -2031612, 0, 65540, -2031596, 0, 65540, -1966076, 0, 65540, -1966060, 0, 65540, -1900540, 0, 65540, -1900524, 0, 65540, -1835004, 0, 65540, -1834988, 0, 65540, -1769468, 0, 65540, -1769452, 0, 65540, -1703932, 0, 65540, -1703916, 0, 65540, -1638396, 0, 196613, -1638395, 0, 196610, -1638394, 0, 196610, -1638393, 0, 196610, -1638392, 0, 196610, -1638391, 0, 196610, -1638390, 0, 8, -1638386, 0, 5, -1638385, 0, 196610, -1638384, 0, 196610, -1638383, 0, 196610, -1638382, 0, 196610, -1638381, 0, 196610, -1638380, 0, 196616, -1572854, 0, 65540, -1572850, 0, 65540, -1507318, 0, 65540, -1507314, 0, 65540, -1441782, 0, 65540, -1441778, 0, 65540, -1376246, 0, 65540, -1376242, 0, 65540, -1310710, 0, 65540, -1310706, 0, 65540, -1245174, 0, 65540, -1245170, 0, 65540, -1179638, 0, 65540, -1179634, 0, 65540, -1114102, 0, 262149, -1114101, 0, 196610, -1114100, 0, 196610, -1114099, 0, 196610, -1114098, 0, 262152, -1048566, 0, 65540, -1048562, 0, 65540, -983030, 0, 65540, -983026, 0, 65540, -917494, 0, 65540, -917490, 0, 65540, -851958, 0, 65540, -851954, 0, 65540, -786422, 0, 65540, -786418, 0, 65540, -720886, 0, 65540, -720882, 0, 65540, -655350, 0, 65540, -655346, 0, 65540, -524290, 0, 5, -524289, 0, 196610, -589824, 0, 196610, -589823, 0, 196610, -589822, 0, 196610, -589821, 0, 196610, -589820, 0, 196610, -589819, 0, 8, -589814, 0, 65540, -589810, 0, 65540, -458754, 0, 65540, -524283, 0, 65540, -524278, 0, 65540, -524274, 0, 65540, -393218, 0, 65540, -458747, 0, 65540, -458742, 0, 65540, -458738, 0, 65540, -327682, 0, 65540, -393211, 0, 65540, -393206, 0, 65540, -393202, 0, 65540, -262146, 0, 65540, -327675, 0, 65540, -327670, 0, 65540, -327666, 0, 65540, -196610, 0, 196613, -196609, 0, 8, -262140, 0, 5, -262139, 0, 196616, -262134, 0, 65540, -262130, 0, 65540, -131073, 0, 65540, -196604, 0, 65540, -196598, 0, 65540, -196594, 0, 65540, -65537, 0, 65540, -131068, 0, 65540, -131062, 0, 65540, -131058, 0, 65540, -131049, 0, 5, -131048, 0, 196610, -131047, 0, 196610, -131046, 0, 196610, -131045, 0, 196610, -131044, 0, 8, -1, 0, 65540, -65532, 0, 196613, -65531, 0, 196610, -65530, 0, 196610, -65529, 0, 196610, -65528, 0, 196610, -65527, 0, 196610, -65526, 0, 196616, -65522, 0, 196613, -65521, 0, 196610, -65520, 0, 196610, -65519, 0, 196610, -65518, 0, 196610, -65517, 0, 196610, -65516, 0, 196610, -65515, 0, 196610, -65514, 0, 196610, -65513, 0, 196616, -65508, 0, 65540, 65535, 0, 65540, 28, 0, 65540, 131071, 0, 65540, 65564, 0, 65540, 196607, 0, 65540, 131100, 0, 65540, 262143, 0, 65540, 196611, 0, 196609, 196612, 0, 196610, 196613, 0, 196610, 196614, 0, 196611, 196618, 0, 196609, 196619, 0, 196610, 196620, 0, 196610, 196621, 0, 196611, 196625, 0, 4, 196636, 0, 65540, 327679, 0, 65540, 262161, 0, 65540, 262164, 0, 5, 262165, 0, 196610, 262166, 0, 196610, 262167, 0, 8, 262172, 0, 65540, 393215, 0, 65540, 327697, 0, 65540, 327700, 0, 65540, 327703, 0, 196613, 327704, 0, 196610, 327705, 0, 196610, 327706, 0, 196610, 327707, 0, 196610, 327708, 0, 196616, 458743, 0, 5, 458744, 0, 196610, 458745, 0, 196610, 458746, 0, 196610, 458747, 0, 196610, 458748, 0, 8, 458751, 0, 65540, 393233, 0, 65540, 393236, 0, 65540, 524279, 0, 65540, 524284, 0, 196613, 524285, 0, 196610, 524286, 0, 196610, 524287, 0, 196616, 458756, 0, 4, 458760, 0, 4, 458764, 0, 4, 458769, 0, 65540, 458772, 0, 65540, 589815, 0, 65540, 524292, 0, 131076, 524296, 0, 131076, 524300, 0, 131076, 524305, 0, 131076, 524308, 0, 65540, 655351, 0, 65540, 589844, 0, 65540, 720887, 0, 65540, 655380, 0, 65540, 786423, 0, 65540, 720916, 0, 65540, 851959, 0, 65540, 851964, 0, 5, 851965, 0, 196610, 851966, 0, 196610, 851967, 0, 196610, 786432, 0, 196610, 786433, 0, 196610, 786434, 0, 196610, 786435, 0, 196610, 786436, 0, 196610, 786437, 0, 196610, 786438, 0, 196610, 786439, 0, 196610, 786440, 0, 196610, 786441, 0, 196610, 786442, 0, 196610, 786443, 0, 196610, 786444, 0, 196610, 786445, 0, 196610, 786446, 0, 196610, 786447, 0, 8, 786452, 0, 65540, 917495, 0, 196613, 917496, 0, 196610, 917497, 0, 196610, 917498, 0, 196610, 917499, 0, 196610, 917500, 0, 196616, 851983, 0, 65540, 851988, 0, 65540, 917519, 0, 65540, 917524, 0, 65540, 983054, 0, 5, 983055, 0, 196616, 983060, 0, 196613, 983061, 0, 8, 1048590, 0, 65540, 1048597, 0, 65540, 1114126, 0, 65540, 1114133, 0, 65540, 1179662, 0, 65540, 1179669, 0, 65540, 1245198, 0, 65540, 1245205, 0, 65540, 1310734, 0, 196613, 1310735, 0, 196610, 1310736, 0, 196610, 1310737, 0, 196610, 1310738, 0, 196610, 1310739, 0, 196610, 1Line truncated tile_data = PoolIntArray( -2686978, 0, 5, -2686977, 0, 196610, -2752512, 0, 196610, -2752511, 0, 196610, -2752510, 0, 196610, -2752509, 0, 196610, -2752508, 0, 196610, -2752507, 0, 196610, -2752506, 0, 196610, -2752505, 0, 196610, -2752504, 0, 196610, -2752503, 0, 196610, -2752502, 0, 196610, -2752501, 0, 196610, -2752500, 0, 196610, -2752499, 0, 196610, -2752498, 0, 196610, -2752497, 0, 196610, -2752496, 0, 196610, -2752495, 0, 196610, -2752494, 0, 196610, -2752493, 0, 196610, -2752492, 0, 196610, -2752491, 0, 196610, -2752490, 0, 196610, -2752489, 0, 196610, -2752488, 0, 196610, -2752487, 0, 196610, -2752486, 0, 8, -2621442, 0, 65540, -2686950, 0, 65540, -2555906, 0, 65540, -2621414, 0, 65540, -2490370, 0, 65540, -2555878, 0, 65540, -2424834, 0, 65540, -2490342, 0, 65540, -2359298, 0, 65540, -2424806, 0, 65540, -2293762, 0, 65540, -2359270, 0, 65540, -2228226, 0, 65540, -2293734, 0, 65540, -2162690, 0, 65540, -2228198, 0, 65540, -2097154, 0, 65540, -2162662, 0, 65540, -2031618, 0, 65540, -2097126, 0, 65540, -1966082, 0, 65540, -2031590, 0, 65540, -1900546, 0, 65540, -1966054, 0, 65540, -1835010, 0, 65540, -1900518, 0, 65540, -1769474, 0, 65540, -1834982, 0, 65540, -1703938, 0, 65540, -1769446, 0, 65540, -1638402, 0, 65540, -1703910, 0, 65540, -1572866, 0, 196613, -1572865, 0, 196610, -1638400, 0, 196610, -1638399, 0, 196610, -1638398, 0, 196610, -1638397, 0, 196610, -1638396, 0, 196610, -1638395, 0, 196610, -1638394, 0, 196610, -1638393, 0, 196610, -1638392, 0, 196610, -1638391, 0, 196610, -1638390, 0, 8, -1638386, 0, 5, -1638385, 0, 196610, -1638384, 0, 196610, -1638383, 0, 196610, -1638382, 0, 196610, -1638381, 0, 196610, -1638380, 0, 196610, -1638379, 0, 196610, -1638378, 0, 196610, -1638377, 0, 196610, -1638376, 0, 196610, -1638375, 0, 196610, -1638374, 0, 196616, -1572854, 0, 65540, -1572850, 0, 65540, -1507318, 0, 65540, -1507314, 0, 65540, -1441782, 0, 65540, -1441778, 0, 65540, -1376246, 0, 65540, -1376242, 0, 65540, -1310710, 0, 65540, -1310706, 0, 65540, -1245174, 0, 65540, -1245170, 0, 65540, -1179638, 0, 65540, -1179634, 0, 65540, -1114102, 0, 262149, -1114101, 0, 196610, -1114100, 0, 196610, -1114099, 0, 196610, -1114098, 0, 262152, -1048566, 0, 65540, -1048562, 0, 65540, -983030, 0, 65540, -983026, 0, 65540, -917494, 0, 65540, -917490, 0, 65540, -851958, 0, 65540, -851954, 0, 65540, -786422, 0, 65540, -786418, 0, 65540, -720886, 0, 65540, -720882, 0, 65540, -655350, 0, 65540, -655346, 0, 65540, -524290, 0, 5, -524289, 0, 196610, -589824, 0, 196610, -589823, 0, 196610, -589822, 0, 196610, -589821, 0, 196610, -589820, 0, 196610, -589819, 0, 8, -589814, 0, 65540, -589810, 0, 65540, -458754, 0, 65540, -524283, 0, 65540, -524278, 0, 65540, -524274, 0, 65540, -393218, 0, 65540, -458747, 0, 65540, -458742, 0, 65540, -458738, 0, 65540, -327682, 0, 65540, -393211, 0, 65540, -393206, 0, 65540, -393202, 0, 65540, -262146, 0, 65540, -327675, 0, 65540, -327670, 0, 65540, -327666, 0, 65540, -196610, 0, 196613, -196609, 0, 8, -262140, 0, 5, -262139, 0, 196616, -262134, 0, 65540, -262130, 0, 65540, -131073, 0, 65540, -196604, 0, 65540, -196598, 0, 65540, -196594, 0, 65540, -65537, 0, 65540, -131068, 0, 65540, -131062, 0, 65540, -131058, 0, 65540, -131049, 0, 5, -131048, 0, 196610, -131047, 0, 196610, -131046, 0, 196610, -131045, 0, 196610, -131044, 0, 8, -1, 0, 65540, -65532, 0, 196613, -65531, 0, 196610, -65530, 0, 196610, -65529, 0, 196610, -65528, 0, 196610, -65527, 0, 196610, -65526, 0, 196616, -65522, 0, 196613, -65521, 0, 196610, -65520, 0, 196610, -65519, 0, 196610, -65518, 0, 196610, -65517, 0, 196610, -65516, 0, 196610, -65515, 0, 196610, -65514, 0, 196610, -65513, 0, 196616, -65508, 0, 65540, 65535, 0, 65540, 28, 0, 65540, 131071, 0, 65540, 65564, 0, 65540, 196607, 0, 65540, 131100, 0, 65540, 262143, 0, 65540, 196611, 0, 196609, 196612, 0, 196610, 196613, 0, 196610, 196614, 0, 196611, 196618, 0, 196609, 196619, 0, 196610, 196620, 0, 196610, 196621, 0, 196611, 196625, 0, 4, 196636, 0, 65540, 327679, 0, 65540, 262161, 0, 65540, 262164, 0, 5, 262165, 0, 196610, 262166, 0, 196610, 262167, 0, 8, 262172, 0, 65540, 393215, 0, 65540, 327697, 0, 65540, 327700, 0, 65540, 327703, 0, 196613, 327704, 0, 196610, 327705, 0, 196610, 327706, 0, 196610, 327707, 0, 196610, 327708, 0, 196616, 458743, 0, 5, 458744, 0, 196610, 458745, 0, 196610, 458746, 0, 196610, 458747, 0, 196610, 458748, 0, 8, 458751, 0, 65540, 393233, 0, 65540, 393236, 0, 65540, 524279, 0, 65540, 524284, 0, 196613, 524285, 0, 196610, 524286, 0, 196610, 524287, 0, 196616, 458756, 0, 4, 458760, 0, 4, 458764, 0, 4, 458769, 0, 65540, 458772, 0, 65540, 589815, 0, 65540, 524292, 0, 131076, 524296, 0, 131076, 524300, 0, 131076, 524305, 0, 131076, 524308, 0, 65540, 655351, 0, 65540, 589844, 0, 65540, 720887, 0, 65540, 655380, 0, 65540, 786423, 0, 65540, 720916, 0, 65540, 851959, 0, 65540, 851964, 0, 5, 851965, 0, 196610, 851966, 0, 196610, 851967, 0, 196610, 786432, 0, 196610, 786433, 0, 196610, 786434, 0, 196610, 786435, 0, 196610, 786436, 0, 196610, 786Line truncated
[node name="Fire3" type="AnimatedSprite" parent="."] [node name="Fire3" type="AnimatedSprite" parent="."]
position = Vector2( -607.628, -210.601 ) position = Vector2( -607.628, -210.601 )
frames = SubResource( 1 ) frames = SubResource( 1 )
frame = 4 frame = 12
playing = true playing = true
offset = Vector2( 679.819, 333.222 ) offset = Vector2( 679.819, 333.222 )
[node name="Fire2" type="AnimatedSprite" parent="."] [node name="Fire2" type="AnimatedSprite" parent="."]
position = Vector2( -543.25, -212.563 ) position = Vector2( -543.25, -212.563 )
frames = SubResource( 1 ) frames = SubResource( 1 )
frame = 7 frame = 1
playing = true playing = true
offset = Vector2( 679.819, 333.222 ) offset = Vector2( 679.819, 333.222 )
[node name="Fire1" type="AnimatedSprite" parent="."] [node name="Fire1" type="AnimatedSprite" parent="."]
position = Vector2( -479.806, -214.167 ) position = Vector2( -479.806, -214.167 )
frames = SubResource( 1 ) frames = SubResource( 1 )
frame = 8
playing = true playing = true
offset = Vector2( 679.819, 333.222 ) offset = Vector2( 679.819, 333.222 )
@@ -108,17 +109,17 @@ tile_set = ExtResource( 15 )
cell_size = Vector2( 16, 16 ) cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 ) cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
format = 1 format = 1
tile_data = PoolIntArray( -2293755, 8, 37, -2293754, 8, 38, -2293753, 8, 38, -2293752, 8, 38, -2293751, 8, 38, -2293750, 8, 38, -2293749, 8, 38, -2293748, 8, 38, -2293747, 8, 38, -2293746, 8, 38, -2293745, 8, 38, -2293744, 8, 38, -2293743, 8, 38, -2293742, 8, 38, -2293741, 8, 39, -2228219, 8, 65573, -2228218, 8, 65574, -2228217, 8, 65574, -2228216, 8, 65574, -2228215, 8, 65574, -2228214, 8, 65574, -2228213, 8, 65574, -2228212, 8, 65574, -2228211, 8, 65574, -2228210, 8, 65574, -2228209, 8, 65574, -2228208, 8, 65574, -2228207, 8, 65574, -2228206, 8, 65574, -2228205, 8, 65575, -2162683, 8, 65573, -2162682, 8, 65574, -2162681, 8, 65574, -2162680, 8, 65574, -2162679, 8, 65574, -2162678, 8, 65574, -2162677, 8, 65574, -2162676, 8, 65574, -2162675, 8, 65574, -2162674, 8, 65574, -2162673, 8, 65574, -2162672, 8, 65574, -2162671, 8, 65574, -2162670, 8, 65574, -2162669, 8, 65575, -2097147, 8, 65573, -2097146, 8, 65574, -2097145, 8, 65574, -2097144, 8, 65574, -2097143, 8, 65574, -2097142, 8, 65574, -2097141, 8, 65574, -2097140, 8, 65574, -2097139, 8, 65574, -2097138, 8, 65574, -2097137, 8, 65574, -2097136, 8, 65574, -2097135, 8, 65574, -2097134, 8, 65574, -2097133, 8, 65575, -2031611, 8, 65573, -2031610, 8, 65574, -2031609, 8, 65574, -2031608, 8, 65574, -2031607, 8, 65574, -2031606, 8, 65574, -2031605, 8, 65574, -2031604, 8, 65574, -2031603, 8, 65574, -2031602, 8, 65574, -2031601, 8, 65574, -2031600, 8, 65574, -2031599, 8, 65574, -2031598, 8, 65574, -2031597, 8, 65575, -1966075, 8, 65573, -1966074, 8, 65574, -1966073, 8, 65574, -1966072, 8, 65574, -1966071, 8, 65574, -1966070, 8, 65574, -1966069, 8, 65574, -1966068, 8, 65574, -1966067, 8, 65574, -1966066, 8, 65574, -1966065, 8, 65574, -1966064, 8, 65574, -1966063, 8, 65574, -1966062, 8, 65574, -1966061, 8, 65575, -1900539, 8, 65573, -1900538, 8, 65574, -1900537, 8, 65574, -1900536, 8, 65574, -1900535, 8, 65574, -1900534, 8, 65574, -1900533, 8, 65574, -1900532, 8, 65574, -1900531, 8, 65574, -1900530, 8, 65574, -1900529, 8, 65574, -1900528, 8, 65574, -1900527, 8, 65574, -1900526, 8, 65574, -1900525, 8, 65575, -1835003, 8, 65573, -1835002, 8, 65574, -1835001, 8, 65574, -1835000, 8, 65574, -1834999, 8, 65574, -1834998, 8, 65574, -1834997, 8, 65574, -1834996, 8, 65574, -1834995, 8, 65574, -1834994, 8, 65574, -1834993, 8, 65574, -1834992, 8, 65574, -1834991, 8, 65574, -1834990, 8, 65574, -1834989, 8, 65575, -1769467, 8, 65573, -1769466, 8, 65574, -1769465, 8, 65574, -1769464, 8, 65574, -1769463, 8, 65574, -1769462, 8, 65574, -1769461, 8, 65574, -1769460, 8, 65574, -1769459, 8, 65574, -1769458, 8, 65574, -1769457, 8, 65574, -1769456, 8, 65574, -1769455, 8, 65574, -1769454, 8, 65574, -1769453, 8, 65575, -1703931, 8, 131109, -1703930, 8, 131110, -1703929, 8, 131110, -1703928, 8, 131110, -1703927, 8, 131110, -1703926, 8, 131110, -1703925, 8, 65579, -1703924, 8, 65574, -1703923, 8, 65578, -1703922, 8, 131110, -1703921, 8, 131110, -1703920, 8, 131110, -1703919, 8, 131110, -1703918, 8, 131110, -1703917, 8, 131111, -1638389, 8, 65573, -1638388, 8, 65574, -1638387, 8, 65575, -1572853, 8, 65573, -1572852, 8, 65574, -1572851, 8, 65575, -1507317, 8, 65573, -1507316, 8, 65574, -1507315, 8, 65575, -1441781, 8, 65573, -1441780, 8, 65574, -1441779, 8, 65575, -1376245, 8, 65573, -1376244, 8, 65574, -1376243, 8, 65575, -1310709, 8, 65573, -1310708, 8, 65574, -1310707, 8, 65575, -1245173, 8, 65573, -1245172, 8, 65574, -1245171, 8, 65575, -1179637, 8, 131109, -1179636, 8, 131110, -1179635, 8, 131111, -1048565, 8, 37, -1048564, 8, 38, -1048563, 8, 39, -983029, 8, 65573, -983028, 8, 65574, -983027, 8, 65575, -917493, 8, 65573, -917492, 8, 65574, -917491, 8, 65575, -851957, 8, 65573, -851956, 8, 65574, -851955, 8, 65575, -786421, 8, 65573, -786420, 8, 65574, -786419, 8, 65575, -720885, 8, 65573, -720884, 8, 65574, -720883, 8, 65575, -655349, 8, 65573, -655348, 8, 65574, -655347, 8, 65575, -589813, 8, 65573, -589812, 8, 65574, -589811, 8, 65575, -458753, 8, 37, -524288, 8, 38, -524287, 8, 38, -524286, 8, 38, -524285, 8, 38, -524284, 8, 39, -524277, 8, 65573, -524276, 8, 65574, -524275, 8, 65575, -393217, 8, 65573, -458752, 8, 65574, -458751, 8, 65574, -458750, 8, 65574, -458749, 8, 65574, -458748, 8, 65575, -458741, 8, 65573, -458740, 8, 65574, -458739, 8, 65575, -327681, 8, 65573, -393216, 8, 65574, -393215, 8, 65574, -393214, 8, 65574, -393213, 8, 65574, -393212, 8, 65575, -393205, 8, 65573, -393204, 8, 65574, -393203, 8, 65575, -262145, 8, 131109, -327680, 8, 65579, -327679, 8, 65574, -327678, 8, 65574, -327677, 8, 65578, -327676, 8, 131111, -327669, 8, 65573, -327668, 8, 65574, -327667, 8, 65575, -262144, 8, 65573, -262143, 8, 65574, -262142, 8, 65574, -262141, 8, 65575, -262133, 8, 65573, -262132, 8, 65574, -262131, 8, 65575, -196608, 8, 65573, -196607, 8, 65574, -196606, 8, 65574, -196605, 8, 65575, -196597, 8, 65573, -196596, 8, 65574, -196595, 8, 65575, -131072, 8, 65573, -131071, 8, 65574, -131070, 8, 65574, -131069, 8, 65575, -131061, 8, 65573, -131060, 8, 65574, -131059, 8, 65575, -65536Line truncated tile_data = PoolIntArray( -2621441, 8, 37, -2686976, 8, 38, -2686975, 8, 38, -2686974, 8, 38, -2686973, 8, 38, -2686972, 8, 38, -2686971, 8, 38, -2686970, 8, 38, -2686969, 8, 38, -2686968, 8, 38, -2686967, 8, 38, -2686966, 8, 38, -2686965, 8, 38, -2686964, 8, 38, -2686963, 8, 38, -2686962, 8, 38, -2686961, 8, 38, -2686960, 8, 38, -2686959, 8, 38, -2686958, 8, 38, -2686957, 8, 38, -2686956, 8, 38, -2686955, 8, 38, -2686954, 8, 38, -2686953, 8, 38, -2686952, 8, 38, -2686951, 8, 39, -2555905, 8, 65573, -2621440, 8, 65574, -2621439, 8, 65574, -2621438, 8, 65574, -2621437, 8, 65574, -2621436, 8, 65574, -2621435, 8, 65574, -2621434, 8, 65574, -2621433, 8, 65574, -2621432, 8, 65574, -2621431, 8, 65574, -2621430, 8, 65574, -2621429, 8, 65574, -2621428, 8, 65574, -2621427, 8, 65574, -2621426, 8, 65574, -2621425, 8, 65574, -2621424, 8, 65574, -2621423, 8, 65574, -2621422, 8, 65574, -2621421, 8, 65574, -2621420, 8, 65574, -2621419, 8, 65574, -2621418, 8, 65574, -2621417, 8, 65574, -2621416, 8, 65574, -2621415, 8, 65575, -2490369, 8, 65573, -2555904, 8, 65574, -2555903, 8, 65574, -2555902, 8, 65574, -2555901, 8, 65574, -2555900, 8, 65574, -2555899, 8, 65574, -2555898, 8, 65574, -2555897, 8, 65574, -2555896, 8, 65574, -2555895, 8, 65574, -2555894, 8, 65574, -2555893, 8, 65574, -2555892, 8, 65574, -2555891, 8, 65574, -2555890, 8, 65574, -2555889, 8, 65574, -2555888, 8, 65574, -2555887, 8, 65574, -2555886, 8, 65574, -2555885, 8, 65574, -2555884, 8, 65574, -2555883, 8, 65574, -2555882, 8, 65574, -2555881, 8, 65574, -2555880, 8, 65574, -2555879, 8, 65575, -2424833, 8, 65573, -2490368, 8, 65574, -2490367, 8, 65574, -2490366, 8, 65574, -2490365, 8, 65574, -2490364, 8, 65574, -2490363, 8, 65574, -2490362, 8, 65574, -2490361, 8, 65574, -2490360, 8, 65574, -2490359, 8, 65574, -2490358, 8, 65574, -2490357, 8, 65574, -2490356, 8, 65574, -2490355, 8, 65574, -2490354, 8, 65574, -2490353, 8, 65574, -2490352, 8, 65574, -2490351, 8, 65574, -2490350, 8, 65574, -2490349, 8, 65574, -2490348, 8, 65574, -2490347, 8, 65574, -2490346, 8, 65574, -2490345, 8, 65574, -2490344, 8, 65574, -2490343, 8, 65575, -2359297, 8, 65573, -2424832, 8, 65574, -2424831, 8, 65574, -2424830, 8, 65574, -2424829, 8, 65574, -2424828, 8, 65574, -2424827, 8, 65574, -2424826, 8, 65574, -2424825, 8, 65574, -2424824, 8, 65574, -2424823, 8, 65574, -2424822, 8, 65574, -2424821, 8, 65574, -2424820, 8, 65574, -2424819, 8, 65574, -2424818, 8, 65574, -2424817, 8, 65574, -2424816, 8, 65574, -2424815, 8, 65574, -2424814, 8, 65574, -2424813, 8, 65574, -2424812, 8, 65574, -2424811, 8, 65574, -2424810, 8, 65574, -2424809, 8, 65574, -2424808, 8, 65574, -2424807, 8, 65575, -2293761, 8, 65573, -2359296, 8, 65574, -2359295, 8, 65574, -2359294, 8, 65574, -2359293, 8, 65574, -2359292, 8, 65574, -2359291, 8, 65574, -2359290, 8, 65574, -2359289, 8, 65574, -2359288, 8, 65574, -2359287, 8, 65574, -2359286, 8, 65574, -2359285, 8, 65574, -2359284, 8, 65574, -2359283, 8, 65574, -2359282, 8, 65574, -2359281, 8, 65574, -2359280, 8, 65574, -2359279, 8, 65574, -2359278, 8, 65574, -2359277, 8, 65574, -2359276, 8, 65574, -2359275, 8, 65574, -2359274, 8, 65574, -2359273, 8, 65574, -2359272, 8, 65574, -2359271, 8, 65575, -2228225, 8, 65573, -2293760, 8, 65574, -2293759, 8, 65574, -2293758, 8, 65574, -2293757, 8, 65574, -2293756, 8, 65574, -2293755, 8, 65574, -2293754, 8, 65574, -2293753, 8, 65574, -2293752, 8, 65574, -2293751, 8, 65574, -2293750, 8, 65574, -2293749, 8, 65574, -2293748, 8, 65574, -2293747, 8, 65574, -2293746, 8, 65574, -2293745, 8, 65574, -2293744, 8, 65574, -2293743, 8, 65574, -2293742, 8, 65574, -2293741, 8, 65574, -2293740, 8, 65574, -2293739, 8, 65574, -2293738, 8, 65574, -2293737, 8, 65574, -2293736, 8, 65574, -2293735, 8, 65575, -2162689, 8, 65573, -2228224, 8, 65574, -2228223, 8, 65574, -2228222, 8, 65574, -2228221, 8, 65574, -2228220, 8, 65574, -2228219, 8, 65574, -2228218, 8, 65574, -2228217, 8, 65574, -2228216, 8, 65574, -2228215, 8, 65574, -2228214, 8, 65574, -2228213, 8, 65574, -2228212, 8, 65574, -2228211, 8, 65574, -2228210, 8, 65574, -2228209, 8, 65574, -2228208, 8, 65574, -2228207, 8, 65574, -2228206, 8, 65574, -2228205, 8, 65574, -2228204, 8, 65574, -2228203, 8, 65574, -2228202, 8, 65574, -2228201, 8, 65574, -2228200, 8, 65574, -2228199, 8, 65575, -2097153, 8, 65573, -2162688, 8, 65574, -2162687, 8, 65574, -2162686, 8, 65574, -2162685, 8, 65574, -2162684, 8, 65574, -2162683, 8, 65574, -2162682, 8, 65574, -2162681, 8, 65574, -2162680, 8, 65574, -2162679, 8, 65574, -2162678, 8, 65574, -2162677, 8, 65574, -2162676, 8, 65574, -2162675, 8, 65574, -2162674, 8, 65574, -2162673, 8, 65574, -2162672, 8, 65574, -2162671, 8, 65574, -2162670, 8, 65574, -2162669, 8, 65574, -2162668, 8, 65574, -2162667, 8, 65574, -2162666, 8, 65574, -2162665, 8, 65574, -2162664, 8, 65574, -2162663, 8, 65575, -2031617, 8, 65573, -2097152, 8, 65574, -2097151, 8, 65574, -2097150, 8, 65574, -2097149, 8, 65574, -2097148, 8, 65574, -2097147, 8, 65574, -2097146, 8, 65574, -2097145, 8, 65574, -2097144, 8, 6Line truncated
[node name="Wall (Collision)" type="TileMap" parent="."] [node name="Wall (Collision)" type="TileMap" parent="."]
tile_set = SubResource( 3 ) tile_set = SubResource( 9 )
cell_size = Vector2( 16, 16 ) cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 8, 0, 0, 8, 0, 0 ) cell_custom_transform = Transform2D( 8, 0, 0, 8, 0, 0 )
show_collision = true show_collision = true
collision_layer = 2 collision_layer = 2
collision_mask = 2 collision_mask = 2
format = 1 format = 1
tile_data = PoolIntArray( -2359292, 0, 0, -2359291, 0, 0, -2359290, 0, 0, -2359289, 0, 0, -2359288, 0, 0, -2359287, 0, 0, -2359286, 0, 0, -2359285, 0, 0, -2359284, 0, 0, -2359283, 0, 0, -2359282, 0, 0, -2359281, 0, 0, -2359280, 0, 0, -2359279, 0, 0, -2359278, 0, 0, -2359277, 0, 0, -2359276, 0, 0, -2293756, 0, 0, -2293740, 0, 0, -2228220, 0, 0, -2228204, 0, 0, -2162684, 0, 0, -2162668, 0, 0, -2097148, 0, 0, -2097132, 0, 0, -2031612, 0, 0, -2031596, 0, 0, -1966076, 0, 0, -1966060, 0, 0, -1900540, 0, 0, -1900524, 0, 0, -1835004, 0, 0, -1834988, 0, 0, -1769468, 0, 0, -1769452, 0, 0, -1703932, 0, 0, -1703916, 0, 0, -1638396, 0, 0, -1638395, 0, 0, -1638394, 0, 0, -1638393, 0, 0, -1638392, 0, 0, -1638391, 0, 0, -1638390, 0, 0, -1638386, 0, 0, -1638385, 0, 0, -1638384, 0, 0, -1638383, 0, 0, -1638382, 0, 0, -1638381, 0, 0, -1638380, 0, 0, -1114101, 0, 0, -1114100, 0, 0, -1114099, 0, 0, -524290, 0, 0, -524289, 0, 0, -589824, 0, 0, -589823, 0, 0, -589822, 0, 0, -589821, 0, 0, -589820, 0, 0, -589819, 0, 0, -458754, 0, 0, -524283, 0, 0, -393218, 0, 0, -458747, 0, 0, -327682, 0, 0, -393211, 0, 0, -393206, 0, 0, -393205, 0, 0, -393204, 0, 0, -393203, 0, 0, -393202, 0, 0, -262146, 0, 0, -327675, 0, 0, -327670, 0, 0, -327666, 0, 0, -196610, 0, 0, -196609, 0, 0, -262140, 0, 0, -262139, 0, 0, -262134, 0, 0, -262130, 0, 0, -131073, 0, 0, -196604, 0, 0, -196598, 0, 0, -196594, 0, 0, -65537, 0, 0, -131068, 0, 0, -131062, 0, 0, -131058, 0, 0, -131049, 0, 0, -131048, 0, 0, -131047, 0, 0, -131046, 0, 0, -131045, 0, 0, -131044, 0, 0, -1, 0, 0, -65532, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, 0, -65528, 0, 0, -65527, 0, 0, -65526, 0, 0, -65522, 0, 0, -65521, 0, 0, -65520, 0, 0, -65519, 0, 0, -65518, 0, 0, -65517, 0, 0, -65516, 0, 0, -65515, 0, 0, -65514, 0, 0, -65513, 0, 0, -65508, 0, 0, 65535, 0, 0, 28, 0, 0, 131071, 0, 0, 65564, 0, 0, 196607, 0, 0, 131100, 0, 0, 262143, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196625, 0, 0, 196636, 0, 0, 327679, 0, 0, 262161, 0, 0, 262164, 0, 0, 262165, 0, 0, 262166, 0, 0, 262167, 0, 0, 262172, 0, 0, 393215, 0, 0, 327697, 0, 0, 327700, 0, 0, 327703, 0, 0, 327704, 0, 0, 327705, 0, 0, 327706, 0, 0, 327707, 0, 0, 327708, 0, 0, 458743, 0, 0, 458744, 0, 0, 458745, 0, 0, 458746, 0, 0, 458747, 0, 0, 458748, 0, 0, 458751, 0, 0, 393233, 0, 0, 393236, 0, 0, 524279, 0, 0, 524284, 0, 0, 524285, 0, 0, 524286, 0, 0, 524287, 0, 0, 458756, 0, 0, 458760, 0, 0, 458764, 0, 0, 458769, 0, 0, 458772, 0, 0, 589815, 0, 0, 524292, 0, 0, 524296, 0, 0, 524300, 0, 0, 524305, 0, 0, 524308, 0, 0, 655351, 0, 0, 589844, 0, 0, 720887, 0, 0, 655380, 0, 0, 786423, 0, 0, 720916, 0, 0, 851959, 0, 0, 851964, 0, 0, 851965, 0, 0, 851966, 0, 0, 851967, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786452, 0, 0, 917495, 0, 0, 917496, 0, 0, 917497, 0, 0, 917498, 0, 0, 917499, 0, 0, 917500, 0, 0, 851983, 0, 0, 851988, 0, 0, 917519, 0, 0, 917524, 0, 0, 983054, 0, 0, 983055, 0, 0, 983060, 0, 0, 983061, 0, 0, 1048590, 0, 0, 1048597, 0, 0, 1114126, 0, 0, 1114133, 0, 0, 1179662, 0, 0, 1179669, 0, 0, 1245198, 0, 0, 1245205, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 0, 0, 1310739, 0, 0, 1310740, 0, 0, 1310741, 0, 0 ) tile_data = PoolIntArray( -2686978, 0, 0, -2686977, 0, 0, -2752512, 0, 0, -2752511, 0, 0, -2752510, 0, 0, -2752509, 0, 0, -2752508, 0, 0, -2752507, 0, 0, -2752506, 0, 0, -2752505, 0, 0, -2752504, 0, 0, -2752503, 0, 0, -2752502, 0, 0, -2752501, 0, 0, -2752500, 0, 0, -2752499, 0, 0, -2752498, 0, 0, -2752497, 0, 0, -2752496, 0, 0, -2752495, 0, 0, -2752494, 0, 0, -2752493, 0, 0, -2752492, 0, 0, -2752491, 0, 0, -2752490, 0, 0, -2752489, 0, 0, -2752488, 0, 0, -2752487, 0, 0, -2752486, 0, 0, -2621442, 0, 0, -2686950, 0, 0, -2555906, 0, 0, -2621414, 0, 0, -2490370, 0, 0, -2555878, 0, 0, -2424834, 0, 0, -2490342, 0, 0, -2359298, 0, 0, -2424806, 0, 0, -2293762, 0, 0, -2359270, 0, 0, -2228226, 0, 0, -2293734, 0, 0, -2162690, 0, 0, -2228198, 0, 0, -2097154, 0, 0, -2162662, 0, 0, -2031618, 0, 0, -2097126, 0, 0, -1966082, 0, 0, -2031590, 0, 0, -1900546, 0, 0, -1966054, 0, 0, -1835010, 0, 0, -1900518, 0, 0, -1769474, 0, 0, -1834982, 0, 0, -1703938, 0, 0, -1769446, 0, 0, -1638402, 0, 0, -1638401, 0, 0, -1703910, 0, 0, -1572866, 0, 0, -1572865, 0, 0, -1638400, 0, 0, -1638399, 0, 0, -1638398, 0, 0, -1638397, 0, 0, -1638396, 0, 0, -1638395, 0, 0, -1638394, 0, 0, -1638393, 0, 0, -1638392, 0, 0, -1638391, 0, 0, -1638390, 0, 0, -1638386, 0, 0, -1638385, 0, 0, -1638384, 0, 0, -1638383, 0, 0, -1638382, 0, 0, -1638381, 0, 0, -1638380, 0, 0, -1638379, 0, 0, -1638378, 0, 0, -1638377, 0, 0, -1638376, 0, 0, -1638375, 0, 0, -1638374, 0, 0, -1572854, 0, 0, -1572850, 0, 0, -1507318, 0, 0, -1507314, 0, 0, -1441782, 0, 0, -1441778, 0, 0, -1376246, 0, 0, -1376242, 0, 0, -1310710, 0, 0, -1310706, 0, 0, -1245174, 0, 0, -1245170, 0, 0, -1179638, 0, 0, -1179634, 0, 0, -1114102, 0, 0, -1114101, 0, 0, -1114100, 0, 0, -1114099, 0, 0, -1114098, 0, 0, -524290, 0, 0, -524289, 0, 0, -589824, 0, 0, -589823, 0, 0, -589822, 0, 0, -589821, 0, 0, -589820, 0, 0, -589819, 0, 0, -458754, 0, 0, -524283, 0, 0, -393218, 0, 0, -458747, 0, 0, -327682, 0, 0, -393211, 0, 0, -393206, 0, 0, -393205, 0, 0, -393204, 0, 0, -393203, 0, 0, -393202, 0, 0, -262146, 0, 0, -327675, 0, 0, -327670, 0, 0, -327666, 0, 0, -196610, 0, 0, -196609, 0, 0, -262140, 0, 0, -262139, 0, 0, -262134, 0, 0, -262130, 0, 0, -131073, 0, 0, -196604, 0, 0, -196598, 0, 0, -196594, 0, 0, -65537, 0, 0, -131068, 0, 0, -131062, 0, 0, -131058, 0, 0, -131049, 0, 0, -131048, 0, 0, -131047, 0, 0, -131046, 0, 0, -131045, 0, 0, -131044, 0, 0, -1, 0, 0, -65532, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, 0, -65528, 0, 0, -65527, 0, 0, -65526, 0, 0, -65522, 0, 0, -65521, 0, 0, -65520, 0, 0, -65519, 0, 0, -65518, 0, 0, -65517, 0, 0, -65516, 0, 0, -65515, 0, 0, -65514, 0, 0, -65513, 0, 0, -65508, 0, 0, 65535, 0, 0, 28, 0, 0, 131071, 0, 0, 65564, 0, 0, 196607, 0, 0, 131100, 0, 0, 262143, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196625, 0, 0, 196636, 0, 0, 327679, 0, 0, 262161, 0, 0, 262164, 0, 0, 262165, 0, 0, 262166, 0, 0, 262167, 0, 0, 262172, 0, 0, 393215, 0, 0, 327697, 0, 0, 327700, 0, 0, 327703, 0, 0, 327704, 0, 0, 327705, 0, 0, 327706, 0, 0, 327707, 0, 0, 327708, 0, 0, 458743, 0, 0, 458744, 0, 0, 458745, 0, 0, 458746, 0, 0, 458747, 0, 0, 458748, 0, 0, 458751, 0, 0, 393233, 0, 0, 393236, 0, 0, 524279, 0, 0, 524284, 0, 0, 524285, 0, 0, 524286, 0, 0, 524287, 0, 0, 458756, 0, 0, 458760, 0, 0, 458764, 0, 0, 458769, 0, 0, 458772, 0, 0, 589815, 0, 0, 524292, 0, 0, 524296, 0, 0, 524300, 0, 0, 524305, 0, 0, 524308, 0, 0, 655351, 0, 0, 589844, 0, 0, 720887, 0, 0, 655380, 0, 0, 786423, 0, 0, 720916, 0, 0, 851959, 0, 0, 851964, 0, 0, 851965, 0, 0, 851966, 0, 0, 851967, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786452, 0, 0, 917495, 0, 0, 917496, 0, 0, 917497, 0, 0, 917498, 0, 0, 917499, 0, 0, 917500, 0, 0, 851983, 0, 0, 851988, 0, 0, 917519, 0, 0, 917524, 0, 0, 983054, 0, 0, 983055, 0, 0, 983060, 0, 0, 983061, 0, 0, 1048590, 0, 0, 1048597, 0, 0, 1114126, 0, 0, 1114133, 0, 0, 1179662, 0, 0, 1179669, 0, 0, 1245198, 0, 0, 1245205, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 0, 0, 1310739, 0, 0, 1310740, 0, 0, 1310741, 0, 0 )
[node name="YSort" type="YSort" parent="."] [node name="YSort" type="YSort" parent="."]
@@ -171,6 +172,9 @@ z_index = 4
position = Vector2( 290, 273 ) position = Vector2( 290, 273 )
z_index = 4 z_index = 4
[node name="Demon Boss" parent="YSort/Enemies" instance=ExtResource( 26 )]
position = Vector2( 193, -532 )
[node name="Items" type="YSort" parent="YSort"] [node name="Items" type="YSort" parent="YSort"]
[node name="TreasureChest" parent="YSort/Items" instance=ExtResource( 16 )] [node name="TreasureChest" parent="YSort/Items" instance=ExtResource( 16 )]
@@ -205,18 +209,16 @@ scale = Vector2( 1.25, 1.25 )
collision_layer = 2 collision_layer = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorCollision"] [node name="CollisionShape2D" type="CollisionShape2D" parent="DoorCollision"]
position = Vector2( 201, -10 ) position = Vector2( 203, -9 )
shape = SubResource( 4 ) shape = SubResource( 11 )
[node name="NextArea" type="Area2D" parent="."] [node name="NextArea" type="Area2D" parent="."]
collision_layer = 2 collision_layer = 2
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="NextArea"] [node name="CollisionShape2D" type="CollisionShape2D" parent="NextArea"]
position = Vector2( 200, -56 ) position = Vector2( 200, -56 )
shape = SubResource( 5 ) shape = SubResource( 12 )
[node name="DemonBoss" parent="." instance=ExtResource( 26 )]
position = Vector2( 194, -550 )
[connection signal="gem_collected" from="YSort/Items/TreasureChest" to="." method="_on_TreasureChest_gem_collected"] [connection signal="gem_collected" from="YSort/Items/TreasureChest" to="." method="_on_TreasureChest_gem_collected"]
[connection signal="gem_collected" from="YSort/Items/TreasureChest2" to="." method="_on_TreasureChest_gem_collected"] [connection signal="gem_collected" from="YSort/Items/TreasureChest2" to="." method="_on_TreasureChest_gem_collected"]
+16
View File
@@ -0,0 +1,16 @@
extends Sprite
# Declare member variables here. Examples:
# var a: int = 2
# var b: String = "text"
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass
+21
View File
@@ -0,0 +1,21 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Sprites/Levels/Objects/Gate_Open.png" type="Texture" id=1]
[ext_resource path="res://Sprites/Levels/Objects/Gate_Closed.png" type="Texture" id=2]
[node name="IceDoor" type="Sprite"]
[node name="doorClosed" type="Sprite" parent="."]
modulate = Color( 0.00392157, 0.905882, 1, 1 )
self_modulate = Color( 0.0352941, 0.705882, 1, 1 )
position = Vector2( 0.530327, 0.0883861 )
scale = Vector2( 0.742002, 0.706551 )
texture = ExtResource( 2 )
[node name="doorOpened" type="Sprite" parent="."]
visible = false
modulate = Color( 0.00392157, 0.905882, 1, 1 )
self_modulate = Color( 0.0352941, 0.705882, 1, 1 )
position = Vector2( 0.353549, 0.97227 )
scale = Vector2( 0.732446, 0.669794 )
texture = ExtResource( 1 )
+24
View File
@@ -0,0 +1,24 @@
extends Node2D
# Declare member variables here. Examples:
# var a: int = 2
# var b: String = "text"
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass
func _on_AnimationPlayer_animation_finished(anim_name: String) -> void:
$IceKeySprite.visible = false
func _on_AnimationPlayer_animation_started(anim_name: String) -> void:
$IceKeySprite.visible = true
+21
View File
@@ -0,0 +1,21 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Levels/Objects/icekey.png" type="Texture" id=1]
[ext_resource path="res://Levels/Interactables/Gem.gd" type="Script" id=2]
[sub_resource type="Animation" id=1]
resource_name = "rise"
length = 1.2
[node name="Key" type="Node2D"]
script = ExtResource( 2 )
[node name="IceKeySprite" type="Sprite" parent="."]
position = Vector2( -0.0417144, 0.145997 )
scale = Vector2( 0.760146, 0.732771 )
texture = ExtResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/rise = SubResource( 1 )
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
+34
View File
@@ -0,0 +1,34 @@
extends Sprite
var is_player_inside: bool = false
var is_opened: bool = false
var has_key: bool = true
signal ice_key_collected
# Declare member variables here. Examples:
# var a: int = 2
# var b: String = "text"
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass
func _on_Player_Detector_area_entered(area: Area2D) -> void:
print(get_parent().get_parent().score)
if area.get_parent().name == 'Player' and get_parent().get_parent().score >= 5:
if is_opened == false:
$chestClosed.visible = false
$chestOpened.visible = true
$Key.visible = true
$Key/AnimationPlayer.play("rise")
is_opened = true
has_key = false
emit_signal("ice_key_collected")
+38
View File
@@ -0,0 +1,38 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Levels/Interactables/Treasure Chest.gd" type="Script" id=1]
[ext_resource path="res://Levels/Objects/Key.tscn" type="PackedScene" id=2]
[ext_resource path="res://Sprites/Levels/Interactables/Treasure_Chest_Closed.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Levels/Interactables/Treasure_Chest_Open.png" type="Texture" id=4]
[ext_resource path="res://Levels/Objects/Key.gd" type="Script" id=5]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 21.3333, 17.3333 )
[node name="TreasureChest" type="Sprite" groups=["enemies"]]
script = ExtResource( 1 )
[node name="chestOpened" type="Sprite" parent="."]
visible = false
texture = ExtResource( 4 )
[node name="chestClosed" type="Sprite" parent="."]
texture = ExtResource( 3 )
[node name="Key" parent="." instance=ExtResource( 2 )]
visible = false
script = ExtResource( 5 )
[node name="Player Detector" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 2
input_pickable = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
visible = false
position = Vector2( 1, -1 )
scale = Vector2( 1.5, 1.5 )
shape = SubResource( 1 )
[connection signal="area_entered" from="Player Detector" to="." method="_on_Player_Detector_area_entered"]
+17
View File
@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Sprites/Assets/forestTreeBig.png" type="Texture" id=1]
[sub_resource type="CapsuleShape2D" id=1]
radius = 5.0
height = 9.0
[node name="Tree" type="StaticBody2D"]
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
offset = Vector2( 0, -5 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource( 1 )
Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icekey.png-527d7dd5cd660f0970e78efce0eda1a1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Levels/Objects/icekey.png"
dest_files=[ "res://.import/icekey.png-527d7dd5cd660f0970e78efce0eda1a1.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
+35
View File
@@ -0,0 +1,35 @@
extends Node
signal unfreeze
const END_VALUE: int = 1
var is_active: bool = false
var time_start: int
var duration_ms: int
var start_value: float
func start(duration: int = 1, strength: float = 0.9):
time_start = OS.get_ticks_msec()
duration_ms = duration * 1000
start_value = 1 - strength
Engine.time_scale = start_value
is_active = true
func _process(_delta: float) -> void:
if is_active:
var current_time = OS.get_ticks_msec() - time_start
var value = circl_ease_in(current_time, start_value, END_VALUE, duration_ms)
if current_time >= duration_ms:
is_active = false
value = END_VALUE
emit_signal('unfreeze')
Engine.time_scale = value
return
func circl_ease_in(t, b, c, d):
t /= d
return -c * (sqrt(1 - t * t) - 1) + b
+1 -1
View File
@@ -7,7 +7,7 @@ export var relative_y_tiles: int
func _on_spawn_trap_body_entered(body: Node) -> void: func _on_spawn_trap_body_entered(body: Node) -> void:
if body.is_in_group('player'): if body.is_in_group('player'):
set_deferred('monitoring', false) $Tile.set_deferred('disabled', true)
var enemy: KinematicBody2D = load(enemy_path).instance() var enemy: KinematicBody2D = load(enemy_path).instance()
enemy.position.x = position.x + (relative_x_tiles * 16 + 8) enemy.position.x = position.x + (relative_x_tiles * 16 + 8)
+9 -5
View File
@@ -3,10 +3,11 @@ extends Node
export var splash_screen_path: String export var splash_screen_path: String
export var main_menu_path: String export var main_menu_path: String
export var level_select_menu_path: String export var level_select_menu_path: String
export var world_path: String export var hub_world_path: String
func _ready() -> void: func _ready() -> void:
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
@@ -39,10 +40,13 @@ func play_main_menu() -> Node:
func main_menu_option(option: String) -> void: func main_menu_option(option: String) -> void:
if option == 'new game': if option == 'new game':
var level_select_menu: Node = play_level_select_menu() if get_tree().change_scene(hub_world_path) != OK:
yield(level_select_menu, 'complete') print('ERROR: Main failed to change scene to Hub World.')
free_connected_node(level_select_menu, 'level_select_menu_option') queue_free()
level_select_menu = null #var level_select_menu: Node = play_level_select_menu()
#yield(level_select_menu, 'complete')
#free_connected_node(level_select_menu, 'level_select_menu_option')
#level_select_menu = null
return return
+1 -1
View File
@@ -8,7 +8,7 @@ script = ExtResource( 1 )
splash_screen_path = "res://GUI/Splash Screen.tscn" splash_screen_path = "res://GUI/Splash Screen.tscn"
main_menu_path = "res://GUI/Main Menu.tscn" main_menu_path = "res://GUI/Main Menu.tscn"
level_select_menu_path = "res://GUI/Level Select Menu.tscn" level_select_menu_path = "res://GUI/Level Select Menu.tscn"
world_path = "res://Levels/Hub World.tscn" hub_world_path = "res://Levels/Hub World.tscn"
[node name="Background" type="Sprite" parent="."] [node name="Background" type="Sprite" parent="."]
texture = ExtResource( 3 ) texture = ExtResource( 3 )
BIN
View File
Binary file not shown.
+15
View File
@@ -0,0 +1,15 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
path="res://.import/Level_3.mp3-c1f27f9292fb52473328a029b05dce7d.mp3str"
[deps]
source_file="res://Music/Level_3.mp3"
dest_files=[ "res://.import/Level_3.mp3-c1f27f9292fb52473328a029b05dce7d.mp3str" ]
[params]
loop=true
loop_offset=0
+18 -7
View File
@@ -1,5 +1,7 @@
extends KinematicBody2D extends KinematicBody2D
signal frozen
export var ACCELERATION: int = 1000 export var ACCELERATION: int = 1000
export var MAX_SPEED: int = 120 export var MAX_SPEED: int = 120
export var FRICTION: int = 1000 export var FRICTION: int = 1000
@@ -7,8 +9,6 @@ export var FRICTION: int = 1000
const HEALTH_SLICES: Array = [0, 18, 35, 50, 65, 82, 100] const HEALTH_SLICES: Array = [0, 18, 35, 50, 65, 82, 100]
var health_index: int = 6 var health_index: int = 6
var l5_gems: int = 0
var hud: CanvasLayer = null var hud: CanvasLayer = null
var velocity: Vector2 = Vector2.ZERO var velocity: Vector2 = Vector2.ZERO
@@ -49,22 +49,22 @@ func load_hud(node: CanvasLayer) -> void:
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
@@ -104,6 +104,9 @@ func _on_hitbox_area_entered(area: Area2D) -> void:
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'):
emit_signal('frozen')
$Sprite.self_modulate = Color(0, 0.5, 1)
else: else:
return return
@@ -111,7 +114,10 @@ func _on_hitbox_area_entered(area: Area2D) -> void:
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:
get_tree().change_scene('res://Levels/Hub World.tscn')
return return
@@ -122,7 +128,7 @@ func _input(event: InputEvent) -> void:
elif hud.weapon == 'javelin': elif hud.weapon == 'javelin':
$'Javelin/Javelin Animation'.play('swing') $'Javelin/Javelin Animation'.play('swing')
if 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')
@@ -135,3 +141,8 @@ func _input(event: InputEvent) -> void:
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:
$Sprite.self_modulate = Color(1, 1, 1)
return
+10 -14
View File
@@ -10,9 +10,9 @@
[sub_resource type="SpriteFrames" id=1] [sub_resource type="SpriteFrames" id=1]
animations = [ { animations = [ {
"frames": [ ExtResource( 2 ) ], "frames": [ ExtResource( 4 ) ],
"loop": false, "loop": false,
"name": "look_left", "name": "look_up",
"speed": 5.0 "speed": 5.0
}, { }, {
"frames": [ ExtResource( 2 ) ], "frames": [ ExtResource( 2 ) ],
@@ -20,15 +20,15 @@ animations = [ {
"name": "look_right", "name": "look_right",
"speed": 5.0 "speed": 5.0
}, { }, {
"frames": [ ExtResource( 4 ) ],
"loop": false,
"name": "look_up",
"speed": 5.0
}, {
"frames": [ ExtResource( 3 ) ], "frames": [ ExtResource( 3 ) ],
"loop": false, "loop": false,
"name": "look_down", "name": "look_down",
"speed": 5.0 "speed": 5.0
}, {
"frames": [ ExtResource( 2 ) ],
"loop": false,
"name": "look_left",
"speed": 5.0
} ] } ]
[sub_resource type="CapsuleShape2D" id=2] [sub_resource type="CapsuleShape2D" id=2]
@@ -182,9 +182,7 @@ graph_offset = Vector2( -3591.37, -302.6 )
[sub_resource type="AnimationNodeStateMachinePlayback" id=14] [sub_resource type="AnimationNodeStateMachinePlayback" id=14]
[node name="Player" type="KinematicBody2D" groups=[ [node name="Player" type="KinematicBody2D" groups=["player"]]
"player",
]]
collision_layer = 2 collision_layer = 2
script = ExtResource( 1 ) script = ExtResource( 1 )
@@ -200,12 +198,10 @@ visible = false
rotation = 1.5708 rotation = 1.5708
shape = SubResource( 2 ) shape = SubResource( 2 )
[node name="Hitbox" type="Area2D" parent="." groups=[ [node name="Hitbox" type="Area2D" parent="." groups=["player_hitbox"]]
"player_hitbox",
]]
input_pickable = false
collision_layer = 2 collision_layer = 2
collision_mask = 4 collision_mask = 4
input_pickable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
visible = false visible = false
+28
View File
@@ -0,0 +1,28 @@
[gd_resource type="TileSet" load_steps=2 format=2]
[ext_resource path="res://Sprites/Assets/tileSet.png" type="Texture" id=1]
[resource]
0/name = "tileSet.png 0"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 208, 96 )
0/tile_mode = 1
0/autotile/bitmask_mode = 1
0/autotile/bitmask_flags = [ Vector2( 1, 1 ), 432, Vector2( 1, 2 ), 438, Vector2( 1, 3 ), 54, Vector2( 1, 4 ), 48, Vector2( 2, 1 ), 504, Vector2( 2, 2 ), 511, Vector2( 2, 3 ), 63, Vector2( 2, 4 ), 56, Vector2( 3, 1 ), 216, Vector2( 3, 2 ), 219, Vector2( 3, 3 ), 27, Vector2( 3, 4 ), 24, Vector2( 4, 1 ), 144, Vector2( 4, 2 ), 146, Vector2( 4, 3 ), 18, Vector2( 4, 4 ), 16, Vector2( 5, 1 ), 176, Vector2( 5, 2 ), 182, Vector2( 5, 3 ), 434, Vector2( 5, 4 ), 50, Vector2( 5, 5 ), 178, Vector2( 6, 1 ), 248, Vector2( 6, 2 ), 255, Vector2( 6, 3 ), 507, Vector2( 6, 4 ), 59, Vector2( 6, 5 ), 251, Vector2( 7, 1 ), 440, Vector2( 7, 2 ), 447, Vector2( 7, 3 ), 510, Vector2( 7, 4 ), 62, Vector2( 7, 5 ), 446, Vector2( 8, 1 ), 152, Vector2( 8, 2 ), 155, Vector2( 8, 3 ), 218, Vector2( 8, 4 ), 26, Vector2( 8, 5 ), 154, Vector2( 9, 1 ), 184, Vector2( 9, 2 ), 191, Vector2( 9, 3 ), 506, Vector2( 9, 4 ), 58, Vector2( 9, 5 ), 186, Vector2( 10, 1 ), 443, Vector2( 10, 2 ), 254, Vector2( 10, 3 ), 442, Vector2( 10, 4 ), 190, Vector2( 11, 3 ), 250, Vector2( 11, 4 ), 187 ]
0/autotile/icon_coordinate = Vector2( 2, 2 )
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Black_Tile.png-468b234ed74eefbb74c33d4d44fd3553.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/Black_Tile.png"
dest_files=[ "res://.import/Black_Tile.png-468b234ed74eefbb74c33d4d44fd3553.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
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
+1
View File
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true
Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/coin.png-d3ed10af727404355aa36094ddb4dc03.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/coin.png"
dest_files=[ "res://.import/coin.png-d3ed10af727404355aa36094ddb4dc03.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: 475 B

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/forestTreeBig.png-478933d7b93890ab11b47587fa2a74c6.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/forestTreeBig.png"
dest_files=[ "res://.import/forestTreeBig.png-478933d7b93890ab11b47587fa2a74c6.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
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true
+4 -3
View File
@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/resources_basic.png-128bab182945611297ec1bda48bed0c4.stex" path="res://.import/Resources_Basic.png-ace2281282b93b7ae48cda9c52d377ad.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Assets/resources_basic.png" source_file="res://Sprites/Assets/Resources_Basic.png"
dest_files=[ "res://.import/resources_basic.png-128bab182945611297ec1bda48bed0c4.stex" ] dest_files=[ "res://.import/Resources_Basic.png-ace2281282b93b7ae48cda9c52d377ad.stex" ]
[params] [params]
@@ -28,6 +28,7 @@ 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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/tileSet.png-6c03456baa0e3f76257076e875be6f45.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Assets/tileSet.png"
dest_files=[ "res://.import/tileSet.png-6c03456baa0e3f76257076e875be6f45.stex" ]
[params]
compress/mode=3
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
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
+1
View File
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true
Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/blue_snowball.png-c6d5abfbfa9ce938493f1016f2e4589f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Enemies/blue_snowball.png"
dest_files=[ "res://.import/blue_snowball.png-c6d5abfbfa9ce938493f1016f2e4589f.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: 285 B

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/blue_snowman.png-112d9d688c299d472d979f859a987784.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Enemies/blue_snowman.png"
dest_files=[ "res://.import/blue_snowman.png-112d9d688c299d472d979f859a987784.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: 189 B

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/pink_snowball.png-25092ec229f21e93ceffdfbf202a6897.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Enemies/pink_snowball.png"
dest_files=[ "res://.import/pink_snowball.png-25092ec229f21e93ceffdfbf202a6897.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: 303 B

+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/pink_snowman.png-d3376657eb23cfcae58851c482f8d18e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Enemies/pink_snowman.png"
dest_files=[ "res://.import/pink_snowman.png-d3376657eb23cfcae58851c482f8d18e.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
@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/fire_column_medium_10.png-9ae78a0f5ef8531c3b56d09574ecd317.stex" path="res://.import/Fire_Column_Medium_10.png-505d756e8645c45b6fb339fbb6f8add5.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Levels/Environment/fire_column_medium_10.png" source_file="res://Sprites/Levels/Environment/Fire_Column_Medium_10.png"
dest_files=[ "res://.import/fire_column_medium_10.png-9ae78a0f5ef8531c3b56d09574ecd317.stex" ] dest_files=[ "res://.import/Fire_Column_Medium_10.png-505d756e8645c45b6fb339fbb6f8add5.stex" ]
[params] [params]
@@ -28,6 +28,7 @@ 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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false
@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/fire_column_medium_11.png-f6c2ac8f20428aebca0febd0f65a5806.stex" path="res://.import/Fire_Column_Medium_11.png-cb278dde504fd6f8f415eda7091cfa9a.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Levels/Environment/fire_column_medium_11.png" source_file="res://Sprites/Levels/Environment/Fire_Column_Medium_11.png"
dest_files=[ "res://.import/fire_column_medium_11.png-f6c2ac8f20428aebca0febd0f65a5806.stex" ] dest_files=[ "res://.import/Fire_Column_Medium_11.png-cb278dde504fd6f8f415eda7091cfa9a.stex" ]
[params] [params]
@@ -28,6 +28,7 @@ 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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false
@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/fire_column_medium_12.png-25bc0d063fd42a44b6e9e423e3bf2656.stex" path="res://.import/Fire_Column_Medium_12.png-1e7c2da6903b243f73d7ed4b50d90f8a.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Levels/Environment/fire_column_medium_12.png" source_file="res://Sprites/Levels/Environment/Fire_Column_Medium_12.png"
dest_files=[ "res://.import/fire_column_medium_12.png-25bc0d063fd42a44b6e9e423e3bf2656.stex" ] dest_files=[ "res://.import/Fire_Column_Medium_12.png-1e7c2da6903b243f73d7ed4b50d90f8a.stex" ]
[params] [params]
@@ -28,6 +28,7 @@ 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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false
@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/fire_column_medium_13.png-6f8490642f9a7a3884a31ae3975deb08.stex" path="res://.import/Fire_Column_Medium_13.png-a147b7694df1cdf05d373697c6a4ede3.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Levels/Environment/fire_column_medium_13.png" source_file="res://Sprites/Levels/Environment/Fire_Column_Medium_13.png"
dest_files=[ "res://.import/fire_column_medium_13.png-6f8490642f9a7a3884a31ae3975deb08.stex" ] dest_files=[ "res://.import/Fire_Column_Medium_13.png-a147b7694df1cdf05d373697c6a4ede3.stex" ]
[params] [params]
@@ -28,6 +28,7 @@ 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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false
@@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/fire_column_medium_14.png-81452b14764f0dd97e4008c5f9448c38.stex" path="res://.import/Fire_Column_Medium_14.png-205dacf8251c335e3becb65b0df84941.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Sprites/Levels/Environment/fire_column_medium_14.png" source_file="res://Sprites/Levels/Environment/Fire_Column_Medium_14.png"
dest_files=[ "res://.import/fire_column_medium_14.png-81452b14764f0dd97e4008c5f9448c38.stex" ] dest_files=[ "res://.import/Fire_Column_Medium_14.png-205dacf8251c335e3becb65b0df84941.stex" ]
[params] [params]
@@ -28,6 +28,7 @@ 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
process/normal_map_invert_y=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false
Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Level_Portal.png-032cf024355e4d24a270165e6487b474.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Levels/Interactables/Level_Portal.png"
dest_files=[ "res://.import/Level_Portal.png-032cf024355e4d24a270165e6487b474.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
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: 285 B

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icekey.png-df1cf56280665fb9b333567113ef5539.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Levels/Interactables/icekey.png"
dest_files=[ "res://.import/icekey.png-df1cf56280665fb9b333567113ef5539.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: 1.4 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Hub_World_Grass_Atlas.png-35f62295b86dd25eba082844cf2760f1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Levels/Tilesets/Hub_World_Grass_Atlas.png"
dest_files=[ "res://.import/Hub_World_Grass_Atlas.png-35f62295b86dd25eba082844cf2760f1.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
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: 227 B

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Back_To_Hub_Button_Hover.png-7168f4a8f8f34c936a30024ee0a830de.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Menus/Menu Buttons/Back_To_Hub_Button_Hover.png"
dest_files=[ "res://.import/Back_To_Hub_Button_Hover.png-7168f4a8f8f34c936a30024ee0a830de.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
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: 227 B

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Back_To_Hub_Button_Normal.png-f0f1f9eb9ea13789e27688857590fc22.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Menus/Menu Buttons/Back_To_Hub_Button_Normal.png"
dest_files=[ "res://.import/Back_To_Hub_Button_Normal.png-f0f1f9eb9ea13789e27688857590fc22.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
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
+7 -7
View File
@@ -12,11 +12,11 @@ config_version=4
config/name="Embodiment" config/name="Embodiment"
run/main_scene="res://Main.tscn" run/main_scene="res://Main.tscn"
run/delta_sync_after_draw=true
boot_splash/image="res://Sprites/Assets/Black_Background.png" boot_splash/image="res://Sprites/Assets/Black_Background.png"
boot_splash/use_filter=false boot_splash/use_filter=false
boot_splash/bg_color=Color( 0, 0, 0, 1 ) boot_splash/bg_color=Color( 0, 0, 0, 1 )
config/icon="res://Sprites/Assets/icon.png" config/icon="res://Sprites/Assets/icon.png"
run/delta_sync_after_draw=true
[display] [display]
@@ -31,33 +31,33 @@ window/stretch/aspect="keep"
player_right={ player_right={
"deadzone": 0.5, "deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
] ]
} }
player_left={ player_left={
"deadzone": 0.5, "deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
] ]
} }
player_up={ player_up={
"deadzone": 0.5, "deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null) "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
] ]
} }
player_down={ player_down={
"deadzone": 0.5, "deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null) "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
] ]
} }
player_attack={ player_attack={
"deadzone": 0.5, "deadzone": 0.5,
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) "events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
] ]
} }
screenshot={ screenshot={
"deadzone": 0.5, "deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"unicode":0,"echo":false,"script":null) "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
] ]
} }