222 lines
12 KiB
Text
222 lines
12 KiB
Text
[gd_scene load_steps=18 format=2]
|
|
|
|
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://objects/ladder/ladder.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://graphics/backgrounds/blue_sky.png" type="Texture" id=3]
|
|
[ext_resource path="res://objects/collectibles/star.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://objects/collectibles/gold.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=6]
|
|
[ext_resource path="res://tilesets/t_grass.tres" type="TileSet" id=7]
|
|
[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://scripts/delete_on_game_running.gd" type="Script" id=9]
|
|
[ext_resource path="res://tilesets/t_water.tres" type="TileSet" id=10]
|
|
[ext_resource path="res://objects/enemy/slime.tscn" type="PackedScene" id=11]
|
|
[ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=12]
|
|
[ext_resource path="res://objects/enemy/bat.tscn" type="PackedScene" id=13]
|
|
[ext_resource path="res://objects/enemy/snake.tscn" type="PackedScene" id=14]
|
|
[ext_resource path="res://objects/barrier/barrier.tscn" type="PackedScene" id=15]
|
|
[ext_resource path="res://objects/turniwood/turniwood.tscn" type="PackedScene" id=16]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 8, 128 )
|
|
|
|
[node name="Map" type="Node2D"]
|
|
|
|
[node name="Camera2D" parent="." instance=ExtResource( 8 )]
|
|
smoothing_enabled = false
|
|
|
|
[node name="Background" type="Sprite" parent="Camera2D"]
|
|
z_index = -2
|
|
texture = ExtResource( 3 )
|
|
centered = false
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="Ground" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 7 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
tile_data = PoolIntArray( 327687, 2, 1, 327689, 2, 0, 327696, 2, 2, 327702, 2, 3, 327703, 2, 3, 393219, 0, 65536, 393220, 0, 65537, 393221, 0, 65537, 393222, 0, 65537, 393223, 0, 65537, 393224, 0, 65537, 393225, 0, 65537, 393226, 0, 65537, 393227, 0, 65538, 393231, 0, 65536, 393232, 0, 65537, 393233, 0, 65538, 393236, 0, 65536, 393237, 0, 65537, 393238, 0, 65537, 393239, 0, 65537, 393240, 0, 65537, 393241, 0, 65538, 393244, 0, 65537, 393245, 0, 65537, 393246, 0, 65537, 393247, 0, 65537, 393248, 0, 65537, 393249, 0, 65537, 393250, 0, 65537, 393251, 0, 65537, 393252, 0, 65537, 393253, 0, 65537, 393254, 0, 65537, 589844, 0, 65536, 589845, 0, 65537, 589846, 0, 65537, 589847, 0, 65537, 589848, 0, 65537, 589849, 0, 65538, 655368, 0, 65536, 655369, 0, 65537, 655370, 0, 65537, 655371, 0, 65537, 655372, 0, 65537, 655373, 0, 65538, 720906, 0, 196611, 786442, 0, 196610, 851968, 0, 65537, 851969, 0, 65537, 851970, 0, 65537, 851971, 0, 65537, 851972, 0, 65537, 851973, 0, 65538, 851978, 0, 65539, 851987, 2, 1, 851989, 2, 2, 917514, 0, 65537, 917515, 0, 65537, 917516, 0, 65537, 917517, 0, 65537, 917518, 0, 65537, 917519, 0, 65537, 917520, 0, 65537, 917521, 0, 65537, 917522, 0, 65537, 917523, 0, 65537, 917524, 0, 65537, 917525, 0, 65537, 917526, 0, 65537, 917527, 0, 65537, 917528, 0, 65537, 917529, 0, 65537, 917530, 0, 65537, 917531, 0, 65537, 917532, 0, 65537, 917533, 0, 65537, 917534, 0, 65537, 917535, 0, 65537, 917536, 0, 65537, 917537, 0, 65537, 917538, 0, 65537, 917539, 0, 65537, 917540, 0, 65537, 917541, 0, 65537, 917542, 0, 65537, 917543, 0, 65537, 917544, 0, 65537, 1179649, 0, 65536, 1179650, 0, 65537, 1179651, 0, 65538, 1179654, 0, 65536, 1179655, 0, 65537, 1179656, 0, 65537, 1179657, 0, 65537, 1179658, 0, 65537, 1179659, 0, 65537, 1179660, 0, 65537, 1179661, 0, 65537, 1179662, 0, 65538, 1179689, 0, 131072, 1179690, 0, 0, 1179691, 0, 0, 1179692, 0, 131073, 1245191, 0, 65537, 1245202, 2, 2, 1245207, 0, 196611, 1245224, 0, 131072, 1245225, 0, 131075, 1245226, 0, 1, 1245227, 0, 1, 1245228, 536870912, 2, 1310730, 0, 65537, 1310736, 0, 131072, 1310737, 536870912, 0, 1310738, 536870912, 0, 1310739, 536870912, 0, 1310740, 0, 131073, 1310743, 1073741824, 196611, 1310760, 0, 2, 1310761, 0, 1, 1310762, 0, 1, 1310763, 0, 1, 1310764, 536870912, 2, 1376257, 2, 0, 1376261, 2, 1, 1376263, 2, 2, 1376266, 2, 2, 1376269, 2, 3, 1376271, 0, 131072, 1376272, 0, 131075, 1376273, 536870912, 1, 1376274, 536870912, 1, 1376275, 536870912, 1, 1376276, 0, 131074, 1376277, 0, 131073, 1376279, 0, 65539, 1376281, 2, 1, 1376296, 0, 2, 1376297, 0, 1, 1376298, 0, 1, 1376299, 0, 1, 1376300, 536870912, 2, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441801, 0, 0, 1441802, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 0, 0, 1441806, 0, 0, 1441807, 0, 131075, 1441808, 0, 1, 1441809, 0, 1, 1441810, 0, 1, 1441811, 0, 1, 1441812, 0, 1, 1441813, 0, 131074, 1441814, 0, 0, 1441815, 0, 0, 1441816, 0, 0, 1441817, 0, 0, 1441818, 0, 0, 1441819, 0, 0, 1441820, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1441824, 0, 0, 1441825, 0, 0, 1441826, 0, 0, 1441827, 0, 0, 1441828, 0, 0, 1441829, 0, 0, 1441830, 0, 0, 1441831, 0, 0, 1441832, 0, 131075, 1441833, 0, 1, 1441834, 0, 1, 1441835, 0, 1, 1441836, 0, 131074, 1441845, 0, 0, 1441846, 0, 0, 1441847, 0, 0, 1441848, 0, 0, 1441849, 0, 0, 1441850, 0, 0, 1441851, 0, 0, 1441852, 0, 0, 1441853, 0, 0, 1441854, 0, 0, 1441855, 0, 0, 1441856, 0, 0, 1441857, 0, 0, 1441858, 0, 0, 1441859, 0, 0, 1441860, 0, 0, 1441861, 0, 0, 1441862, 0, 0, 1441863, 0, 0, 1441864, 0, 0, 1441865, 0, 0, 1441866, 0, 0, 1441867, 0, 0, 1441868, 0, 0, 1441869, 0, 0, 1441870, 0, 0, 1441871, 0, 0, 1441872, 0, 0, 1441873, 0, 0, 1441874, 0, 0, 1441875, 0, 0, 1441876, 0, 0, 1441877, 0, 0, 1441878, 0, 0, 1441879, 0, 0, 1441880, 0, 0, 1441881, 0, 0, 1441882, 0, 0, 1441883, 0, 0, 1441884, 0, 0, 1441885, 0, 0, 1441886, 0, 0, 1441887, 0, 0, 1507328, 0, 1, 1507329, 0, 1, 1507330, 0, 1, 1507331, 0, 1, 1507332, 0, 1, 1507333, 0, 1, 1507334, 0, 1, 1507335, 0, 1, 1507336, 0, 1, 1507337, 0, 1, 1507338, 0, 1, 1507339, 0, 1, 1507340, 0, 1, 1507341, 0, 1, 1507342, 0, 1, 1507343, 0, 1, 1507344, 0, 1, 1507345, 0, 1, 1507346, 0, 1, 1507347, 0, 1, 1507348, 0, 1, 1507349, 0, 1, 1507350, 0, 1, 1507351, 0, 1, 1507352, 0, 1, 1507353, 0, 1, 1507354, 0, 1, 1507355, 0, 1, 1507356, 0, 1, 1507357, 0, 1, 1507358, 0, 1, 1507359, 0, 1, 1507360, 0, 1, 1507361, 0, 1, 1507362, 0, 1, 1507363, 0, 1, 1507364, 0, 1, 1507365, 0, 1, 1507366, 0, 1, 1507367, 0, 1, 1507368, 0, 1, 1507369, 0, 1, 1507370, 0, 1, 1507371, 0, 1, 1507372, 0, 1, 1507373, 0, 1, 1507374, 0, 1, 1507375, 0, 1, 1507376, 0, 1, 1507377, 0, 1, 1507378, 0, 1, 1507379, 0, 1, 1507380, 0, 1, 1507381, 0, 1, 1507382, 0, 1, 1507383, 0, 1, 1507384, 0, 1, 1507385, 0, 1, 1507386, 0, 1, 1507387, 0, 1, 1507388, 0, 1, 1507389, 0, 1, 1507390, 0, 1, 1507391, 0, 1, 1507392, 0, 1, 1507393, 0, 1, 1507394, 0, 1, 1507395, 0, 1, 1507396, 0, 1, 1507397, 0, 1, 1507398, 0, 1, 1507399, 0, 1, 1507400, 0, 1, 1507401, 0, 1, 1507402, 0, 1, 1507403, 0, 1, 1507404, 0, 1, 1507405, 0, 1, 1507406, 0, 1, 1507407, 0, 1, 1507408, 0, 1, 1507409, 0, 1, 1507410, 0, 1, 1507411, 0, 1, 1507412, 0, 1, 1507413, 0, 1, 1507414, 0, 1, 1507415, 0, 1, 1507416, 0, 1, 1507417, 0, 1, 1507418, 0, 1, 1507419, 0, 1, 1507420, 0, 1, 1507421, 0, 1, 1507422, 0, 1, 1507423, 0, 1 )
|
|
|
|
[node name="Player" parent="." instance=ExtResource( 1 )]
|
|
position = Vector2( 32, 160 )
|
|
|
|
[node name="Water" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 10 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
tile_data = PoolIntArray( 1441837, 0, 0, 1441838, 0, 0, 1441839, 0, 0, 1441840, 0, 0, 1441841, 0, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0 )
|
|
|
|
[node name="Ladder" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 7 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
tile_data = PoolIntArray( 327707, 1, 0, 393243, 1, 0, 458779, 1, 0, 524315, 1, 0, 589851, 1, 0, 655363, 1, 0, 655387, 1, 0, 720899, 1, 0, 720923, 1, 0, 786435, 1, 0, 786459, 1, 0, 851995, 1, 0, 917511, 1, 0, 983047, 1, 0, 1048583, 1, 0, 1114119, 1, 0 )
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
position = Vector2( -8, 104 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"]
|
|
position = Vector2( 128, -8 )
|
|
rotation = 1.5708
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Platforms" type="Node2D" parent="."]
|
|
|
|
[node name="Ladder" parent="Platforms" instance=ExtResource( 2 )]
|
|
position = Vector2( 56, 112 )
|
|
scale = Vector2( 1, 4 )
|
|
|
|
[node name="Ladder3" parent="Platforms" instance=ExtResource( 2 )]
|
|
position = Vector2( 24, 80 )
|
|
scale = Vector2( 1, 3 )
|
|
|
|
[node name="Ladder2" parent="Platforms" instance=ExtResource( 2 )]
|
|
position = Vector2( 216, 40 )
|
|
scale = Vector2( 1, 9 )
|
|
|
|
[node name="Barrier" parent="Platforms" instance=ExtResource( 15 )]
|
|
position = Vector2( 107, 86 )
|
|
scale = Vector2( 1, 26 )
|
|
cost = 20
|
|
label_offset = Vector2( 0, 4 )
|
|
|
|
[node name="Turniwood" parent="Platforms" instance=ExtResource( 16 )]
|
|
position = Vector2( 136, 144 )
|
|
|
|
[node name="Turniwood2" parent="Platforms" instance=ExtResource( 16 )]
|
|
position = Vector2( 152, 144 )
|
|
|
|
[node name="Turniwood3" parent="Platforms" instance=ExtResource( 16 )]
|
|
position = Vector2( 168, 144 )
|
|
|
|
[node name="Collectibles" type="Node2D" parent="."]
|
|
|
|
[node name="Shard" parent="Collectibles" instance=ExtResource( 12 )]
|
|
position = Vector2( 32, 40 )
|
|
|
|
[node name="Shard2" parent="Collectibles" instance=ExtResource( 12 )]
|
|
position = Vector2( 88, 104 )
|
|
|
|
[node name="Gold" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 48, 40 )
|
|
|
|
[node name="Gold2" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 64, 40 )
|
|
|
|
[node name="Gold3" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 80, 40 )
|
|
|
|
[node name="Gold4" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 168, 40 )
|
|
|
|
[node name="Gold5" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 192, 40 )
|
|
|
|
[node name="Gold6" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 136, 152 )
|
|
|
|
[node name="Gold7" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 152, 152 )
|
|
|
|
[node name="Gold8" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 104, 136 )
|
|
|
|
[node name="Gold9" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 88, 136 )
|
|
|
|
[node name="Gold10" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 72, 136 )
|
|
|
|
[node name="Gold11" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 136, 104 )
|
|
|
|
[node name="Gold12" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 152, 104 )
|
|
|
|
[node name="Gold13" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 168, 104 )
|
|
|
|
[node name="Gold14" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 184, 104 )
|
|
|
|
[node name="Gold15" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 96, 72 )
|
|
|
|
[node name="Gold17" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 72, 72 )
|
|
|
|
[node name="Gold19" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 8, 96 )
|
|
|
|
[node name="Star" parent="Collectibles" instance=ExtResource( 4 )]
|
|
position = Vector2( 16, 136 )
|
|
|
|
[node name="Star2" parent="Collectibles" instance=ExtResource( 4 )]
|
|
position = Vector2( 176, 64 )
|
|
color = 1
|
|
|
|
[node name="Star3" parent="Collectibles" instance=ExtResource( 4 )]
|
|
position = Vector2( 232, 104 )
|
|
color = 2
|
|
|
|
[node name="Gold21" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 120, 104 )
|
|
|
|
[node name="Enemies" type="Node2D" parent="."]
|
|
|
|
[node name="Slime" parent="Enemies" instance=ExtResource( 11 )]
|
|
position = Vector2( 208, 104 )
|
|
scale = Vector2( -1, 1 )
|
|
|
|
[node name="Bat" parent="Enemies" instance=ExtResource( 13 )]
|
|
position = Vector2( 152, 48 )
|
|
left_up_boundry = 4.0
|
|
right_down_boundry = 2.0
|
|
|
|
[node name="Bat2" parent="Enemies" instance=ExtResource( 13 )]
|
|
position = Vector2( 48, 104 )
|
|
left_up_boundry = 4.0
|
|
right_down_boundry = 2.0
|
|
|
|
[node name="Slime2" parent="Enemies" instance=ExtResource( 11 )]
|
|
position = Vector2( 192, 64 )
|
|
|
|
[node name="Snake" parent="Enemies" instance=ExtResource( 14 )]
|
|
position = Vector2( 88, 72 )
|
|
left_up_boundry = 2.0
|
|
right_down_boundry = 2.0
|
|
speed = 35
|
|
|
|
[node name="Snake2" parent="Enemies" instance=ExtResource( 14 )]
|
|
position = Vector2( 216, 168 )
|
|
left_up_boundry = 4.0
|
|
right_down_boundry = 4.0
|
|
speed = 60
|
|
|
|
[node name="ColorRect2" type="ColorRect" parent="."]
|
|
margin_left = 512.0
|
|
margin_right = 768.0
|
|
margin_bottom = 192.0
|
|
color = Color( 1, 0.843137, 0, 0.0901961 )
|
|
script = ExtResource( 9 )
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="ColorRect3" type="ColorRect" parent="."]
|
|
visible = false
|
|
margin_right = 256.0
|
|
margin_bottom = 8.0
|
|
color = Color( 0, 0, 0, 1 )
|
|
|
|
[node name="HUD" parent="." instance=ExtResource( 6 )]
|
|
|
|
[node name="TileMap" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 7 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|