forked from team-sg/hero-mark-2
282 lines
15 KiB
Text
282 lines
15 KiB
Text
[gd_scene load_steps=25 format=2]
|
|
|
|
[ext_resource path="res://objects/environment/ladder/ladder.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://audio/music/rumble_loop.ogg" type="AudioStream" id=3]
|
|
[ext_resource path="res://objects/collectibles/star.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://objects/collectibles/key.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=6]
|
|
[ext_resource path="res://graphics/backgrounds/blue_sky.png" type="Texture" id=7]
|
|
[ext_resource path="res://tilesets/t_grass.tres" type="TileSet" id=8]
|
|
[ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=9]
|
|
[ext_resource path="res://objects/environment/death tile/death_tile.tscn" type="PackedScene" id=10]
|
|
[ext_resource path="res://objects/enemy/bat.tscn" type="PackedScene" id=12]
|
|
[ext_resource path="res://objects/enemy/snake.tscn" type="PackedScene" id=14]
|
|
[ext_resource path="res://objects/enemy/slime.tscn" type="PackedScene" id=15]
|
|
[ext_resource path="res://objects/environment/turniwood/turning_platform.tscn" type="PackedScene" id=16]
|
|
[ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=17]
|
|
[ext_resource path="res://scripts/delete_on_game_running.gd" type="Script" id=18]
|
|
[ext_resource path="res://maps/map.gd" type="Script" id=19]
|
|
[ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=21]
|
|
[ext_resource path="res://objects/lore/hills/bioslime.tscn" type="PackedScene" id=22]
|
|
[ext_resource path="res://objects/lore/hills/catbat.tscn" type="PackedScene" id=23]
|
|
[ext_resource path="res://objects/lore/hills/eviscerator.tscn" type="PackedScene" id=24]
|
|
[ext_resource path="res://objects/lore/hills/verdant_hills.tscn" type="PackedScene" id=25]
|
|
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=26]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 8, 128 )
|
|
|
|
[node name="Map" type="Node2D" groups=["map"]]
|
|
pause_mode = 1
|
|
script = ExtResource( 19 )
|
|
target_time_any = 70
|
|
target_time_100 = 180
|
|
music = ExtResource( 3 )
|
|
lore_entries = [ ExtResource( 25 ), ExtResource( 24 ), ExtResource( 22 ), ExtResource( 23 ) ]
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
layer = -2
|
|
|
|
[node name="Background" type="Sprite" parent="CanvasLayer"]
|
|
z_index = -2
|
|
texture = ExtResource( 7 )
|
|
centered = false
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="BackgroundTiles" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 8 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
|
|
[node name="Ground" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 8 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
tile_data = PoolIntArray( 262160, 0, 65537, 262161, 0, 65537, 262162, 0, 65537, 327683, 0, 65537, 327684, 0, 65537, 327685, 0, 65537, 327690, 0, 65537, 327691, 0, 65537, 327692, 0, 65537, 327693, 0, 65537, 524306, 0, 65536, 524307, 0, 65537, 524308, 0, 65537, 524309, 0, 65537, 524310, 0, 65537, 524311, 0, 65537, 524312, 0, 65538, 524315, 0, 65537, 524316, 0, 65537, 524317, 0, 65537, 524318, 0, 65537, 524319, 0, 65537, 524320, 0, 65537, 524321, 0, 65537, 524322, 0, 65537, 524323, 0, 65537, 524324, 0, 65537, 524325, 0, 65537, 524326, 0, 65537, 524327, 0, 65537, 524328, 0, 65537, 524329, 0, 65537, 524330, 0, 65537, 524331, 0, 65537, 524332, 0, 65537, 524333, 0, 65537, 524334, 0, 65537, 524335, 0, 65537, 524336, 0, 65537, 524337, 0, 65537, 524338, 0, 65537, 524339, 0, 65537, 524340, 0, 65537, 524341, 0, 65537, 655366, 0, 65536, 655367, 0, 65537, 655368, 0, 65537, 655369, 0, 65537, 655370, 0, 65537, 655371, 0, 65537, 655372, 0, 65538, 720914, 0, 65536, 720915, 0, 65537, 720916, 0, 65537, 720917, 0, 65537, 720918, 0, 65537, 720919, 0, 65537, 720920, 0, 65538, 786476, 0, 65537, 786477, 0, 65537, 786478, 0, 65537, 786483, 0, 65537, 786484, 0, 65537, 786485, 0, 65537, 851968, 0, 65537, 851969, 0, 65537, 851970, 0, 65537, 851971, 0, 65538, 917542, 0, 65537, 917543, 0, 65537, 917544, 0, 65537, 917545, 0, 65537, 917546, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983052, 0, 65537, 983053, 0, 65537, 983054, 0, 65537, 983055, 0, 65537, 983065, 0, 65537, 983066, 0, 65537, 983067, 0, 65537, 983068, 0, 65537, 983069, 0, 65537, 983070, 0, 65537, 983071, 0, 65537, 983072, 0, 65537, 983073, 0, 65537, 983074, 0, 65537, 983075, 0, 65537, 983076, 0, 65537, 1114131, 0, 65537, 1114132, 0, 65537, 1114133, 0, 65537, 1114134, 0, 65537, 1179648, 0, 65537, 1179649, 0, 65537, 1179650, 0, 65538, 1179653, 0, 65536, 1179654, 0, 65537, 1179655, 0, 65537, 1179656, 0, 65538, 1179688, 0, 131072, 1179689, 0, 0, 1179690, 0, 0, 1179691, 0, 0, 1179692, 0, 131073, 1245224, 0, 2, 1245225, 0, 1, 1245226, 0, 1, 1245227, 0, 1, 1245228, 536870912, 2, 1310731, 0, 131072, 1310732, 536870912, 0, 1310733, 536870912, 0, 1310734, 536870912, 0, 1310735, 0, 131073, 1310760, 0, 2, 1310761, 0, 1, 1310762, 0, 1, 1310763, 0, 1, 1310764, 536870912, 2, 1376266, 0, 131072, 1376267, 0, 131075, 1376268, 536870912, 1, 1376269, 536870912, 1, 1376270, 536870912, 1, 1376271, 0, 131074, 1376272, 0, 131073, 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, 131075, 1441803, 0, 1, 1441804, 0, 1, 1441805, 0, 1, 1441806, 0, 1, 1441807, 0, 1, 1441808, 0, 131074, 1441809, 0, 0, 1441810, 0, 0, 1441811, 0, 0, 1441812, 0, 0, 1441813, 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, 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, 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( 26 )]
|
|
position = Vector2( 32, 176 )
|
|
|
|
[node name="Death" type="TileMap" parent="." groups=["death"]]
|
|
tile_set = ExtResource( 9 )
|
|
cell_size = Vector2( 8, 8 )
|
|
collision_layer = 32
|
|
format = 1
|
|
tile_data = PoolIntArray( -1179648, 0, 0, 1441814, 10, 0, 1441815, 10, 0, 1441816, 10, 0, 1441837, 10, 0, 1441838, 10, 0, 1441839, 10, 0, 1441840, 10, 0, 1441841, 10, 0, 1441842, 10, 0, 1441843, 10, 0, 1441844, 10, 0, 1507350, 11, 0, 1507351, 11, 0, 1507352, 11, 0, 1507373, 11, 0, 1507374, 11, 0, 1507375, 11, 0, 1507376, 11, 0, 1507377, 11, 0, 1507378, 11, 0, 1507379, 11, 0, 1507380, 11, 0 )
|
|
|
|
[node name="Ladder" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 21 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
tile_data = PoolIntArray( 327701, 0, 0, 393237, 0, 0, 458773, 0, 0, 655362, 0, 0, 720898, 0, 0, 786434, 0, 0, 983046, 0, 0, 1048582, 0, 0, 1114118, 0, 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( 776, 112 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Environment" type="Node2D" parent="."]
|
|
|
|
[node name="Ladders" type="Node2D" parent="Environment"]
|
|
|
|
[node name="Ladder" parent="Environment/Ladders" instance=ExtResource( 1 )]
|
|
position = Vector2( 48, 120 )
|
|
scale = Vector2( 1, 3 )
|
|
|
|
[node name="Ladder2" parent="Environment/Ladders" instance=ExtResource( 1 )]
|
|
position = Vector2( 16, 80 )
|
|
scale = Vector2( 1, 3 )
|
|
|
|
[node name="TurningPlatforms" type="Node2D" parent="Environment"]
|
|
|
|
[node name="TurningPlatform" parent="Environment/TurningPlatforms" instance=ExtResource( 16 )]
|
|
position = Vector2( 120, 72 )
|
|
|
|
[node name="TurningPlatform2" parent="Environment/TurningPlatforms" instance=ExtResource( 16 )]
|
|
position = Vector2( 304, 160 )
|
|
|
|
[node name="TurningPlatform3" parent="Environment/TurningPlatforms" instance=ExtResource( 16 )]
|
|
position = Vector2( 368, 144 )
|
|
|
|
[node name="TurningPlatform4" parent="Environment/TurningPlatforms" instance=ExtResource( 16 )]
|
|
position = Vector2( 408, 144 )
|
|
|
|
[node name="DeathTile" parent="Environment" instance=ExtResource( 10 )]
|
|
position = Vector2( 176, 192 )
|
|
scale = Vector2( 3, 1 )
|
|
|
|
[node name="DeathTile2" parent="Environment" instance=ExtResource( 10 )]
|
|
position = Vector2( 360, 192 )
|
|
scale = Vector2( 8, 1 )
|
|
|
|
[node name="Collectibles" type="Node2D" parent="."]
|
|
|
|
[node name="Star" parent="Collectibles" instance=ExtResource( 4 )]
|
|
position = Vector2( 8, 136 )
|
|
|
|
[node name="Star2" parent="Collectibles" instance=ExtResource( 4 )]
|
|
position = Vector2( 168, 80 )
|
|
color = 1
|
|
|
|
[node name="Key" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 48, 168 )
|
|
|
|
[node name="Key2" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 72, 168 )
|
|
|
|
[node name="Key3" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 96, 152 )
|
|
|
|
[node name="Key5" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 64, 136 )
|
|
|
|
[node name="Key6" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 48, 72 )
|
|
|
|
[node name="Key7" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 72, 72 )
|
|
|
|
[node name="Key8" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 96, 72 )
|
|
|
|
[node name="Key9" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 144, 56 )
|
|
|
|
[node name="Key10" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 136, 24 )
|
|
|
|
[node name="Key11" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 192, 56 )
|
|
|
|
[node name="Key4" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 112, 152 )
|
|
|
|
[node name="Key12" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 152, 168 )
|
|
|
|
[node name="Key15" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 200, 112 )
|
|
|
|
[node name="Key16" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 248, 112 )
|
|
|
|
[node name="Key20" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 360, 88 )
|
|
|
|
[node name="Key21" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 264, 112 )
|
|
|
|
[node name="Key18" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 152, 128 )
|
|
|
|
[node name="Key19" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 176, 128 )
|
|
|
|
[node name="Key17" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 224, 112 )
|
|
|
|
[node name="Key13" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 120, 112 )
|
|
|
|
[node name="Key14" parent="Collectibles" instance=ExtResource( 5 )]
|
|
position = Vector2( 80, 112 )
|
|
|
|
[node name="Shard" parent="Collectibles" instance=ExtResource( 17 )]
|
|
position = Vector2( 32, 32 )
|
|
|
|
[node name="Shard2" parent="Collectibles" instance=ExtResource( 17 )]
|
|
position = Vector2( 416, 88 )
|
|
|
|
[node name="Enemies" type="Node2D" parent="."]
|
|
|
|
[node name="Bat" parent="Enemies" instance=ExtResource( 12 )]
|
|
position = Vector2( 40, 104 )
|
|
left_up_boundary = 4.0
|
|
right_down_boundary = 2.0
|
|
|
|
[node name="Bat3" parent="Enemies" instance=ExtResource( 12 )]
|
|
position = Vector2( 168, 120 )
|
|
left_up_boundary = 4.0
|
|
right_down_boundary = 2.0
|
|
|
|
[node name="Bat4" parent="Enemies" instance=ExtResource( 12 )]
|
|
position = Vector2( 392, 144 )
|
|
left_up_boundary = 4.0
|
|
right_down_boundary = 2.0
|
|
|
|
[node name="Bat5" parent="Enemies" instance=ExtResource( 12 )]
|
|
position = Vector2( 392, 88 )
|
|
left_up_boundary = 5.0
|
|
right_down_boundary = 2.0
|
|
|
|
[node name="Bat2" parent="Enemies" instance=ExtResource( 12 )]
|
|
position = Vector2( 64, 32 )
|
|
left_up_boundary = 3.0
|
|
right_down_boundary = 2.0
|
|
speed = 25
|
|
|
|
[node name="Snake" parent="Enemies" instance=ExtResource( 14 )]
|
|
position = Vector2( 64, 72 )
|
|
left_up_boundary = 1.0
|
|
right_down_boundary = 5.0
|
|
|
|
[node name="Snake3" parent="Enemies" instance=ExtResource( 14 )]
|
|
position = Vector2( 320, 104 )
|
|
left_up_boundary = 2.0
|
|
right_down_boundary = 3.0
|
|
speed = 70
|
|
|
|
[node name="Snake2" parent="Enemies" instance=ExtResource( 14 )]
|
|
position = Vector2( 96, 32 )
|
|
left_up_boundary = 2.0
|
|
right_down_boundary = 2.0
|
|
|
|
[node name="Slime" parent="Enemies" instance=ExtResource( 15 )]
|
|
position = Vector2( 104, 112 )
|
|
scale = Vector2( -1, 1 )
|
|
|
|
[node name="Slime2" parent="Enemies" instance=ExtResource( 15 )]
|
|
position = Vector2( 232, 168 )
|
|
scale = Vector2( -1, 1 )
|
|
|
|
[node name="Slime3" parent="Enemies" instance=ExtResource( 15 )]
|
|
position = Vector2( 288, 112 )
|
|
scale = Vector2( -1, 1 )
|
|
|
|
[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( 18 )
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="ColorRect3" type="ColorRect" parent="."]
|
|
margin_left = 256.0
|
|
margin_right = 512.0
|
|
margin_bottom = 192.0
|
|
color = Color( 1, 0, 0.631373, 0.0901961 )
|
|
script = ExtResource( 18 )
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="HUD" parent="." instance=ExtResource( 2 )]
|
|
song_name = "♫Rumble"
|
|
|
|
[node name="TileMap" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 8 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
|
|
[node name="Camera2D" parent="." instance=ExtResource( 6 )]
|