Camera limits, key in chest, dark forest tilesetter

This commit is contained in:
Jasmine committed 2021-12-01 20:59:53 -06:00
1 parent 9d2a15985c
commit 1e8a8a15f8
34 files changed
+855 -255

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
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
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass
func _on_Area2D_body_entered(body: Node) -> void:
self.visible = true
+26
View File
@@ -0,0 +1,26 @@
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_Area2D_body_entered(body: Node) -> void:
self.limit_bottom = -223
self.limit_top = -737
var player = get_parent()
player.position = Vector2(-216,256)
#$YSort/Player/Camera2D.limit_bottom = -223
#$YSort/Player/Camera2D.limit_top = -737
+2 -1
View File
@@ -1,6 +1,7 @@
extends Node2D
func _ready() -> void:
$YSort/Player.position = get_viewport_rect().size / 2
#$YSort/Player.position = get_viewport_rect().size / 2
$YSort/Player.position = Vector2(0,0)
$YSort/Player.load_hud($HUD)
return
+140 -37
View File
@@ -1,13 +1,16 @@
[gd_scene load_steps=14 format=2]
[gd_scene load_steps=20 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://Levels/Objects/forestHouse.tscn" type="PackedScene" id=9]
[ext_resource path="res://Sprites/Assets/Door.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]
[sub_resource type="TileSet" id=1]
0/name = "Grass.png 0"
@@ -17,7 +20,7 @@
0/region = Rect2( 0, 0, 80, 48 )
0/tile_mode = 1
0/autotile/bitmask_mode = 0
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 325, Vector2( 0, 1 ), 325, Vector2( 0, 2 ), 325, Vector2( 1, 0 ), 325, Vector2( 1, 2 ), 325, Vector2( 2, 0 ), 325, Vector2( 2, 1 ), 325, Vector2( 2, 2 ), 325, Vector2( 3, 0 ), 256, Vector2( 3, 1 ), 4, Vector2( 4, 0 ), 64, Vector2( 4, 1 ), 1, Vector2( 4, 2 ), 325 ]
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
@@ -35,14 +38,78 @@
0/z_index = 0
[sub_resource type="TileSet" id=2]
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_one_way = false
0/shape_one_way_margin = 0.0
0/shapes = [ ]
0/z_index = 0
[sub_resource type="TileSet" id=7]
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="TileSet" id=3]
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 = 1
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 255, Vector2( 0, 1 ), 219, Vector2( 0, 2 ), 507, Vector2( 1, 0 ), 63, Vector2( 1, 2 ), 504, Vector2( 2, 0 ), 447, Vector2( 2, 1 ), 438, Vector2( 2, 2 ), 510, Vector2( 3, 0 ), 432, Vector2( 3, 1 ), 54, Vector2( 4, 0 ), 216, Vector2( 4, 1 ), 27, Vector2( 4, 2 ), 511 ]
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
@@ -59,12 +126,12 @@
0/shapes = [ ]
0/z_index = 0
[sub_resource type="ConvexPolygonShape2D" id=3]
[sub_resource type="ConvexPolygonShape2D" id=4]
points = PoolVector2Array( 33.0868, 45.5302, 15.4222, 45.5302, 15.4222, 39.0812, 33.0868, 39.0812 )
[sub_resource type="StreamTexture" id=4]
[sub_resource type="StreamTexture" id=5]
[sub_resource type="TileSet" id=5]
[sub_resource type="TileSet" id=6]
1/name = "Plants and Trees.png 1"
1/texture = ExtResource( 4 )
1/tex_offset = Vector2( 0, 0 )
@@ -75,14 +142,14 @@ points = PoolVector2Array( 33.0868, 45.5302, 15.4222, 45.5302, 15.4222, 39.0812,
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( 3 )
1/shape = SubResource( 4 )
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( 3 ),
"shape": SubResource( 4 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
1/z_index = 4
@@ -108,7 +175,7 @@ points = PoolVector2Array( 33.0868, 45.5302, 15.4222, 45.5302, 15.4222, 39.0812,
3/shapes = [ ]
3/z_index = 1
4/name = "TX Props.png 4"
4/texture = SubResource( 4 )
4/texture = SubResource( 5 )
4/tex_offset = Vector2( 0, 0 )
4/modulate = Color( 1, 1, 1, 1 )
4/region = Rect2( 96, 16, 32, 48 )
@@ -122,7 +189,7 @@ points = PoolVector2Array( 33.0868, 45.5302, 15.4222, 45.5302, 15.4222, 39.0812,
4/shapes = [ ]
4/z_index = 0
5/name = "TX Props.png 5"
5/texture = SubResource( 4 )
5/texture = SubResource( 5 )
5/tex_offset = Vector2( 0, 0 )
5/modulate = Color( 1, 1, 1, 1 )
5/region = Rect2( 16, 96, 64, 64 )
@@ -136,6 +203,9 @@ points = PoolVector2Array( 33.0868, 45.5302, 15.4222, 45.5302, 15.4222, 39.0812,
5/shapes = [ ]
5/z_index = 0
[sub_resource type="CapsuleShape2D" id=8]
radius = 30.5764
[node name="World" type="Node2D"]
script = ExtResource( 2 )
@@ -146,48 +216,58 @@ 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="Ground" type="TileMap" parent="."]
[node name="LightForestGrass" type="TileMap" parent="."]
position = Vector2( 1, 0 )
tile_set = SubResource( 1 )
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( -720892, 0, 3, -720891, 0, 131073, -720890, 0, 131073, -720889, 0, 131073, -720888, 0, 131073, -720887, 0, 131073, -720886, 0, 131073, -720885, 0, 131073, -720884, 0, 131073, -720883, 0, 131073, -720882, 0, 131073, -720881, 0, 131073, -720880, 0, 131073, -720879, 0, 131073, -720878, 0, 4, -655356, 0, 65538, -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, 131072, -655341, 0, 4, -589822, 0, 3, -589821, 0, 131073, -589820, 0, 131074, -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, 131072, -589804, 0, 4, -524286, 0, 65538, -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, 65536, -458750, 0, 65538, -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, 65536, -393215, 0, 3, -393214, 0, 131074, -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, 65536, -327680, 0, 3, -327679, 0, 131074, -327678, 0, 131076, -327677, 0, 131076, -327676, 0, 131076, -327675, 0, 131076, -327674, 0, 131076, -327673, 0, 131076, -327672, 0, 131076, -327671, 0, 131076, -327670, 0, 131076, -327669, 0, 131076, -327668, 0, 131076, -327667, 0, 131076, -327666, 0, 131076, -327665, 0, 131076, -327664, 0, 131076, -327663, 0, 131076, -327662, 0, 131076, -327661, 0, 131076, -327660, 0, 65536, -196609, 0, 3, -262144, 0, 131074, -262143, 0, 131076, -262142, 0, 131076, -262141, 0, 131076, -262140, 0, 131076, -262139, 0, 131076, -262138, 0, 131076, -262137, 0, 131076, -262136, 0, 131076, -262135, 0, 131076, -262134, 0, 131076, -262133, 0, 131076, -262132, 0, 131076, -262131, 0, 131076, -262130, 0, 131076, -262129, 0, 131076, -262128, 0, 131076, -262127, 0, 131076, -262126, 0, 131076, -262125, 0, 131076, -262124, 0, 65536, -131074, 0, 3, -131073, 0, 131074, -196608, 0, 131076, -196607, 0, 131076, -196606, 0, 131076, -196605, 0, 131076, -196604, 0, 131076, -196603, 0, 131076, -196602, 0, 131076, -196601, 0, 131076, -196600, 0, 131076, -196599, 0, 131076, -196598, 0, 131076, -196597, 0, 131076, -196596, 0, 131076, -196595, 0, 131076, -196594, 0, 131076, -196593, 0, 131076, -196592, 0, 131076, -196591, 0, 131076, -196590, 0, 131076, -196589, 0, 131076, -196588, 0, 131072, -196587, 0, 4, -65538, 0, 65538, -65537, 0, 131076, -131072, 0, 131076, -131071, 0, 131076, -131070, 0, 131076, -131069, 0, 131076, -131068, 0, 131076, -131067, 0, 131076, -131066, 0, 131076, -131065, 0, 131076, -131064, 0, 131076, -131063, 0, 131076, -131062, 0, 131076, -131061, 0, 131076, -131060, 0, 131076, -131059, 0, 131076, -131058, 0, 131076, -131057, 0, 131076, -131056, 0, 131076, -131055, 0, 131076, -131054, 0, 131076, -131053, 0, 131076, -131052, 0, 131076, -131051, 0, 65536, -2, 0, 65538, -1, 0, 131076, -65536, 0, 131076, -65535, 0, 131076, -65534, 0, 131076, -65533, 0, 131076, -65532, 0, 131076, -65531, 0, 131076, -65530, 0, 131076, -65529, 0, 131076, -65528, 0, 131076, -65527, 0, 131076, -65526, 0, 131076, -65525, 0, 131076, -65524, 0, 131076, -65523, 0, 131076, -65522, 0, 131076, -65521, 0, 131076, -65520, 0, 131076, -65519, 0, 131076, -65518, 0, 131076, -65517, 0, 131076, -65516, 0, 131076, -65515, 0, 65536, 65534, 0, 65538, 65535, 0, 131076, 0, 0, 131076, 1, 0, 131076, 2, 0, 131076, 3, 0, 131076, 4, 0, 131076, 5, 0, 131076, 6, 0, 131076, 7, 0, 131076, 8, 0, 131076, 9, 0, 131076, 10, 0, 131076, 11, 0, 131076, 12, 0, 131076, 13, 0, 131076, 14, 0, 131076, 15, 0, 131076, 16, 0, 131076, 17, 0, 131076, 18, 0, 131076, 19, 0, 131076, 20, 0, 131076, 21, 0, 65536, 131070, 0, 65538, 131071, 0, 131076, 65536, 0, 131076, 65537, 0, 131076, 65538, 0, 131076, 65539, 0, 131076, 65540, 0, 131076, 65541, 0, 131076, 65542, 0, 131076, 65543, 0, 131076, 65544, 0, 131076, 65545, 0, 131076, 65546, 0, 131076, 65547, 0, 131076, 65Line truncated
tile_data = PoolIntArray( -917504, 0, 3, -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, -851968, 0, 65538, -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, 4, -720898, 0, 3, -720897, 0, 131073, -786432, 0, 131074, -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, 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, 65536, -589826, 0, 65538, -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, -524290, 0, 65538, -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, -458755, 0, 3, -458754, 0, 131074, -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, -393219, 0, 65538, -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, 3, -327683, 0, 131074, -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, 131076, -327676, 0, 131076, -327675, 0, 131076, -327674, 0, 131076, -327673, 0, 131076, -327672, 0, 131076, -327671, 0, 131076, -327670, 0, 131076, -327669, 0, 131076, -327668, 0, 131076, -327667, 0, 131076, -327666, 0, 131076, -327665, 0, 131076, -327664, 0, 131076, -Line truncated
[node name="forestHouse" parent="." instance=ExtResource( 9 )]
visible = false
position = Vector2( 35.4162, -76.797 )
[node name="TileMap" type="TileMap" parent="."]
modulate = Color( 0.745098, 0.498039, 0.498039, 1 )
[node name="Cliff" type="TileMap" parent="."]
tile_set = SubResource( 2 )
cell_size = Vector2( 32, 32 )
format = 1
tile_data = PoolIntArray( -458752, 0, 0, -458751, 0, 1, -458750, 0, 1, -458749, 0, 1, -458748, 0, 1, -458747, 0, 1, -458746, 0, 2, -327681, 0, 0, -393216, 0, 65545, -393215, 0, 131073, -393214, 0, 131073, -393213, 0, 131073, -393212, 0, 131073, -393211, 0, 131073, -393210, 0, 131074, -262145, 0, 131072, -327680, 0, 131074, -327669, 0, 3, -262134, 0, 0, -262133, 0, 131079, -131074, 0, 0, -131073, 0, 2, -196598, 0, 131072, -196597, 0, 131074, -65538, 0, 65540, -65537, 0, 131074, -2, 0, 131075, -65525, 0, 3, 11, 0, 131075, 196606, 0, 196608, 196607, 0, 7, 131082, 0, 3, 262143, 0, 65539, 196618, 0, 131076, 196619, 0, 2, 327679, 0, 65539, 262154, 0, 65536, 262155, 0, 65538, 393215, 0, 131075, 327689, 0, 196608, 327690, 0, 262150, 327691, 0, 65538, 393217, 0, 4, 393218, 0, 196609, 393219, 0, 196609, 393220, 0, 196609, 393221, 0, 7, 393226, 0, 131072, 393227, 0, 131074, 458753, 0, 131075, 458757, 0, 196612, 458758, 0, 196609, 458759, 0, 196609, 458760, 0, 196610 )
[node name="DarkForestGrass" type="TileMap" parent="."]
tile_set = SubResource( 7 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
format = 1
tile_data = PoolIntArray( -589809, 0, 3, -589808, 0, 4, -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, -2, 0, 3, -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, 65534, 0, 65539, 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, 458749, 0, 3, 458750, 0, 131073, 458751, 0, 131073, 393216, 0, 131073, 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, 524285, 0, 65539, 524286, 0, 1, 524287, 0, 1, 458752, 0, 1, 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, 0, 655371, 0, 1, 655372, 0, 65540, 720901, 0, 3, 720902, 0, 131073, 720903, 0, 131073, 720904, 0, 131073, 720905, 0, 131074, 720906, 0, 65536, 786435, 0, 3, 786436, 0, 131073, 786437, 0, 131074, 786438, 0, 0, 786439, 0, 1, 786440, 0, 1, 786441, 0, 2, 786442, 0, 65536, 851971, 0, 65539, 851972, 0, 1, 851973, 0, 1, 851974, 0, 65540, 851977, 0, 65539, 851978, 0, 65540 )
tile_data = PoolIntArray( -3145721, 0, 393220, -3145720, 0, 2, -3145719, 0, 2, -3145718, 0, 2, -3145717, 0, 2, -3145716, 0, 2, -3145715, 0, 393222, -3080190, 0, 0, -3080189, 0, 2, -3080188, 0, 2, -3080187, 0, 2, -3080186, 0, 2, -3080185, 0, 524290, -3080184, 0, 131074, -3080183, 0, 131082, -3080182, 0, 262154, -3080181, 0, 131074, -3080180, 0, 262154, -3080179, 0, 262150, -3080178, 0, 2, -3080177, 0, 4, -3080175, 0, 0, -3080174, 0, 2, -3080173, 0, 4, -2949121, 0, 0, -3014656, 0, 2, -3014655, 0, 2, -3014654, 0, 524290, -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, 524288, -3014640, 0, 2, -3014639, 0, 262152, -3014638, 0, 131082, -3014637, 0, 524288, -3014636, 0, 393222, -2883589, 0, 393220, -2883588, 0, 2, -2883587, 0, 2, -2883586, 0, 2, -2883585, 0, 524290, -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, 262150, -2949099, 0, 2, -2949098, 0, 393222, -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, 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, 524288, -2818025, 0, 4, -2686981, 0, 262144, -2686980, 0, 393218, -2686979, 0, 131082, -2686978, 0, 262154, -2686977, 0, 131082, -2752512, 0, 262154, -2752511, 0, 131074, -2752510, 0, 131074, -2752509, 0, 262154, -2752508, 0, 262154, -2752507, 0, 262154, -2752506, 0, 131074, -2752505, 0, 131082, -2752504, 0, 131082, -2752503, 0, 262154, -2752502, 0, 262154, -2752501, 0, 262154, -2752500, 0, 262154, -2752499, 0, 131074, -2752498, 0, 131082, -2752497, 0, 131082, -2752496, 0, 262154, -2752495, 0, 131082, -2752494, 0, 131082, -2752493, 0, 131082, -2752492, 0, 131074, -2752491, 0, 131074, -2752490, 0, 131082, -2752489, 0, 131076, -2621444, 0, 524292, -2621443, 0, 131080, -2621442, 0, 131082, -2621441, 0, 131074, -2686976, 0, 131074, -2686975, 0, 131074, -2686974, 0, 131082, -2686973, 0, 131074, -2686972, 0, 131082, -2686971, 0, 131074, -2686970, 0, 131082, -2686969, 0, 262154, -2686968, 0, 131074, -2686967, 0, 131082, -2686966, 0, 131082, -2686965, 0, 131074, -2686964, 0, 131082, -2686963, 0, 131074, -2686962, 0, 131082, -2686961, 0, 131082, -2686960, 0, 131074, -2686959, 0, 131074, -2686958, 0, 131082, -2686957, 0, 131082, -2686956, 0, 131082, -2686955, 0, 131082, -2686954, 0, 262154, -2686953, 0, 131076, -2555907, 0, 131072, -2555906, 0, 131074, -2555905, 0, 262154, -2621440, 0, 262154, -2621439, 0, 262154, -2621438, 0, 131074, -2621437, 0, 131074, -2621436, 0, 262154, -2621435, 0, 131074, -2621434, 0, 131082, -2621433, 0, 262154, -2621432, 0, 262154, -2621431, 0, 262154, -2621430, 0, 262154, -2621429, 0, 262154, -2621428, 0, 131082, -2621427, 0, 262154, -2621426, 0, 131082, -2621425, 0, 131082, -2621424, 0, 131074, -2621423, 0, 131074, -2621422, 0, 131074, -2621421, 0, 262154, -2621420, 0, 131082, -2621419, 0, 131074, -2621418, 0, 131082, -2621417, 0, 524288, -2621416, 0, 393222, -2490371, 0, 524292, -2490370, 0, 393218, -2490369, 0, 262154, -2555904, 0, 131082, -2555903, 0, 131074, -2555902, 0, 131082, -2555901, 0, 262154, -2555900, 0, 262154, -2555899, 0, 262154, -2555898, 0, 262154, -2555897, 0, 131082, -2555896, 0, 131082, -2555895, 0, 262154, -2555894, 0, 131082, -2555893, 0, 262154, -2555892, 0, 131074, -2555891, 0, 262154, -2555890, 0, 131082, -2555889, 0, 262154, -2555888, 0, 131074, -2555887, 0, 131074, -2555886, 0, 262154, -2555885, 0, 131082, -2555884, 0, 131082, -2555883, 0, 131082, -2555882, 0, 262154, -2555881, 0Line truncated
[node name="DarkForestPath" type="TileMap" parent="."]
modulate = Color( 0.266667, 0.239216, 0.388235, 1 )
tile_set = SubResource( 3 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
format = 1
tile_data = PoolIntArray( -2818042, 0, 3, -2818041, 0, 131073, -2818040, 0, 4, -2752506, 0, 65539, -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, -2097154, 0, 3, -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, -2031618, 0, 65539, -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, 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, 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, 65538, -851952, 0, 65536, -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, -2, 0, 3, -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, 65534, 0, 65539, 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, 65536Line truncated
[node name="LightForestPath" type="TileMap" parent="."]
modulate = Color( 0.745098, 0.498039, 0.498039, 1 )
tile_set = SubResource( 3 )
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, -2, 0, 3, -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, 65534, 0, 65539, 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( 5 )
tile_set = SubResource( 6 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
cell_y_sort = true
format = 1
tile_data = PoolIntArray( -393211, 1, 0, -393199, 1, 0, -327677, 1, 0, -327665, 1, 0, -262144, 1, 0, -262142, 1, 0, -262139, 1, 0, -262127, 1, 0, -131057, 1, 0, -131054, 1, 0, -65527, 3, 0, -65523, 3, 65537, 4, 1, 0, 11, 3, 65538, 17, 1, 0, 65536, 1, 0, 65537, 3, 1, 65551, 1, 0, 65552, 3, 65538, 131074, 1, 0, 131082, 1, 0, 131089, 1, 0, 196608, 1, 0, 196614, 3, 65536, 262147, 3, 0, 262153, 0, 4, 327682, 0, 3, 327687, 0, 3, 327688, 0, 131074, 327689, 0, 65536, 327692, 3, 131073, 393217, 0, 3, 393218, 0, 131074, 393219, 0, 131072, 393222, 0, 131073, 393223, 0, 131074, 393224, 0, 0, 393225, 0, 65540, 393233, 3, 131074, 458753, 1, 0, 458754, 0, 1, 458755, 3, 2, 458758, 0, 1, 458759, 0, 1, 458760, 0, 65540, 458761, 3, 2, 524291, 0, 65539, 524292, 0, 65540, 524295, 3, 131072, 524303, 3, 2, 524305, 1, 0, 589828, 3, 131074, 655368, 3, 65537 )
[node name="Entrance" type="Node2D" parent="."]
position = Vector2( 256, -143 )
scale = Vector2( 0.6, 0.6 )
[node name="Door" type="Sprite" parent="Entrance"]
texture = ExtResource( 10 )
[node name="Chest" type="Node2D" parent="."]
[node name="Treasure Chest" type="Sprite" parent="Chest"]
[node name="Key" type="Sprite" parent="Chest"]
tile_data = PoolIntArray( -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, 393219, 0, 131072, 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, 3, 2, 458758, 0, 1, 458759, 0, 1, 458760, 0, 65540, 458761, 3, 2, 458773, 3, 65537, 524291, 0, 65539, 524292, 0, 65540, 524295, 3, 131072, 524303, 3, 2, 524305, 1, 0, 524308, 3, 2, 589828, 3, 131074, 720894, 3, 131074, 655361, 3, 65536, 655368, 3, 65537, 655382, 3, 1, 851966, 1, 0, 786434, 3, 1, 786438, 3, 0, 786440, 3, 65536, 786443, 3, 0, 786445, 3, 65537, 786453, 3, 65538, 917503, 1, 0, 851974, 3, 2 )
[node name="Collectible" type="Node2D" parent="."]
@@ -196,3 +276,26 @@ texture = ExtResource( 10 )
[node name="HUD" parent="." instance=ExtResource( 8 )]
[node name="Pause Screen" parent="." instance=ExtResource( 5 )]
[node name="TreasureChest" parent="." instance=ExtResource( 6 )]
position = Vector2( 9, 147 )
scale = Vector2( 0.5, 0.5 )
object_scene = ExtResource( 6 )
[node name="Area2D" type="Area2D" parent="TreasureChest"]
script = ExtResource( 12 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="TreasureChest/Area2D"]
position = Vector2( 495.01, -696.864 )
shape = SubResource( 8 )
[node name="Objects2" type="TileMap" parent="."]
tile_set = SubResource( 6 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
cell_y_sort = true
format = 1
tile_data = PoolIntArray( -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, 393219, 0, 131072, 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, 3, 2, 458758, 0, 1, 458759, 0, 1, 458760, 0, 65540, 458761, 3, 2, 458773, 3, 65537, 524291, 0, 65539, 524292, 0, 65540, 524295, 3, 131072, 524303, 3, 2, 524305, 1, 0, 524308, 3, 2, 589828, 3, 131074, 589829, 1, 0, 589836, 1, 0, 589840, 1, 0, 720894, 3, 131074, 655361, 3, 65536, 655368, 3, 65537, 655374, 1, 0, 655382, 3, 1, 720908, 1, 0, 720913, 1, 0, 851966, 1, 0, 786434, 3, 1, 786438, 3, 0, 786440, 3, 65536, 786443, 3, 0, 786445, 3, 65537, 786453, 3, 65538, 917503, 1, 0, 851974, 3, 2 )
[connection signal="body_entered" from="TreasureChest/Area2D" to="TreasureChest/Area2D" method="_on_Area2D_body_entered"]
[connection signal="body_entered" from="TreasureChest/Area2D" to="YSort/Player/Camera2D" method="_on_Area2D_body_entered"]
+1
View File
@@ -15,6 +15,7 @@
script = ExtResource( 2 )
[node name="CanvasModulate" type="CanvasModulate" parent="."]
visible = false
color = Color( 0, 0, 0, 1 )
[node name="Floor" type="TileMap" parent="."]
+40
View File
@@ -0,0 +1,40 @@
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
+177
View File
@@ -0,0 +1,177 @@
[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=6]
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=8]
resource_name = "closed"
[node name="TreasureChest" type="AnimatedSprite"]
frames = SubResource( 1 )
animation = "open"
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( 494, -675 )
frames = SubResource( 6 )
animation = "open"
[node name="AnimationPlayer" type="AnimationPlayer" parent="Entrance"]
anims/closed = SubResource( 8 )
[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
@@ -7,6 +7,7 @@ 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 )