forked from team-sg/hero-mark-2
113 lines
5.3 KiB
Text
113 lines
5.3 KiB
Text
[gd_scene load_steps=12 format=2]
|
|
|
|
[ext_resource path="res://maps/map.gd" type="Script" id=1]
|
|
[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://graphics/backgrounds/factory.png" type="Texture" id=3]
|
|
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://tilesets/t_factory.tres" type="TileSet" id=5]
|
|
[ext_resource path="res://objects/environment/tube/tube_entrance.tscn" type="PackedScene" id=6]
|
|
[ext_resource path="res://objects/environment/tube/tube_exit.tscn" type="PackedScene" id=7]
|
|
[ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=8]
|
|
[ext_resource path="res://objects/environment/ladder/ladder.tscn" type="PackedScene" id=9]
|
|
[ext_resource path="res://objects/environment/turret/turret.tscn" type="PackedScene" id=10]
|
|
|
|
[sub_resource type="RectangleShape2D" id=5]
|
|
extents = Vector2( 8, 16 )
|
|
|
|
[node name="Map" type="Node2D" groups=["map"]]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Sectors" type="CanvasLayer" parent="."]
|
|
layer = -100
|
|
visible = false
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="Sectors"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 256.0
|
|
margin_right = 256.0
|
|
color = Color( 1, 0, 0.960784, 0.121569 )
|
|
|
|
[node name="ColorRect4" type="ColorRect" parent="Sectors"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 256.0
|
|
margin_top = 192.0
|
|
margin_right = 256.0
|
|
margin_bottom = 192.0
|
|
color = Color( 0.101961, 1, 0, 0.121569 )
|
|
|
|
[node name="ColorRect3" type="ColorRect" parent="Sectors"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 256.0
|
|
margin_top = -192.0
|
|
margin_right = 256.0
|
|
margin_bottom = -192.0
|
|
color = Color( 1, 0, 0, 0.121569 )
|
|
|
|
[node name="ColorRect2" type="ColorRect" parent="Sectors"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 512.0
|
|
margin_right = 512.0
|
|
color = Color( 0, 0.0627451, 1, 0.121569 )
|
|
|
|
[node name="BackgroundLayer" type="CanvasLayer" parent="."]
|
|
layer = -50
|
|
|
|
[node name="Sprite" type="Sprite" parent="BackgroundLayer"]
|
|
texture = ExtResource( 3 )
|
|
centered = false
|
|
|
|
[node name="Camera2D" parent="." instance=ExtResource( 2 )]
|
|
scroll_v = true
|
|
|
|
[node name="Ground" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 5 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
tile_data = PoolIntArray( -65523, 1610612739, 0, -65512, 1610612738, 0, -65509, 1610612737, 0, -65508, 1610612737, 0, -65507, 1610612737, 0, -65506, 1610612737, 0, -65505, 1610612737, 0, -65504, 1610612737, 0, -65503, 1610612737, 0, -65502, 1610612737, 0, 13, 1610612739, 0, 65549, 1610612739, 0, 65554, 0, 0, 65555, 0, 2, 65556, 0, 0, 131085, 1610612739, 0, 131090, -1073741824, 2, 131091, 0, 65536, 131092, -1073741824, 2, 131096, 3, 0, 196621, 1610612739, 0, 196626, 0, 0, 196627, 0, 2, 196628, 0, 0, 196632, 3, 0, 262145, 1610612738, 0, 262148, 1, 0, 262149, 1, 0, 262150, 1, 0, 262151, 1, 0, 262152, 1, 0, 262153, 1, 0, 262154, 1, 0, 262155, 1, 0, 262156, 1, 0, 262157, 2, 0, 262168, 3, 0, 327696, 1610612738, 0, 327699, 1, 0, 327700, 1, 0, 327701, 1, 0, 327702, 1, 0, 327703, 1, 0, 327704, 2, 0, 393233, 0, 65536, 393241, 0, 0, 458753, 1610612739, 0, 524289, 1610612739, 0, 524292, 1610612738, 0, 524295, 1, 0, 524296, 1, 0, 524297, 1, 0, 524298, 1, 0, 524299, 1, 0, 524300, 1, 0, 524301, 1, 0, 524302, 1, 0, 524303, 1, 0, 524304, 1, 0, 524305, 1, 0, 524306, 1, 0, 524307, 1, 0, 524308, 1, 0, 524309, -1073741822, 0, 589825, 1610612739, 0, 655361, 1610612739, 0, 720897, 1610612739, 0, 720900, 3, 0, 720917, 3, 0, 786433, 1610612739, 0, 786436, 3, 0, 786453, 3, 0, 851969, 1610612739, 0, 851989, 3, 0, 917517, 1, 0, 917518, 1, 0, 917519, 1, 0, 917520, 1, 0, 917521, 1, 0, 917522, 1, 0, 917523, 1, 0, 917524, 1, 0, 917525, 2, 0, 1114122, 0, 0, 1114123, 0, 2, 1114124, 0, 2, 1114125, 0, 0, 1179658, -1073741824, 2, 1179659, 0, 65536, 1179660, 0, 65536, 1179661, -1073741824, 2, 1245194, 0, 0, 1245195, 0, 2, 1245196, 0, 2, 1245197, 0, 0, 1310721, 0, 1, 1310722, 0, 2, 1310723, 0, 2, 1310724, 0, 2, 1310725, 0, 2, 1310726, 0, 2, 1310727, 0, 2, 1310728, 0, 2, 1310729, 0, 3 )
|
|
|
|
[node name="Player" parent="." instance=ExtResource( 4 )]
|
|
position = Vector2( 40, 160 )
|
|
|
|
[node name="Ladder2" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 8 )
|
|
cell_size = Vector2( 8, 8 )
|
|
format = 1
|
|
tile_data = PoolIntArray( 1114119, 0, 196610, 1179655, 0, 196610, 1245191, 0, 196610 )
|
|
|
|
[node name="Ladder" parent="." instance=ExtResource( 9 )]
|
|
position = Vector2( 56, 136 )
|
|
scale = Vector2( 1, 3 )
|
|
|
|
[node name="Turret" parent="." instance=ExtResource( 10 )]
|
|
position = Vector2( 96, 160 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
position = Vector2( 8, 160 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2( 0, -16 )
|
|
shape = SubResource( 5 )
|
|
|
|
[node name="TubeEntrance" parent="." instance=ExtResource( 6 )]
|
|
position = Vector2( 104, 120 )
|
|
|
|
[node name="TubeEntrance2" parent="." instance=ExtResource( 6 )]
|
|
position = Vector2( 176, 120 )
|
|
direction = Vector2( 0, -1 )
|
|
|
|
[node name="TubeEntrance3" parent="." instance=ExtResource( 6 )]
|
|
position = Vector2( 176, 72 )
|
|
direction = Vector2( -1, 0 )
|
|
|
|
[node name="TubeEntrance4" parent="." instance=ExtResource( 6 )]
|
|
position = Vector2( 40, 72 )
|
|
direction = Vector2( 0, 1 )
|
|
|
|
[node name="TubeExit" parent="." instance=ExtResource( 7 )]
|
|
position = Vector2( 40, 104 )
|
|
|
|
[connection signal="tree_entered" from="Sectors" to="Sectors" method="set_visible" binds= [ false ]]
|