Merged with main

This commit is contained in:
VoidTwo committed 2021-12-09 23:13:44 -06:00
commit 111aa4d8ae
136 files changed
+4395 -156

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
extends Area2D
onready var portal = get_node("../PortalDarkForest")
onready var shape = portal.get_child(0)
# 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:
shape.set_deferred("disabled",true)
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass
func _on_ChestDetection_body_entered(body: Node) -> void:
shape.set_deferred("disabled",false)
+25
View File
@@ -0,0 +1,25 @@
extends Camera2D
# 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_PortalDarkForest_body_entered(body: Node) -> void:
self.limit_bottom = -224
self.limit_top = -736
self.limit_left = -32
self.limit_right = 448
var player = get_parent()
player.position = Vector2(256,-232)
+7
View File
@@ -0,0 +1,7 @@
extends Node2D
func _ready() -> void:
#$YSort/Player.position = get_viewport_rect().size / 2
$YSort/Player.position = Vector2(0,0)
$YSort/Player.load_hud($HUD)
return
+926
View File
@@ -0,0 +1,926 @@
[gd_scene load_steps=85 format=2]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Levels/Level 2.gd" type="Script" id=2]
[ext_resource path="res://Sprites/Assets/Grass.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Assets/Plants and Trees.png" type="Texture" id=4]
[ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=5]
[ext_resource path="res://Levels/Objects/Chest.tscn" type="PackedScene" id=6]
[ext_resource path="res://Sprites/Assets/cliffTileset.png" type="Texture" id=7]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=8]
[ext_resource path="res://Enemies/Ghost_Enemy.tscn" type="PackedScene" id=9]
[ext_resource path="res://Sprites/Assets/DeadTree.png" type="Texture" id=10]
[ext_resource path="res://Sprites/Assets/darkForestTileset.png" type="Texture" id=11]
[ext_resource path="res://Levels/Area2D.gd" type="Script" id=12]
[ext_resource path="res://Levels/Camera2D.gd" type="Script" id=13]
[ext_resource path="res://Sprites/Assets/Shadow.png" type="Texture" id=14]
[ext_resource path="res://Levels/Traps/Spawn Trap.tscn" type="PackedScene" id=15]
[ext_resource path="res://Sprites/Assets/Skull.png" type="Texture" id=16]
[ext_resource path="res://Sprites/Assets/grassPatch.png" type="Texture" id=17]
[sub_resource type="TileSet" id=1]
0/name = "darkForestTileset.png 0"
0/texture = ExtResource( 11 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 352, 608 )
0/tile_mode = 1
0/autotile/bitmask_mode = 0
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 256, Vector2( 0, 2 ), 260, Vector2( 0, 4 ), 4, Vector2( 0, 6 ), 69, Vector2( 0, 8 ), 321, Vector2( 2, 0 ), 320, Vector2( 2, 2 ), 325, Vector2( 2, 4 ), 5, Vector2( 2, 6 ), 261, Vector2( 2, 8 ), 324, Vector2( 4, 0 ), 64, Vector2( 4, 2 ), 65, Vector2( 4, 4 ), 1, Vector2( 4, 6 ), 256, Vector2( 4, 8 ), 4, Vector2( 6, 0 ), 257, Vector2( 6, 2 ), 69, Vector2( 6, 4 ), 321, Vector2( 6, 6 ), 64, Vector2( 6, 8 ), 1, Vector2( 8, 0 ), 68, Vector2( 8, 2 ), 261, Vector2( 8, 4 ), 324, Vector2( 10, 2 ), 325, Vector2( 10, 4 ), 325 ]
0/autotile/icon_coordinate = Vector2( 0, 0 )
0/autotile/tile_size = Vector2( 32, 32 )
0/autotile/spacing = 0
0/autotile/occluder_map = [ ]
0/autotile/navpoly_map = [ ]
0/autotile/priority_map = [ ]
0/autotile/z_index_map = [ ]
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape_one_way = false
0/shape_one_way_margin = 0.0
0/shapes = [ ]
0/z_index = 0
1/name = "darkForestTileset.png 1"
1/texture = ExtResource( 11 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 320, 0, 32, 32 )
1/tile_mode = 0
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shape_offset = Vector2( 0, 0 )
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
1/shape_one_way = false
1/shape_one_way_margin = 0.0
1/shapes = [ ]
1/z_index = 0
[sub_resource type="ConvexPolygonShape2D" id=2]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=3]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=4]
points = PoolVector2Array( 16, 0, 16, 0, 16, 16, 16, 16 )
[sub_resource type="ConvexPolygonShape2D" id=5]
points = PoolVector2Array( 16, 0, 16, 0, 16, 16, 16, 16 )
[sub_resource type="ConvexPolygonShape2D" id=6]
points = PoolVector2Array( 16, 0, 16, 0, 16, 16, 16, 16 )
[sub_resource type="ConvexPolygonShape2D" id=7]
points = PoolVector2Array( 16, 0, 16, 0, 16, 16, 16, 16 )
[sub_resource type="ConvexPolygonShape2D" id=8]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=9]
points = PoolVector2Array( 16, 0, 16, 0, 16, 16, 16, 16 )
[sub_resource type="ConvexPolygonShape2D" id=10]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="TileSet" id=11]
0/name = "Grass.png 0"
0/texture = ExtResource( 3 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 80, 48 )
0/tile_mode = 1
0/autotile/bitmask_mode = 0
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 197, Vector2( 0, 1 ), 219, Vector2( 0, 2 ), 507, Vector2( 1, 0 ), 5, Vector2( 1, 2 ), 472, Vector2( 2, 0 ), 261, Vector2( 2, 1 ), 260, Vector2( 2, 2 ), 324, Vector2( 3, 0 ), 256, Vector2( 3, 1 ), 4, Vector2( 4, 0 ), 64, Vector2( 4, 1 ), 1, Vector2( 4, 2 ), 325 ]
0/autotile/icon_coordinate = Vector2( 0, 0 )
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 = SubResource( 2 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 0, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 2 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 3 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 4 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 5 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 6 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 10 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
[sub_resource type="ConvexPolygonShape2D" id=12]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=13]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=14]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=15]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=16]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=17]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=18]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=19]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=20]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=21]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=22]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=23]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=24]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=25]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=26]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=27]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=28]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=29]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=30]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=31]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=32]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=33]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=34]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=35]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=36]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=37]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=38]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=39]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=40]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=41]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=42]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=43]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=44]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=45]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=46]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=47]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=48]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=49]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=50]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=51]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=52]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=53]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=54]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=55]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=56]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=57]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="ConvexPolygonShape2D" id=58]
points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
[sub_resource type="TileSet" id=59]
0/name = "cliffTileset.png 0"
0/texture = ExtResource( 7 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 352, 160 )
0/tile_mode = 1
0/autotile/bitmask_mode = 1
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 443, Vector2( 9, 1 ), 254, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ]
0/autotile/icon_coordinate = Vector2( 1, 2 )
0/autotile/tile_size = Vector2( 32, 32 )
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 = SubResource( 12 )
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( 12 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 13 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 14 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 15 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 16 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 17 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 18 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 19 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 20 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 21 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 22 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 23 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 24 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 25 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 26 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 27 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 28 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 29 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 30 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 31 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 32 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 33 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 34 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 35 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 36 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 37 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 38 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 39 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 40 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 41 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 42 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 43 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 44 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 45 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 46 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 47 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 48 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 49 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 50 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 51 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 52 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 53 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 54 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 55 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 56 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 10, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 57 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 10, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 58 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
[sub_resource type="TileSet" id=60]
0/name = "Grass.png 0"
0/texture = ExtResource( 3 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 80, 48 )
0/tile_mode = 1
0/autotile/bitmask_mode = 0
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 197, Vector2( 0, 1 ), 219, Vector2( 0, 2 ), 507, Vector2( 1, 0 ), 5, Vector2( 1, 2 ), 472, Vector2( 2, 0 ), 261, Vector2( 2, 1 ), 260, Vector2( 2, 2 ), 324, Vector2( 3, 0 ), 256, Vector2( 3, 1 ), 4, Vector2( 4, 0 ), 64, Vector2( 4, 1 ), 1, Vector2( 4, 2 ), 325 ]
0/autotile/icon_coordinate = Vector2( 0, 0 )
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
[sub_resource type="ConvexPolygonShape2D" id=61]
points = PoolVector2Array( 33.0868, 45.5302, 15.4222, 45.5302, 15.4222, 39.0812, 33.0868, 39.0812 )
[sub_resource type="StreamTexture" id=62]
[sub_resource type="ConvexPolygonShape2D" id=63]
points = PoolVector2Array( 34.2487, 55.6436, 7.92332, 55.4821, 14.222, 39.5738, 27.7885, 39.7353 )
[sub_resource type="TileSet" id=64]
1/name = "Plants and Trees.png 1"
1/texture = ExtResource( 4 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 0, 0, 48, 48 )
1/tile_mode = 0
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shape_offset = Vector2( 0, 0 )
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
1/shape = SubResource( 61 )
1/shape_one_way = false
1/shape_one_way_margin = 1.0
1/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 61 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
1/z_index = 4
3/name = "Plants and Trees.png 3"
3/texture = ExtResource( 4 )
3/tex_offset = Vector2( 0, 0 )
3/modulate = Color( 1, 1, 1, 1 )
3/region = Rect2( 0, 48, 48, 48 )
3/tile_mode = 2
3/autotile/icon_coordinate = Vector2( 0, 0 )
3/autotile/tile_size = Vector2( 16, 16 )
3/autotile/spacing = 0
3/autotile/occluder_map = [ ]
3/autotile/navpoly_map = [ ]
3/autotile/priority_map = [ ]
3/autotile/z_index_map = [ ]
3/occluder_offset = Vector2( 0, 0 )
3/navigation_offset = Vector2( 0, 0 )
3/shape_offset = Vector2( 0, 0 )
3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
3/shape_one_way = false
3/shape_one_way_margin = 0.0
3/shapes = [ ]
3/z_index = 1
4/name = "TX Props.png 4"
4/texture = SubResource( 62 )
4/tex_offset = Vector2( 0, 0 )
4/modulate = Color( 1, 1, 1, 1 )
4/region = Rect2( 96, 16, 32, 48 )
4/tile_mode = 0
4/occluder_offset = Vector2( 0, 0 )
4/navigation_offset = Vector2( 0, 0 )
4/shape_offset = Vector2( 0, 0 )
4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
4/shape_one_way = false
4/shape_one_way_margin = 0.0
4/shapes = [ ]
4/z_index = 0
5/name = "TX Props.png 5"
5/texture = SubResource( 62 )
5/tex_offset = Vector2( 0, 0 )
5/modulate = Color( 1, 1, 1, 1 )
5/region = Rect2( 16, 96, 64, 64 )
5/tile_mode = 0
5/occluder_offset = Vector2( 0, 0 )
5/navigation_offset = Vector2( 0, 0 )
5/shape_offset = Vector2( 0, 0 )
5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
5/shape_one_way = false
5/shape_one_way_margin = 0.0
5/shapes = [ ]
5/z_index = 0
6/name = "DeadTree.png 6"
6/texture = ExtResource( 10 )
6/tex_offset = Vector2( 0, 0 )
6/modulate = Color( 1, 1, 1, 1 )
6/region = Rect2( 94, 89, 39, 66 )
6/tile_mode = 0
6/occluder_offset = Vector2( 0, 0 )
6/navigation_offset = Vector2( 0, 0 )
6/shape_offset = Vector2( 0, 0 )
6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
6/shape = SubResource( 63 )
6/shape_one_way = false
6/shape_one_way_margin = 1.0
6/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 63 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
6/z_index = 4
7/name = "Shadow.png 7"
7/texture = ExtResource( 14 )
7/tex_offset = Vector2( 0, 0 )
7/modulate = Color( 1, 1, 1, 1 )
7/region = Rect2( 97, 126, 39, 17 )
7/tile_mode = 0
7/occluder_offset = Vector2( 0, 0 )
7/navigation_offset = Vector2( 0, 0 )
7/shape_offset = Vector2( 0, 0 )
7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
7/shape_one_way = false
7/shape_one_way_margin = 0.0
7/shapes = [ ]
7/z_index = 0
8/name = "Skull.png 8"
8/texture = ExtResource( 16 )
8/tex_offset = Vector2( 0, 0 )
8/modulate = Color( 1, 1, 1, 1 )
8/region = Rect2( 32, 102, 45, 38 )
8/tile_mode = 0
8/occluder_offset = Vector2( 0, 0 )
8/navigation_offset = Vector2( 0, 0 )
8/shape_offset = Vector2( 0, 0 )
8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
8/shape_one_way = false
8/shape_one_way_margin = 0.0
8/shapes = [ ]
8/z_index = 0
[sub_resource type="RectangleShape2D" id=65]
[sub_resource type="CapsuleShape2D" id=66]
radius = 22.8792
[sub_resource type="TileSet" id=67]
0/name = "Skull.png 0"
0/texture = ExtResource( 16 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 31, 102, 45, 37 )
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_one_way = false
0/shape_one_way_margin = 0.0
0/shapes = [ ]
0/z_index = 0
[node name="World" type="Node2D"]
script = ExtResource( 2 )
[node name="YSort" type="YSort" parent="."]
[node name="Player" parent="YSort" instance=ExtResource( 1 )]
z_index = 2
[node name="Camera2D" type="Camera2D" parent="YSort/Player"]
current = true
limit_left = -28
limit_top = -197
limit_right = 383
limit_bottom = 223
script = ExtResource( 13 )
[node name="Enemies" type="YSort" parent="YSort"]
[node name="GhostEnemy 1" parent="YSort/Enemies" instance=ExtResource( 9 )]
position = Vector2( 189.592, -356.862 )
[node name="GhostEnemy 2" parent="YSort/Enemies" instance=ExtResource( 9 )]
position = Vector2( 388.163, -543.427 )
[node name="GhostEnemy 3" parent="YSort/Enemies" instance=ExtResource( 9 )]
position = Vector2( 92.9872, -556.232 )
[node name="DarkForestGrass" type="TileMap" parent="."]
tile_set = SubResource( 1 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
format = 1
tile_data = PoolIntArray( -3145733, 0, 393220, -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, 393222, -3080197, 0, 131072, -3080196, 0, 131082, -3080195, 0, 262154, -3080194, 0, 131074, -3080193, 0, 262154, -3145728, 0, 262154, -3145727, 0, 131082, -3145726, 0, 262154, -3145725, 0, 131074, -3145724, 0, 262154, -3145723, 0, 131082, -3145722, 0, 131074, -3145721, 0, 131082, -3145720, 0, 131082, -3145719, 0, 262154, -3145718, 0, 131074, -3145717, 0, 262154, -3145716, 0, 131082, -3145715, 0, 131082, -3145714, 0, 131074, -3145713, 0, 131074, -3145712, 0, 262154, -3145711, 0, 131082, -3145710, 0, 262154, -3145709, 0, 262154, -3145708, 0, 131074, -3145707, 0, 131082, -3145706, 0, 262154, -3145705, 0, 131082, -3145704, 0, 131082, -3145703, 0, 131074, -3145702, 0, 262154, -3145701, 0, 262154, -3145700, 0, 262154, -3145699, 0, 131076, -3014661, 0, 131072, -3014660, 0, 262154, -3014659, 0, 262154, -3014658, 0, 262154, -3014657, 0, 131074, -3080192, 0, 262154, -3080191, 0, 131074, -3080190, 0, 131074, -3080189, 0, 131082, -3080188, 0, 131074, -3080187, 0, 262154, -3080186, 0, 262154, -3080185, 0, 131074, -3080184, 0, 131074, -3080183, 0, 131082, -3080182, 0, 262154, -3080181, 0, 131074, -3080180, 0, 262154, -3080179, 0, 131074, -3080178, 0, 262154, -3080177, 0, 131082, -3080176, 0, 131082, -3080175, 0, 131082, -3080174, 0, 262154, -3080173, 0, 131082, -3080172, 0, 131082, -3080171, 0, 262154, -3080170, 0, 131082, -3080169, 0, 262154, -3080168, 0, 131074, -3080167, 0, 262154, -3080166, 0, 131082, -3080165, 0, 131074, -3080164, 0, 262154, -3080163, 0, 131076, -2949125, 0, 131072, -2949124, 0, 131074, -2949123, 0, 131082, -2949122, 0, 131074, -2949121, 0, 131082, -3014656, 0, 131074, -3014655, 0, 131074, -3014654, 0, 131082, -3014653, 0, 262154, -3014652, 0, 131074, -3014651, 0, 131082, -3014650, 0, 262154, -3014649, 0, 131074, -3014648, 0, 131074, -3014647, 0, 262154, -3014646, 0, 131082, -3014645, 0, 131074, -3014644, 0, 131074, -3014643, 0, 131074, -3014642, 0, 131074, -3014641, 0, 262154, -3014640, 0, 131082, -3014639, 0, 131082, -3014638, 0, 131082, -3014637, 0, 131074, -3014636, 0, 131074, -3014635, 0, 262154, -3014634, 0, 131074, -3014633, 0, 131082, -3014632, 0, 131074, -3014631, 0, 131074, -3014630, 0, 131082, -3014629, 0, 262154, -3014628, 0, 131082, -3014627, 0, 131076, -2883589, 0, 131072, -2883588, 0, 131074, -2883587, 0, 131074, -2883586, 0, 131082, -2883585, 0, 131074, -2949120, 0, 131074, -2949119, 0, 131074, -2949118, 0, 131074, -2949117, 0, 131074, -2949116, 0, 262154, -2949115, 0, 262154, -2949114, 0, 262154, -2949113, 0, 262154, -2949112, 0, 131082, -2949111, 0, 262154, -2949110, 0, 262154, -2949109, 0, 262154, -2949108, 0, 262154, -2949107, 0, 262154, -2949106, 0, 262154, -2949105, 0, 262154, -2949104, 0, 131082, -2949103, 0, 131082, -2949102, 0, 131082, -2949101, 0, 262154, -2949100, 0, 131074, -2949099, 0, 262154, -2949098, 0, 131074, -2949097, 0, 262154, -2949096, 0, 262154, -2949095, 0, 131074, -2949094, 0, 131074, -2949093, 0, 262154, -2949092, 0, 131074, -2949091, 0, 131076, -2818053, 0, 131072, -2818052, 0, 131074, -2818051, 0, 131074, -2818050, 0, 262154, -2818049, 0, 131082, -2883584, 0, 131082, -2883583, 0, 262154, -2883582, 0, 262154, -2883581, 0, 131074, -2883580, 0, 131082, -2883579, 0, 131074, -2883578, 0, 131082, -2883577, 0, 131082, -2883576, 0, 262154, -2883575, 0, 262154, -2883574, 0, 131082, -2883573, 0, 262154, -2883572, 0, 131082, -2883571, 0, 131082, -2883570, 0, 131074, -2883569, 0, 262154, -2883568, 0, 262154, -2883567, 0, 131082, -2883566, 0, 131082, -2883565, 0, 131082, -2883564, 0, 131082, -2883563, 0, 262154, -2883562, 0, 262154, -2883561, 0, 131074, -2883560, 0, 131082, -2883559, 0, 131082, -2883558, 0, 131082, -2883557, 0, 131082, -2883556, 0, 131074, -2883555, 0, 131076, -2752517, 0, 131072, -2752516, 0, 262154, -2752515, 0, 131082, -2752514, 0, 131074, -2752513, 0, 131082, -2818048, 0, 131074, -2818047, 0, 262154, -2818046, 0, 262154, -2818045, 0, 131074, -2818044, 0, 131074, -2818043, 0, 262154, -2818042, 0, 262154, -2818041, 0, 131074, -2818040, 0, 131074, -2818039, 0, 131074, -2818038, 0, 131074, -2818037, 0, 131074, -2818036, 0, 262154, -2818035, 0, 262154, -2818034, 0, 131082, -2818033, 0, 131074, -2818032, 0, 262154, -2818031, 0, 262154, -2818030, 0, 262154, -2818029, 0, 262154, -2818028, 0, 131074, -2818027, 0, 262154, -2818026, 0, 131082, -2818025, 0, 131074, -2818024, 0, 131082, -2818023, 0, 131074, -2818022, 0, 131074, -2818021, 0, 131082, -2818020, 0, 262154, -2818019, 0, 1Line truncated
[node name="LightForestGrass" type="TileMap" parent="."]
position = Vector2( 1, 0 )
tile_set = SubResource( 11 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
cell_tile_origin = 1
cell_y_sort = true
format = 1
tile_data = PoolIntArray( -851970, 0, 3, -851969, 0, 131073, -917504, 0, 131073, -917503, 0, 131073, -917502, 0, 131073, -917501, 0, 131073, -917500, 0, 131073, -917499, 0, 131073, -917498, 0, 131073, -917497, 0, 131073, -917496, 0, 131073, -917495, 0, 131073, -917494, 0, 131073, -917493, 0, 131073, -917492, 0, 131073, -917491, 0, 4, -786434, 0, 65538, -786433, 0, 131076, -851968, 0, 131076, -851967, 0, 131076, -851966, 0, 131076, -851965, 0, 131076, -851964, 0, 131076, -851963, 0, 131076, -851962, 0, 131076, -851961, 0, 131076, -851960, 0, 131076, -851959, 0, 131076, -851958, 0, 131076, -851957, 0, 131076, -851956, 0, 131076, -851955, 0, 131072, -851954, 0, 131073, -851953, 0, 131073, -851952, 0, 131073, -851951, 0, 131073, -851950, 0, 131073, -851949, 0, 131073, -851948, 0, 131073, -851947, 0, 131073, -851946, 0, 131073, -851945, 0, 131073, -851944, 0, 131073, -851943, 0, 4, -720898, 0, 65538, -720897, 0, 131076, -786432, 0, 131076, -786431, 0, 131076, -786430, 0, 131076, -786429, 0, 131076, -786428, 0, 131076, -786427, 0, 131076, -786426, 0, 131076, -786425, 0, 131076, -786424, 0, 131076, -786423, 0, 131076, -786422, 0, 131076, -786421, 0, 131076, -786420, 0, 131076, -786419, 0, 131076, -786418, 0, 131076, -786417, 0, 131076, -786416, 0, 131076, -786415, 0, 131076, -786414, 0, 131076, -786413, 0, 131076, -786412, 0, 131076, -786411, 0, 131076, -786410, 0, 131076, -786409, 0, 131076, -786408, 0, 131076, -786407, 0, 65536, -655362, 0, 65538, -655361, 0, 131076, -720896, 0, 131076, -720895, 0, 131076, -720894, 0, 131076, -720893, 0, 131076, -720892, 0, 131076, -720891, 0, 131076, -720890, 0, 131076, -720889, 0, 131076, -720888, 0, 131076, -720887, 0, 131076, -720886, 0, 131076, -720885, 0, 131076, -720884, 0, 131076, -720883, 0, 131076, -720882, 0, 131076, -720881, 0, 131076, -720880, 0, 131076, -720879, 0, 131076, -720878, 0, 131076, -720877, 0, 131076, -720876, 0, 131076, -720875, 0, 131076, -720874, 0, 131076, -720873, 0, 131076, -720872, 0, 0, -720871, 0, 65540, -589828, 0, 3, -589827, 0, 131073, -589826, 0, 131074, -589825, 0, 131076, -655360, 0, 131076, -655359, 0, 131076, -655358, 0, 131076, -655357, 0, 131076, -655356, 0, 131076, -655355, 0, 131076, -655354, 0, 131076, -655353, 0, 131076, -655352, 0, 131076, -655351, 0, 131076, -655350, 0, 131076, -655349, 0, 131076, -655348, 0, 131076, -655347, 0, 131076, -655346, 0, 131076, -655345, 0, 131076, -655344, 0, 131076, -655343, 0, 131076, -655342, 0, 131076, -655341, 0, 131076, -655340, 0, 131076, -655339, 0, 131076, -655338, 0, 131076, -655337, 0, 131076, -655336, 0, 65536, -524292, 0, 65538, -524291, 0, 131076, -524290, 0, 131076, -524289, 0, 131076, -589824, 0, 131076, -589823, 0, 131076, -589822, 0, 131076, -589821, 0, 131076, -589820, 0, 131076, -589819, 0, 131076, -589818, 0, 131076, -589817, 0, 131076, -589816, 0, 131076, -589815, 0, 131076, -589814, 0, 131076, -589813, 0, 131076, -589812, 0, 131076, -589811, 0, 131076, -589810, 0, 131076, -589809, 0, 131076, -589808, 0, 131076, -589807, 0, 131076, -589806, 0, 131076, -589805, 0, 131076, -589804, 0, 131076, -589803, 0, 131076, -589802, 0, 131076, -589801, 0, 131076, -589800, 0, 65536, -458756, 0, 65538, -458755, 0, 131076, -458754, 0, 131076, -458753, 0, 131076, -524288, 0, 131076, -524287, 0, 131076, -524286, 0, 131076, -524285, 0, 131076, -524284, 0, 131076, -524283, 0, 131076, -524282, 0, 131076, -524281, 0, 131076, -524280, 0, 131076, -524279, 0, 131076, -524278, 0, 131076, -524277, 0, 131076, -524276, 0, 131076, -524275, 0, 131076, -524274, 0, 131076, -524273, 0, 131076, -524272, 0, 131076, -524271, 0, 131076, -524270, 0, 131076, -524269, 0, 131076, -524268, 0, 131076, -524267, 0, 131076, -524266, 0, 131076, -524265, 0, 0, -524264, 0, 65540, -393220, 0, 65538, -393219, 0, 131076, -393218, 0, 131076, -393217, 0, 131076, -458752, 0, 131076, -458751, 0, 131076, -458750, 0, 131076, -458749, 0, 131076, -458748, 0, 131076, -458747, 0, 131076, -458746, 0, 131076, -458745, 0, 131076, -458744, 0, 131076, -458743, 0, 131076, -458742, 0, 131076, -458741, 0, 131076, -458740, 0, 131076, -458739, 0, 131076, -458738, 0, 131076, -458737, 0, 131076, -458736, 0, 131076, -458735, 0, 131076, -458734, 0, 131076, -458733, 0, 131076, -458732, 0, 131076, -458731, 0, 131076, -458730, 0, 131076, -458729, 0, 65536, -327684, 0, 65538, -327683, 0, 131076, -327682, 0, 131076, -327681, 0, 131076, -393216, 0, 131076, -393215, 0, 131076, -393214, 0, 131076, -393213, 0, 131076, -393212, 0, 131076, -393211, 0, 131076, -393210, 0, 131076, -393209, 0, 131076, -393208, 0, 131076, -393207, 0, 131076, -393206, 0, 131076, -393205, 0, 131076, -393204, 0, 131076, -393203, 0, 131076, -393202, 0, 131076, -393201, 0, 131076, -393200, 0, 131076, -393199, 0, 131076, -393198, 0, 131076, -393197, 0, 131076, -393196, 0, 131076, -393195, 0, 131076, -393194, 0, 131076, -393193, 0, 65536, -262148, 0, 65538, -262147, 0, 131076, -262146, 0, 131076, -262145, 0, 131076, -327680, 0, 131076, -327679, 0, 131076, -327678, 0, 131076, -327677, 0, 131076Line truncated
[node name="Cliff" type="TileMap" parent="."]
tile_set = SubResource( 59 )
cell_size = Vector2( 32, 32 )
format = 1
tile_data = PoolIntArray( -1507330, 0, 4, -1507329, 0, 196609, -1572864, 0, 196609, -1572863, 0, 196609, -1572862, 0, 196609, -1572861, 0, 196609, -1572860, 0, 196609, -1572859, 0, 196609, -1572858, 0, 196609, -1572857, 0, 196609, -1572856, 0, 196609, -1572855, 0, 196609, -1572854, 0, 196609, -1572853, 0, 196609, -1572852, 0, 196609, -1572851, 0, 196609, -1572850, 0, 7, -1441794, 0, 65539, -1507314, 0, 65539, -1376258, 0, 65539, -1441778, 0, 65539, -1310722, 0, 65539, -1376242, 0, 65539, -1245186, 0, 65539, -1310706, 0, 65539, -1179650, 0, 65539, -1245170, 0, 65539, -1114114, 0, 65539, -1179634, 0, 65539, -1048578, 0, 65539, -1114098, 0, 65539, -983042, 0, 65539, -1048562, 0, 65539, -917506, 0, 65539, -983026, 0, 65539, -851970, 0, 65539, -917490, 0, 65539, -786434, 0, 65539, -851954, 0, 65539, -720898, 0, 65539, -786418, 0, 65539, -655362, 0, 65539, -720882, 0, 65539, -589826, 0, 65539, -655346, 0, 65539, -524290, 0, 65539, -589810, 0, 65539, -458754, 0, 131075, -524274, 0, 65539, -393217, 0, 0, -458752, 0, 1, -458751, 0, 1, -458750, 0, 1, -458749, 0, 1, -458748, 0, 1, -458747, 0, 1, -458746, 0, 2, -458740, 0, 4, -458739, 0, 196609, -458738, 0, 196615, -327681, 0, 65536, -393216, 0, 65541, -393215, 0, 131073, -393214, 0, 131073, -393213, 0, 131073, -393212, 0, 131073, -393211, 0, 131073, -393210, 0, 131074, -393204, 0, 131075, -262146, 0, 4, -262145, 0, 196614, -327680, 0, 131074, -327669, 0, 3, -196610, 0, 65539, -262134, 0, 0, -262133, 0, 131079, -131074, 0, 131076, -131073, 0, 2, -196598, 0, 131072, -196597, 0, 131074, -65538, 0, 65540, -65537, 0, 131074, -131060, 0, 3, -2, 0, 65539, -65524, 0, 65539, 65534, 0, 65539, 12, 0, 65539, 131070, 0, 65539, 65548, 0, 131075, 196606, 0, 196612, 196607, 0, 7, 131082, 0, 0, 131083, 0, 2, 262143, 0, 65539, 196618, 0, 65536, 196619, 0, 65538, 327679, 0, 65539, 262154, 0, 65536, 262155, 0, 65538, 393215, 0, 65539, 327689, 0, 196608, 327690, 0, 262150, 327691, 0, 65538, 458751, 0, 65539, 393217, 0, 4, 393218, 0, 196609, 393219, 0, 196609, 393220, 0, 196609, 393221, 0, 7, 393226, 0, 65536, 393227, 0, 65538, 524287, 0, 196612, 458752, 0, 196609, 458753, 0, 196615, 458757, 0, 196612, 458758, 0, 196609, 458759, 0, 196609, 458760, 0, 196609, 458761, 0, 196609, 458762, 0, 196614, 458763, 0, 131074 )
[node name="grassPatch" type="Sprite" parent="."]
position = Vector2( 143.159, -456.563 )
scale = Vector2( 1.26043, 1 )
z_index = 1
texture = ExtResource( 17 )
[node name="grassPatch2" type="Sprite" parent="."]
position = Vector2( 279.391, -594.211 )
scale = Vector2( 1.28993, 1.14748 )
z_index = 1
texture = ExtResource( 17 )
[node name="grassPatch3" type="Sprite" parent="."]
position = Vector2( 278.601, -410.576 )
scale = Vector2( 1.89039, 1 )
z_index = 1
texture = ExtResource( 17 )
[node name="DarkForestPath" type="TileMap" parent="."]
modulate = Color( 0.290196, 0.258824, 0.431373, 1 )
tile_set = SubResource( 60 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
format = 1
tile_data = PoolIntArray( -3145727, 0, 3, -3145726, 0, 131073, -3145725, 0, 4, -3080191, 0, 65538, -3080190, 0, 131076, -3080189, 0, 65536, -3014655, 0, 65538, -3014654, 0, 131076, -3014653, 0, 65536, -2949119, 0, 65539, -2949118, 0, 2, -2949117, 0, 131072, -2949116, 0, 4, -2883582, 0, 65539, -2883581, 0, 2, -2883580, 0, 131072, -2883579, 0, 4, -2818045, 0, 65538, -2818044, 0, 131076, -2818043, 0, 131072, -2818042, 0, 131073, -2818041, 0, 131073, -2818040, 0, 4, -2752509, 0, 65539, -2752508, 0, 1, -2752507, 0, 1, -2752506, 0, 1, -2752505, 0, 2, -2752504, 0, 131072, -2752503, 0, 131073, -2752502, 0, 131073, -2752501, 0, 131073, -2752500, 0, 131073, -2752499, 0, 4, -2686969, 0, 65539, -2686968, 0, 1, -2686967, 0, 1, -2686966, 0, 1, -2686965, 0, 1, -2686964, 0, 2, -2686963, 0, 131072, -2686962, 0, 4, -2621428, 0, 65539, -2621427, 0, 2, -2621426, 0, 65536, -2555891, 0, 65538, -2555890, 0, 65536, -2490365, 0, 3, -2490364, 0, 131073, -2490363, 0, 131073, -2490362, 0, 131073, -2490361, 0, 131073, -2490360, 0, 131073, -2490359, 0, 131073, -2490358, 0, 131073, -2490357, 0, 131073, -2490356, 0, 131073, -2490355, 0, 131074, -2490354, 0, 65536, -2424830, 0, 3, -2424829, 0, 131074, -2424828, 0, 0, -2424827, 0, 1, -2424826, 0, 1, -2424825, 0, 1, -2424824, 0, 1, -2424823, 0, 1, -2424822, 0, 1, -2424821, 0, 1, -2424820, 0, 1, -2424819, 0, 1, -2424818, 0, 65540, -2359294, 0, 65538, -2359293, 0, 0, -2359292, 0, 65540, -2293758, 0, 65538, -2293757, 0, 65536, -2228222, 0, 65538, -2228221, 0, 65536, -2097156, 0, 3, -2097155, 0, 131073, -2097154, 0, 131073, -2097153, 0, 131073, -2162688, 0, 131073, -2162687, 0, 131073, -2162686, 0, 131074, -2162685, 0, 131072, -2162684, 0, 131073, -2162683, 0, 131073, -2162682, 0, 131073, -2162681, 0, 131073, -2162680, 0, 131073, -2162679, 0, 131073, -2162678, 0, 4, -2031620, 0, 65539, -2031619, 0, 1, -2031618, 0, 1, -2031617, 0, 1, -2097152, 0, 1, -2097151, 0, 1, -2097150, 0, 1, -2097149, 0, 1, -2097148, 0, 1, -2097147, 0, 1, -2097146, 0, 1, -2097145, 0, 1, -2097144, 0, 1, -2097143, 0, 2, -2097142, 0, 131072, -2097141, 0, 131073, -2097140, 0, 131073, -2097139, 0, 131073, -2097138, 0, 131073, -2097137, 0, 131073, -2097136, 0, 131073, -2097135, 0, 131073, -2097134, 0, 131073, -2097133, 0, 131073, -2097132, 0, 131073, -2097131, 0, 131073, -2097130, 0, 131073, -2097129, 0, 131073, -2097128, 0, 131073, -2097127, 0, 131073, -2097126, 0, 131073, -2097125, 0, 131073, -2097124, 0, 131073, -2097123, 0, 4, -2031607, 0, 65539, -2031606, 0, 1, -2031605, 0, 1, -2031604, 0, 1, -2031603, 0, 2, -2031602, 0, 0, -2031601, 0, 1, -2031600, 0, 1, -2031599, 0, 1, -2031598, 0, 1, -2031597, 0, 1, -2031596, 0, 1, -2031595, 0, 1, -2031594, 0, 1, -2031593, 0, 1, -2031592, 0, 1, -2031591, 0, 1, -2031590, 0, 1, -2031589, 0, 1, -2031588, 0, 1, -2031587, 0, 65540, -1966067, 0, 65538, -1966066, 0, 65536, -1900534, 0, 3, -1900533, 0, 131073, -1900532, 0, 131073, -1900531, 0, 131074, -1900530, 0, 65536, -1834998, 0, 65538, -1834997, 0, 0, -1834996, 0, 1, -1834995, 0, 1, -1834994, 0, 65540, -1769462, 0, 65538, -1769461, 0, 65536, -1703926, 0, 65538, -1703925, 0, 131072, -1703924, 0, 131073, -1703923, 0, 131073, -1703922, 0, 4, -1638390, 0, 65539, -1638389, 0, 1, -1638388, 0, 2, -1638387, 0, 131076, -1638386, 0, 131072, -1638385, 0, 131073, -1638384, 0, 4, -1572852, 0, 65539, -1572851, 0, 1, -1572850, 0, 1, -1572849, 0, 2, -1572848, 0, 65536, -1507313, 0, 65538, -1507312, 0, 65536, -1441777, 0, 65538, -1441776, 0, 65536, -1376241, 0, 65538, -1376240, 0, 65536, -1310705, 0, 65538, -1310704, 0, 65536, -1245169, 0, 65538, -1245168, 0, 65536, -1179633, 0, 65538, -1179632, 0, 65536, -1114097, 0, 65538, -1114096, 0, 65536, -1048561, 0, 65538, -1048560, 0, 65536, -983025, 0, 65538, -983024, 0, 65536, -917489, 0, 65538, -917488, 0, 65536, -851953, 0, 65539, -851952, 0, 65540, -131054, 0, 131076, -65517, 0, 131076, 458754, 0, 0 )
[node name="LightForestPath" type="TileMap" parent="."]
modulate = Color( 0.745098, 0.498039, 0.498039, 1 )
tile_set = SubResource( 60 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
format = 1
tile_data = PoolIntArray( -851953, 0, 3, -851952, 0, 4, -786417, 0, 65538, -786416, 0, 65536, -720881, 0, 65538, -720880, 0, 65536, -655345, 0, 65538, -655344, 0, 65536, -589809, 0, 65538, -589808, 0, 65536, -524273, 0, 65538, -524272, 0, 65536, -458739, 0, 3, -458738, 0, 131073, -458737, 0, 131074, -458736, 0, 65536, -393203, 0, 65538, -393202, 0, 0, -393201, 0, 1, -393200, 0, 65540, -327669, 0, 3, -327668, 0, 131073, -327667, 0, 131074, -327666, 0, 65536, -262134, 0, 3, -262133, 0, 131074, -262132, 0, 0, -262131, 0, 1, -262130, 0, 65540, -196601, 0, 3, -196600, 0, 131073, -196599, 0, 131073, -196598, 0, 131074, -196597, 0, 0, -196596, 0, 65540, -131065, 0, 65538, -131064, 0, 0, -131063, 0, 1, -131062, 0, 1, -131061, 0, 65540, -131054, 0, 131076, -3, 0, 3, -2, 0, 131073, -1, 0, 131073, -65536, 0, 131073, -65535, 0, 131073, -65534, 0, 131073, -65533, 0, 131073, -65532, 0, 131073, -65531, 0, 131073, -65530, 0, 131073, -65529, 0, 131074, -65528, 0, 65536, -65517, 0, 131076, 65533, 0, 65539, 65534, 0, 1, 65535, 0, 1, 0, 0, 1, 1, 0, 1, 2, 0, 1, 3, 0, 1, 4, 0, 1, 5, 0, 1, 6, 0, 1, 7, 0, 2, 8, 0, 65536, 65543, 0, 65538, 65544, 0, 131072, 65545, 0, 131073, 65546, 0, 131073, 65547, 0, 131073, 65548, 0, 131073, 65549, 0, 131073, 65550, 0, 4, 131079, 0, 65538, 131080, 0, 0, 131081, 0, 1, 131082, 0, 1, 131083, 0, 1, 131084, 0, 2, 131085, 0, 131076, 131086, 0, 65536, 196615, 0, 65538, 196616, 0, 65536, 196620, 0, 65539, 196621, 0, 2, 196622, 0, 65536, 262150, 0, 3, 262151, 0, 131074, 262152, 0, 65536, 262157, 0, 65538, 262158, 0, 65536, 327683, 0, 3, 327684, 0, 131073, 327685, 0, 131073, 327686, 0, 131074, 327687, 0, 0, 327688, 0, 65540, 327693, 0, 65538, 327694, 0, 65536, 393216, 0, 3, 393217, 0, 131073, 393218, 0, 131073, 393219, 0, 131074, 393220, 0, 0, 393221, 0, 1, 393222, 0, 1, 393223, 0, 65540, 393227, 0, 3, 393228, 0, 131073, 393229, 0, 131074, 393230, 0, 65536, 458752, 0, 65539, 458753, 0, 1, 458754, 0, 1, 458755, 0, 1, 458756, 0, 65540, 458762, 0, 3, 458763, 0, 131074, 458764, 0, 131076, 458765, 0, 131076, 458766, 0, 65536, 524298, 0, 65538, 524299, 0, 131076, 524300, 0, 0, 524301, 0, 1, 524302, 0, 65540, 589833, 0, 3, 589834, 0, 131074, 589835, 0, 131076, 589836, 0, 65536, 655369, 0, 65538, 655370, 0, 131076, 655371, 0, 131076, 655372, 0, 65536, 720905, 0, 65539, 720906, 0, 1, 720907, 0, 1, 720908, 0, 65540 )
[node name="Objects" type="TileMap" parent="."]
tile_set = SubResource( 64 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
cell_tile_origin = 1
cell_y_sort = true
format = 1
tile_data = PoolIntArray( -2883568, 6, 0, -2818047, 6, 0, -2818023, 6, 0, -2752509, 6, 0, -2752505, 6, 0, -2752501, 6, 0, -2686971, 6, 0, -2686967, 6, 0, -2686953, 6, 0, -2686952, 6, 0, -2621440, 6, 0, -2555884, 6, 0, -2490345, 6, 0, -2359285, 3, 2, -2359274, 3, 2, -2293753, 3, 1, -2293745, 6, 0, -2293741, 6, 0, -2162686, 6, 0, -1966061, 6, 0, -1966055, 6, 0, -1900544, 3, 2, -1900518, 3, 2, -1834988, 6, 0, -1834986, 6, 0, -1769466, 6, 0, -1769453, 6, 0, -1769450, 6, 0, -1703932, 6, 0, -1703930, 6, 0, -1703915, 6, 0, -1638400, 6, 0, -1572858, 6, 0, -1572838, 3, 2, -1507308, 6, 0, -1441790, 6, 0, -1441788, 6, 0, -1441782, 3, 1, -1441771, 6, 0, -1376253, 6, 0, -1376233, 6, 0, -1245184, 3, 2, -1245182, 6, 0, -1245177, 6, 0, -1179630, 6, 0, -1114090, 3, 2, -851962, 3, 2, -851959, 3, 131072, -786431, 3, 0, -786420, 3, 65537, -720877, 1, 0, -655358, 1, 0, -655356, 1, 0, -655354, 1, 0, -655352, 1, 0, -524290, 1, 0, -589821, 1, 0, -589818, 1, 0, -589802, 3, 65537, -524287, 3, 131072, -393217, 1, 0, -458751, 1, 0, -458730, 3, 1, -327684, 3, 2, -393216, 1, 0, -393211, 1, 0, -393199, 1, 0, -393195, 3, 65538, -262146, 3, 65537, -327677, 1, 0, -327665, 1, 0, -196611, 3, 65538, -262144, 1, 0, -262142, 1, 0, -262139, 1, 0, -262127, 1, 0, -262125, 1, 0, -196593, 3, 131072, -131057, 1, 0, -131054, 1, 0, -65527, 3, 0, -65523, 3, 65537, -65514, 3, 0, 2, 1, 0, 11, 3, 65536, 17, 1, 0, 65536, 1, 0, 65537, 3, 1, 65540, 1, 0, 65551, 1, 0, 65552, 3, 65538, 65555, 1, 0, 131074, 1, 0, 131082, 1, 0, 131089, 1, 0, 196608, 1, 0, 196614, 3, 65536, 196616, 1, 0, 196630, 3, 131072, 262147, 3, 0, 262153, 0, 4, 393214, 3, 65536, 327682, 0, 3, 327687, 0, 3, 327688, 0, 131074, 327689, 0, 65536, 327692, 3, 131073, 458751, 3, 2, 393217, 0, 3, 393218, 0, 131074, 393222, 0, 131073, 393223, 0, 131074, 393224, 0, 0, 393225, 0, 65540, 393233, 3, 131074, 393238, 3, 1, 458753, 1, 0, 458754, 0, 1, 458755, 1, 0, 458757, 1, 0, 458758, 0, 1, 458759, 0, 1, 458760, 0, 65540, 458761, 3, 2, 458773, 3, 65537, 524288, 1, 0, 524291, 0, 65539, 524292, 0, 65540, 524295, 3, 131072, 524303, 3, 2, 524305, 1, 0, 524308, 3, 2, 589828, 1, 0, 589830, 1, 0, 720894, 3, 131074, 655360, 1, 0, 655361, 3, 65536, 655368, 3, 65537, 655382, 3, 1, 786434, 3, 1, 786438, 3, 0, 786440, 3, 65536, 786443, 3, 0, 786445, 3, 65537, 786453, 3, 65538, 851974, 3, 2 )
[node name="Collectible" type="Node2D" parent="."]
[node name="Journal Scrap" type="Sprite" parent="Collectible"]
[node name="HUD" parent="." instance=ExtResource( 8 )]
[node name="Pause Screen" parent="." instance=ExtResource( 5 )]
[node name="TreasureChest" parent="." instance=ExtResource( 6 )]
position = Vector2( 54, 170 )
scale = Vector2( 0.5, 0.5 )
object_scene = ExtResource( 6 )
[node name="ChestDetection" type="Area2D" parent="TreasureChest"]
script = ExtResource( 12 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="TreasureChest/ChestDetection"]
position = Vector2( -1.78381, -1.75043 )
scale = Vector2( 3.08, 1.96 )
shape = SubResource( 65 )
[node name="PortalDarkForest" type="Area2D" parent="TreasureChest"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="TreasureChest/PortalDarkForest"]
position = Vector2( 402.642, -712.75 )
shape = SubResource( 66 )
[node name="Projectiles" type="Node2D" parent="."]
[node name="Traps" type="Node2D" parent="."]
[node name="Spawn Trap" parent="Traps" instance=ExtResource( 15 )]
position = Vector2( 296.416, -364.541 )
[node name="Skull" type="TileMap" parent="."]
modulate = Color( 0.658824, 0.658824, 0.658824, 1 )
rotation = 0.785398
tile_set = SubResource( 67 )
format = 1
tile_data = PoolIntArray( -589828, 0, 0, -458754, 0, 0, -393220, 0, 0 )
[connection signal="body_entered" from="TreasureChest/ChestDetection" to="TreasureChest/ChestDetection" method="_on_ChestDetection_body_entered"]
[connection signal="body_entered" from="TreasureChest/PortalDarkForest" to="YSort/Player/Camera2D" method="_on_PortalDarkForest_body_entered"]
+12 -4
View File
@@ -127,23 +127,31 @@ 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 )]
[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 )]
[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 )]
[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 )]
[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
+4
View File
@@ -22,3 +22,7 @@ func _on_NextArea_area_entered(area: Area2D) -> void:
if area.get_parent().name == 'Player':
$YSort/Player.position.x = 195
$YSort/Player.position.y = -335
func _on_Demon_Boss_demon_boss_death() -> void:
get_tree().change_scene('res://Levels/Hub World.tscn')
+10 -9
View File
@@ -34,10 +34,10 @@ animations = [ {
"speed": 10.0
} ]
[sub_resource type="ConvexPolygonShape2D" id=10]
[sub_resource type="ConvexPolygonShape2D" id=2]
points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
[sub_resource type="TileSet" id=9]
[sub_resource type="TileSet" id=3]
0/name = "transparent16x16.png 0"
0/texture = ExtResource( 19 )
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/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 10 )
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( 10 ),
"shape": SubResource( 2 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
[sub_resource type="RectangleShape2D" id=11]
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 39, 10 )
[sub_resource type="RectangleShape2D" id=12]
[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 26.5, 10 )
[node name="World" type="Node2D"]
@@ -112,7 +112,7 @@ format = 1
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="."]
tile_set = SubResource( 9 )
tile_set = SubResource( 3 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 8, 0, 0, 8, 0, 0 )
show_collision = true
@@ -210,7 +210,7 @@ collision_layer = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorCollision"]
position = Vector2( 203, -9 )
shape = SubResource( 11 )
shape = SubResource( 4 )
[node name="NextArea" type="Area2D" parent="."]
collision_layer = 2
@@ -218,8 +218,9 @@ collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="NextArea"]
position = Vector2( 200, -56 )
shape = SubResource( 12 )
shape = SubResource( 5 )
[connection signal="demon_boss_death" from="YSort/Enemies/Demon Boss" to="." method="_on_Demon_Boss_demon_boss_death"]
[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/TreasureChest3" to="." method="_on_TreasureChest_gem_collected"]
+1 -1
View File
@@ -55,7 +55,7 @@ shadow_enabled = true
[node name="Enemies" type="YSort" parent="YSort"]
[node name="Chasing Glowing Ghost 0" parent="YSort/Enemies" instance=ExtResource( 9 )]
position = Vector2( 281, 109 )
position = Vector2( 280.47, 109 )
[node name="Chasing Glowing Ghost 1" parent="YSort/Enemies" instance=ExtResource( 9 )]
position = Vector2( 328.5, 20 )
+38
View File
@@ -0,0 +1,38 @@
extends AnimatedSprite
export(PackedScene) var object_scene: PackedScene = null
var is_player_inside: bool = false
var is_opened: bool = false
var has_key: bool = false
onready var animation_player: AnimationPlayer = get_node("AnimationPlayer")
onready var tween: Tween = get_node("Key/Tween")
func _ready() -> void:
assert(object_scene!=null)
animation_player.play("closed")
$Key/KeySprite.visible = false
func _input(event: InputEvent) -> void:
if is_player_inside and not is_opened:
is_opened = true
animation_player.play("open")
_drop_object()
func _drop_object() -> void:
#print($Key.position)
$Key/KeySprite.visible = true
tween.interpolate_property($Key, "position", Vector2(0,0), Vector2(0, -10), 1.0, Tween.TRANS_QUAD,
Tween.EASE_OUT)
tween.start()
yield(tween, "tween_completed")
$Key/KeySprite.visible = false
func _on_Area2D_player_entered(_player: KinematicBody2D) -> void:
is_player_inside = true
func _on_Area2D_player_exited(_player: KinematicBody2D) -> void:
is_player_inside = false
+178
View File
@@ -0,0 +1,178 @@
[gd_scene load_steps=13 format=2]
[ext_resource path="res://Sprites/Assets/treasureChest.png" type="Texture" id=1]
[ext_resource path="res://Sprites/Assets/treasureChestOpen.png" type="Texture" id=2]
[ext_resource path="res://Levels/Objects/Chest.gd" type="Script" id=3]
[ext_resource path="res://Sprites/Assets/Key.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Assets/DoorClosed.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Assets/DoorOpen.png" type="Texture" id=6]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ) ],
"loop": true,
"name": "open",
"speed": 5.0
}, {
"frames": [ ExtResource( 1 ) ],
"loop": true,
"name": "closed",
"speed": 5.0
} ]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 60.5859, 42.3141 )
[sub_resource type="Animation" id=3]
resource_name = "closed"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "closed" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 0 ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Entrance:animation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "closed" ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Entrance:frame")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 0 ]
}
[sub_resource type="Animation" id=4]
resource_name = "open"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "open" ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 0 ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Entrance:animation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "open" ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Entrance:frame")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 0 ]
}
[sub_resource type="SpriteFrames" id=5]
animations = [ {
"frames": [ ExtResource( 6 ) ],
"loop": true,
"name": "open",
"speed": 5.0
}, {
"frames": [ ExtResource( 5 ) ],
"loop": true,
"name": "closed",
"speed": 5.0
} ]
[sub_resource type="Animation" id=6]
resource_name = "closed"
[node name="TreasureChest" type="AnimatedSprite"]
position = Vector2( 1, 0 )
frames = SubResource( 1 )
animation = "closed"
script = ExtResource( 3 )
[node name="Area" type="Area2D" parent="."]
scale = Vector2( 0.5, 0.5 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area"]
shape = SubResource( 2 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/closed = SubResource( 3 )
anims/open = SubResource( 4 )
[node name="Key" type="Node2D" parent="."]
[node name="KeySprite" type="Sprite" parent="Key"]
texture = ExtResource( 4 )
[node name="Tween" type="Tween" parent="Key"]
[node name="Entrance" type="AnimatedSprite" parent="."]
position = Vector2( 403, -715 )
frames = SubResource( 5 )
animation = "closed"
[node name="AnimationPlayer" type="AnimationPlayer" parent="Entrance"]
anims/closed = SubResource( 6 )
[connection signal="body_entered" from="Area" to="." method="_on_Area2D_player_entered"]
[connection signal="body_exited" from="Area" to="." method="_on_Area2D_player_exited"]
+1
View File
@@ -1,5 +1,6 @@
[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]
+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:
$GemSprite.visible = false
func _on_AnimationPlayer_animation_started(anim_name: String) -> void:
$GemSprite.visible = true
+34
View File
@@ -0,0 +1,34 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Sprites/Assets/resources_basic.png" type="Texture" id=1]
[ext_resource path="res://Levels/Objects/Gem.gd" type="Script" id=2]
[sub_resource type="Animation" id=3]
resource_name = "rise"
length = 1.2
tracks/0/type = "value"
tracks/0/path = NodePath("GemSprite:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.3, 0.8, 1.2 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, -10 ), Vector2( 0, -18 ), Vector2( 0, -20 ) ]
}
[node name="Gem" type="Node2D"]
script = ExtResource( 2 )
[node name="GemSprite" type="Sprite" parent="."]
position = Vector2( 0, -20 )
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 2, 50, 20, 20 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/rise = SubResource( 3 )
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
+33
View File
@@ -0,0 +1,33 @@
extends Sprite
var is_player_inside: bool = false
var is_opened: bool = false
var has_gem: bool = true
signal gem_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:
if area.get_parent().name == 'Player':
if is_opened == false:
$chestClosed.visible = false
$chestOpened.visible = true
$Gem.visible = true
$Gem/AnimationPlayer.play("rise")
is_opened = true
has_gem = false
emit_signal("gem_collected")
+36
View File
@@ -0,0 +1,36 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Sprites/Assets/treasureChestOpen.png" type="Texture" id=1]
[ext_resource path="res://Sprites/Assets/treasureChest.png" type="Texture" id=2]
[ext_resource path="res://Levels/Objects/Gem.tscn" type="PackedScene" id=3]
[ext_resource path="res://Levels/Objects/TreasureChest.gd" type="Script" id=4]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 21.3333, 17.3333 )
[node name="TreasureChest" type="Sprite" groups=["enemies"]]
script = ExtResource( 4 )
[node name="chestOpened" type="Sprite" parent="."]
visible = false
texture = ExtResource( 1 )
[node name="chestClosed" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="Gem" parent="." instance=ExtResource( 3 )]
visible = false
[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"]
+21
View File
@@ -0,0 +1,21 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Sprites/Assets/Dead_Tree.png" type="Texture" id=1]
[sub_resource type="CapsuleShape2D" id=1]
radius = 3.0
height = 4.0
[node name="Dead Tree" type="Node2D"]
scale = Vector2( 2, 2 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -1.93028 )
scale = Vector2( 1, 1.48257 )
texture = ExtResource( 1 )
offset = Vector2( -1, -5 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource( 1 )
+17
View File
@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Sprites/Assets/forestHouse.png" type="Texture" id=1]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 13, 10 )
[node name="forestHouse" type="Node2D"]
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
offset = Vector2( 0, -8 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource( 1 )
+17
View File
@@ -0,0 +1,17 @@
extends Area2D
# 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:
self.visible = false
$CollisionShape2D.visible = false
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass
+1 -1
View File
@@ -1,6 +1,6 @@
extends Area2D
export var enemy_path: String = 'res://Enemies/ENEMY.tscn'
export var enemy_path: String = 'res://Enemies/Ghost_Enemy.tscn'
export var relative_x_tiles: int
export var relative_y_tiles: int
+2 -2
View File
@@ -7,10 +7,10 @@ extents = Vector2( 8, 8 )
[node name="Spawn Trap" type="Area2D"]
light_mask = 0
collision_layer = 0
collision_mask = 2
input_pickable = false
monitorable = false
collision_layer = 0
collision_mask = 2
script = ExtResource( 1 )
[node name="Tile" type="CollisionShape2D" parent="."]
+8
View File
@@ -0,0 +1,8 @@
extends AnimatedSprite
export(PackedScene) var object_scene: PackedScene = null
var is_player_inside: bool = false
var is_opened: bool = false
onready var animationplayer: AnimationPlayer = get_node("AnimationPlayer")