crabs-game/scenes/game1.tscn

110 lines
15 KiB
Plaintext
Raw Normal View History

2020-08-17 17:27:28 +02:00
[gd_scene load_steps=12 format=2]
2020-08-17 12:15:41 +02:00
[ext_resource path="res://images/game1/opening.tres" type="SpriteFrames" id=1]
[ext_resource path="res://images/game1/opening2bg.tres" type="SpriteFrames" id=2]
[ext_resource path="res://scripts/game1/Game1Script.gd" type="Script" id=3]
2020-08-17 17:27:28 +02:00
[ext_resource path="res://scenes/game1/opening2_player.tscn" type="PackedScene" id=4]
[ext_resource path="res://scripts/game1/opening2_next_step_trigger.gd" type="Script" id=5]
2020-08-17 17:27:28 +02:00
[ext_resource path="res://images/game1/tileset.tres" type="TileSet" id=6]
[ext_resource path="res://images/game1/game1_player.tres" type="SpriteFrames" id=7]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 114.063, 10 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 117.734, 10 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 13.4499, 41.9587 )
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 6.44203, 23.0973 )
2020-08-17 12:15:41 +02:00
[node name="Node2D" type="Node2D"]
script = ExtResource( 3 )
2020-08-17 17:27:28 +02:00
[node name="Game" type="Node2D" parent="."]
[node name="Background" type="TileMap" parent="Game"]
tile_set = ExtResource( 6 )
cell_size = Vector2( 16, 16 )
cell_quadrant_size = 8
cell_custom_transform = Transform2D( 0, 0, 0, 0, 0, 0 )
format = 1
tile_data = PoolIntArray( -393222, 0, 0, -393221, 0, 0, -393220, 0, 0, -393219, 0, 0, -393218, 0, 0, -393217, 0, 0, -458752, 0, 0, -458751, 0, 0, -458750, 0, 0, -458749, 0, 0, -458748, 0, 0, -458747, 0, 0, -458746, 0, 0, -458745, 0, 0, -458744, 0, 0, -458743, 0, 0, -458742, 0, 0, -458741, 0, 0, -458740, 0, 0, -458739, 0, 0, -458738, 0, 0, -458737, 0, 0, -327686, 0, 0, -327685, 0, 0, -327684, 0, 0, -327683, 0, 0, -327682, 0, 0, -327681, 0, 0, -393216, 0, 0, -393215, 0, 0, -393214, 0, 0, -393213, 0, 0, -393212, 0, 0, -393211, 0, 0, -393210, 0, 0, -393209, 0, 0, -393208, 0, 0, -393207, 0, 0, -393206, 0, 0, -393205, 0, 0, -393204, 0, 0, -393203, 0, 0, -393202, 0, 0, -393201, 0, 0, -262150, 0, 0, -262149, 0, 0, -262148, 0, 0, -262147, 0, 0, -262146, 0, 0, -262145, 0, 0, -327680, 0, 0, -327679, 0, 0, -327678, 0, 0, -327677, 0, 0, -327676, 0, 0, -327675, 0, 0, -327674, 0, 0, -327673, 0, 0, -327672, 0, 0, -327671, 0, 0, -327670, 0, 0, -327669, 0, 0, -327668, 0, 0, -327667, 0, 0, -327666, 0, 0, -327665, 0, 0, -196614, 0, 0, -196613, 0, 0, -196612, 0, 0, -196611, 0, 0, -196610, 0, 0, -196609, 0, 0, -262144, 0, 0, -262143, 0, 0, -262142, 0, 0, -262141, 0, 0, -262140, 0, 0, -262139, 0, 0, -262138, 0, 0, -262137, 0, 0, -262136, 0, 0, -262135, 0, 0, -262134, 0, 0, -262133, 0, 0, -262132, 0, 0, -262131, 0, 0, -262130, 0, 0, -262129, 0, 0, -131078, 0, 0, -131077, 0, 0, -131076, 0, 0, -131075, 0, 0, -131074, 0, 0, -131073, 0, 0, -196608, 0, 0, -196607, 0, 0, -196606, 0, 0, -196605, 0, 0, -196604, 0, 0, -196603, 0, 0, -196602, 0, 0, -196601, 0, 0, -196600, 0, 0, -196599, 0, 0, -196598, 0, 0, -196597, 0, 0, -196596, 0, 0, -196595, 0, 0, -196594, 0, 0, -196593, 0, 0, -65542, 0, 0, -65541, 0, 0, -65540, 0, 0, -65539, 0, 0, -65538, 0, 0, -65537, 0, 0, -131072, 0, 0, -131071, 0, 0, -131070, 0, 0, -131069, 0, 0, -131068, 0, 0, -131067, 0, 0, -131066, 0, 0, -131065, 0, 0, -131064, 0, 0, -131063, 0, 0, -131062, 0, 0, -131061, 0, 0, -131060, 0, 0, -131059, 0, 0, -131058, 0, 0, -131057, 0, 0, -6, 0, 0, -5, 0, 0, -4, 0, 0, -3, 0, 0, -2, 0, 0, -1, 0, 0, -65536, 0, 0, -65535, 0, 0, -65534, 0, 0, -65533, 0, 0, -65532, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, 0, -65528, 0, 0, -65527, 0, 0, -65526, 0, 0, -65525, 0, 0, -65524, 0, 0, -65523, 0, 0, -65522, 0, 0, -65521, 0, 0, 65530, 0, 0, 65531, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 0, 0, 8, 0, 0, 9, 0, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 14, 0, 0, 15, 0, 0, 131066, 0, 0, 131067, 0, 0, 131068, 0, 0, 131069, 0, 0, 131070, 0, 0, 131071, 0, 0, 65536, 0, 0, 65537, 0, 0, 65538, 0, 0, 65539, 0, 0, 65540, 0, 0, 65541, 0, 0, 65542, 0, 0, 65543, 0, 0, 65544, 0, 0, 65545, 0, 0, 65546, 0, 0, 65547, 0, 0, 65548, 0, 0, 65549, 0, 0, 65550, 0, 0, 65551, 0, 0, 196602, 0, 0, 196603, 0, 0, 196604, 0, 0, 196605, 0, 0, 196606, 0, 0, 196607, 0, 0, 131072, 0, 0, 131073, 0, 0, 131074, 0, 0, 131075, 0, 0, 131076, 0, 0, 131077, 0, 0, 131078, 0, 0, 131079, 0, 0, 131080, 0, 0, 131081, 0, 0, 131082, 0, 0, 131083, 0, 0, 131084, 0, 0, 131085, 0, 0, 131086, 0, 0, 131087, 0, 0, 262138, 0, 0, 262139, 0, 0, 262140, 0, 0, 262141, 0, 0, 262142, 0, 0, 262143, 0, 0, 196608, 0, 0, 196609, 0, 0, 196610, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0, 196617, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196622, 0, 0, 196623, 0, 0, 327674, 0, 0, 327675, 0, 0, 327676, 0, 0, 327677, 0, 0, 327678, 0, 0, 327679, 0, 0, 262144, 0, 0, 262145, 0, 0, 262146, 0, 0, 262147, 0, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 0, 0, 262152, 0, 0, 262153, 0, 0, 262154, 0, 0, 262155, 0, 0, 262156, 0, 0, 262157, 0, 0, 262158, 0, 0, 262159, 0, 0, 393210, 0, 0, 393211, 0, 0, 393212, 0, 0, 393213, 0, 0, 393214, 0, 0, 393215, 0, 0, 327680, 0, 0, 327681, 0, 0, 327682, 0, 0, 327683, 0, 0, 327684, 0, 0, 327685, 0, 0, 327686, 0, 0, 327687, 0, 0, 327688, 0, 0, 327689, 0, 0, 327690, 0, 0, 327691, 0, 0, 327692, 0, 0, 327693, 0, 0, 327694, 0, 0, 327695, 0, 0, 458746, 0, 0, 458747, 0, 0, 458748, 0, 0, 458749, 0, 0, 458
2020-08-17 17:27:28 +02:00
[node name="Ground" type="TileMap" parent="Game"]
tile_set = ExtResource( 6 )
cell_size = Vector2( 16, 16 )
cell_quadrant_size = 8
cell_custom_transform = Transform2D( 0, 0, 0, 0, 0, 0 )
format = 1
tile_data = PoolIntArray( -393222, 0, 0, -393221, 49, 6, -393220, 49, 10, -393219, 49, 6, -393218, 49, 4, -393217, 49, 65541, -458752, 49, 8, -458751, 49, 65551, -458750, 49, 4, -458749, 49, 2, -458748, 49, 9, -458747, 49, 65536, -458746, 49, 65551, -458745, 49, 8, -458744, 49, 65542, -458743, 49, 65538, -458742, 49, 12, -458741, 49, 12, -458740, 49, 65541, -458739, 49, 65546, -458738, 49, 2, -458737, 49, 65553, -327686, 49, 18, -327685, 0, 0, -327684, 0, 0, -327683, 49, 65552, -327682, 49, 1, -327681, 49, 65538, -393216, 49, 65545, -393215, 49, 65538, -393214, 49, 65540, -393213, 49, 65554, -393212, 49, 11, -393211, 49, 65539, -393210, 49, 65552, -393209, 49, 4, -393208, 49, 65552, -393207, 49, 65540, -393206, 49, 65555, -393205, 49, 65551, -393204, 49, 65537, -393203, 49, 7, -393202, 49, 13, -393201, 49, 65548, -262150, 49, 3, -262149, 49, 65540, -262148, 49, 7, -262147, 0, 0, -262146, 49, 0, -262145, 49, 65554, -327680, 49, 65551, -327679, 49, 4, -327678, 49, 65543, -327677, 49, 65547, -327676, 49, 65541, -327675, 49, 0, -327674, 49, 19, -327673, 49, 17, -327672, 49, 65552, -327671, 49, 65539, -327670, 49, 8, -327669, 49, 8, -327668, 49, 65553, -327667, 49, 16, -327666, 49, 65537, -327665, 49, 19, -196614, 49, 65550, -196613, 49, 65539, -196612, 49, 13, -196611, 49, 65552, -196610, 0, 0, -196609, 49, 18, -262144, 49, 5, -262143, 49, 12, -262142, 49, 65543, -262141, 49, 18, -262140, 49, 65539, -262139, 49, 8, -262138, 49, 65536, -262137, 49, 65548, -262136, 49, 11, -262135, 49, 65554, -262134, 49, 65545, -262133, 49, 3, -262132, 49, 65552, -262131, 49, 65545, -262130, 49, 10, -262129, 49, 5, -131078, 49, 6, -131077, 49, 14, -131076, 49, 65537, -131075, 49, 65537, -131074, 49, 15, -131073, 0, 0, -196608, 0, 0, -196607, 49, 65539, -196606, 49, 65539, -196605, 49, 15, -196604, 49, 65550, -196603, 49, 13, -196602, 49, 65552, -196601, 49, 65547, -196600, 49, 7, -196599, 49, 14, -196598, 49, 2, -196597, 49, 65540, -196596, 49, 65545, -196595, 49, 65536, -196594, 49, 65554, -196593, 49, 65537, -65542, 49, 65543, -65541, 49, 65543, -65540, 49, 65539, -65539, 49, 65538, -65538, 49, 19, -65537, 49, 19, -131072, 49, 65546, -131071, 0, 0, -131070, 49, 12, -131069, 49, 4, -131068, 49, 15, -131067, 49, 5, -131066, 49, 9, -131065, 49, 10, -131064, 49, 65549, -131063, 49, 65550, -131062, 49, 65547, -131061, 49, 17, -131060, 49, 65548, -131059, 49, 1, -131058, 49, 5, -131057, 49, 65542, -6, 49, 13, -5, 49, 10, -4, 49, 65541, -3, 49, 7, -2, 49, 65539, -1, 49, 65554, -65536, 49, 65554, -65535, 49, 19, -65534, 0, 0, -65533, 0, 0, -65532, 49, 65547, -65531, 49, 9, -65530, 49, 65552, -65529, 49, 13, -65528, 49, 65553, -65527, 49, 65551, -65526, 49, 0, -65525, 49, 14, -65524, 49, 65544, -65523, 49, 65552, -65522, 49, 65538, -65521, 49, 65540, 65530, 49, 1, 65531, 49, 65552, 65532, 49, 65550, 65533, 49, 0, 65534, 49, 65550, 65535, 49, 65549, 0, 49, 2, 1, 49, 19, 2, 49, 6, 3, 49, 0, 4, 0, 0, 5, 49, 11, 6, 49, 65555, 7, 49, 65544, 8, 49, 18, 9, 49, 65554, 10, 49, 65541, 11, 49, 18, 12, 49, 14, 13, 49, 10, 14, 49, 65553, 15, 49, 4, 131066, 49, 65542, 131067, 49, 65547, 131068, 49, 65546, 131069, 49, 19, 131070, 49, 65544, 131071, 49, 65546, 65536, 49, 65544, 65537, 49, 19, 65538, 49, 65545, 65539, 49, 14, 65540, 49, 65549, 65541, 0, 0, 65542, 49, 10, 65543, 49, 65537, 65544, 49, 65540, 65545, 49, 10, 65546, 49, 65555, 65547, 49, 65554, 65548, 49, 65544, 65549, 49, 65540, 65550, 49, 65548, 65551, 49, 65543, 196602, 49, 15, 196603, 49, 14, 196604, 49, 65548, 196605, 49, 65547, 196606, 49, 7, 196607, 49, 65547, 131072, 49, 9, 131073, 49, 65551, 131074, 49, 65552, 131075, 49, 65546, 131076, 49, 14, 131077, 49, 65552, 131078, 0, 0, 131079, 0, 0, 131080, 49, 65547, 131081, 49, 65541, 131082, 49, 7, 131083, 49, 65538, 131084, 49, 65541, 131085, 49, 2, 131086, 49, 65540, 131087, 49, 6, 262138, 49, 65537, 262139, 49, 12, 262140, 49, 65551, 262141, 49, 65539, 262142, 49, 13, 262143, 49, 65550, 196608, 49, 1, 196609, 49, 12, 196610, 49, 65537, 196611, 49, 65552, 196612, 49, 7, 196613, 49, 65552, 196614, 49, 65536, 196615, 49, 65544, 196616, 0, 0, 196617,
2020-08-17 17:27:28 +02:00
[node name="Props" type="TileMap" parent="Game"]
tile_set = ExtResource( 6 )
cell_size = Vector2( 16, 16 )
cell_quadrant_size = 8
cell_custom_transform = Transform2D( 0, 0, 0, 0, 0, 0 )
format = 1
tile_data = PoolIntArray( -393214, 50, 65547, -393209, 50, 65543, -393204, 14, 0, -262149, 47, 0, -327673, 44, 0, -196611, 50, 65542, -196609, 46, 0, -262144, 17, 0, -262142, 37, 0, -196605, 50, 65547, -196599, 50, 65539, -131060, 50, 6, -65534, 36, 0, 65532, 50, 13, 11, 9, 0, 65537, 50, 65542, 196619, 46, 0, 196621, 50, 65536, 327675, 50, 65543, 327677, 48, 0, 262144, 50, 65547, 262146, 26, 0, 262153, 50, 9, 262155, 38, 0, 327686, 6, 0, 393217, 45, 0, 393220, 50, 65547, 393223, 34, 0, 524286, 50, 65548, 458764, 50, 1 )
2020-08-17 17:27:28 +02:00
[node name="Player" type="AnimatedSprite" parent="Game"]
frames = ExtResource( 7 )
2020-08-17 12:15:41 +02:00
2020-08-17 17:27:28 +02:00
[node name="Camera2D" type="Camera2D" parent="Game/Player"]
2020-08-17 17:27:28 +02:00
[node name="Opening2" type="Node2D" parent="."]
visible = false
[node name="Opening2Bg" type="AnimatedSprite" parent="Opening2"]
frames = ExtResource( 2 )
centered = false
2020-08-17 17:27:28 +02:00
[node name="Player" parent="Opening2" instance=ExtResource( 4 )]
position = Vector2( -6.22136, 83.6906 )
2020-08-17 17:27:28 +02:00
[node name="walls" type="Node2D" parent="Opening2"]
2020-08-17 17:27:28 +02:00
[node name="StaticBody2D" type="StaticBody2D" parent="Opening2/walls"]
2020-08-17 12:15:41 +02:00
position = Vector2( -6.22136, 83.6906 )
2020-08-17 17:27:28 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D"]
position = Vector2( 99.7793, 36.875 )
shape = SubResource( 1 )
2020-08-17 17:27:28 +02:00
[node name="StaticBody2D2" type="StaticBody2D" parent="Opening2/walls"]
position = Vector2( -6.22136, 83.6906 )
2020-08-17 17:27:28 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D2"]
position = Vector2( 101.948, -20.3563 )
shape = SubResource( 2 )
2020-08-17 17:27:28 +02:00
[node name="StaticBody2D3" type="StaticBody2D" parent="Opening2/walls"]
position = Vector2( -6.22136, 83.6906 )
2020-08-17 17:27:28 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D3"]
position = Vector2( -25.6957, 6 )
shape = SubResource( 3 )
2020-08-17 17:27:28 +02:00
[node name="StaticBody2D4" type="StaticBody2D" parent="Opening2/walls"]
position = Vector2( -6.22136, 83.6906 )
2020-08-17 17:27:28 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D4"]
position = Vector2( 224.921, 6 )
shape = SubResource( 3 )
2020-08-17 17:27:28 +02:00
[node name="next_step_trigger" type="Area2D" parent="Opening2"]
position = Vector2( -6.22136, 83.6906 )
script = ExtResource( 5 )
root_path = NodePath("../..")
2020-08-17 17:27:28 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/next_step_trigger"]
position = Vector2( 210.738, 5 )
shape = SubResource( 4 )
2020-08-17 17:27:28 +02:00
[node name="Opening1" type="AnimatedSprite" parent="."]
visible = false
frames = ExtResource( 1 )
centered = false