crabs-game/scenes/oil_tanker.tscn

290 lines
10 KiB
Plaintext
Raw Permalink Normal View History

2020-08-20 13:27:52 +02:00
[gd_scene load_steps=41 format=2]
2020-08-19 13:55:48 +02:00
[ext_resource path="res://scripts/oil_tanker.gd" type="Script" id=1]
[ext_resource path="res://images/oil_tanker/OilTanker.tres" type="SpriteFrames" id=2]
2020-08-20 13:21:04 +02:00
[ext_resource path="res://images/oil_tanker/oilTankerInside_Background.tres" type="SpriteFrames" id=3]
2020-08-19 13:55:48 +02:00
[ext_resource path="res://scenes/SidePlayer.tscn" type="PackedScene" id=4]
[ext_resource path="res://images/oil_tanker/oilTankerInside_Foreground.png" type="Texture" id=5]
[ext_resource path="res://scripts/GooEmitter.gd" type="Script" id=6]
2020-08-20 10:35:25 +02:00
[ext_resource path="res://images/oil_tanker/HerbertMustGo.tres" type="SpriteFrames" id=7]
[ext_resource path="res://images/goo/BigGoo1.tres" type="Resource" id=8]
2020-08-20 12:01:19 +02:00
[ext_resource path="res://scenes/dialogue.tscn" type="PackedScene" id=9]
[ext_resource path="res://scripts/UI.gd" type="Script" id=10]
[ext_resource path="res://images/goo/BigGoo2.tres" type="Resource" id=11]
[ext_resource path="res://images/goo/goo5.tres" type="Resource" id=12]
[ext_resource path="res://images/goo/goo8.tres" type="Resource" id=13]
[ext_resource path="res://images/goo/goo4.tres" type="Resource" id=14]
[ext_resource path="res://images/goo/goo2.tres" type="Resource" id=15]
[ext_resource path="res://images/goo/goo7.tres" type="Resource" id=16]
[ext_resource path="res://images/goo/goo6.tres" type="Resource" id=17]
[ext_resource path="res://images/goo/goo1.tres" type="Resource" id=18]
[ext_resource path="res://images/goo/goo3.tres" type="Resource" id=19]
2020-08-19 18:59:29 +02:00
[ext_resource path="res://images/oil_tanker/OilTankerLeak_Background.png" type="Texture" id=20]
[ext_resource path="res://images/oil_tanker/OilTankerLeak_Foreground.png" type="Texture" id=21]
[ext_resource path="res://images/oil_tanker/OilTankerLeak_Midground.png" type="Texture" id=22]
[ext_resource path="res://images/oil_tanker/OilTankerLeak_Midground_GooMask.png" type="Texture" id=23]
2020-08-20 13:27:52 +02:00
[ext_resource path="res://images/oil_tanker/OilTankerCrabnimation.tres" type="SpriteFrames" id=24]
2020-08-19 13:55:48 +02:00
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=1]
2020-08-19 18:59:29 +02:00
extents = Vector2( 10, 34.563 )
2020-08-19 13:55:48 +02:00
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=2]
2020-08-19 18:59:29 +02:00
extents = Vector2( 10, 34.563 )
2020-08-19 13:55:48 +02:00
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=3]
2020-08-19 18:59:29 +02:00
extents = Vector2( 276.861, 9.9101 )
2020-08-19 13:55:48 +02:00
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=4]
2020-08-19 18:59:29 +02:00
extents = Vector2( 276.861, 9.9101 )
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=5]
2020-08-19 18:59:29 +02:00
extents = Vector2( 175.74, 9.07445 )
2020-08-20 16:33:27 +02:00
[sub_resource type="CircleShape2D" id=6]
2020-08-19 18:59:29 +02:00
radius = 31.4057
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=7]
2020-08-20 10:35:25 +02:00
extents = Vector2( 10, 22.4756 )
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=8]
2020-08-19 18:59:29 +02:00
extents = Vector2( 10, 27.9493 )
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=9]
2020-08-19 18:59:29 +02:00
extents = Vector2( 10, 27.9493 )
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=10]
2020-08-19 18:59:29 +02:00
extents = Vector2( 20.5315, 7.16187 )
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=11]
2020-08-19 13:55:48 +02:00
extents = Vector2( 85.2849, 7.16187 )
2020-08-20 16:33:27 +02:00
[sub_resource type="SegmentShape2D" id=12]
2020-08-19 18:59:29 +02:00
b = Vector2( 70.2283, 33.9024 )
2020-08-19 13:55:48 +02:00
2020-08-20 16:33:27 +02:00
[sub_resource type="SegmentShape2D" id=13]
2020-08-19 18:59:29 +02:00
b = Vector2( 122.205, -7.65517 )
2020-08-19 13:55:48 +02:00
2020-08-20 16:33:27 +02:00
[sub_resource type="SegmentShape2D" id=14]
2020-08-19 18:59:29 +02:00
b = Vector2( 107.673, 44.0238 )
2020-08-19 13:55:48 +02:00
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=15]
2020-08-19 18:59:29 +02:00
extents = Vector2( 4.85875, 16.0913 )
2020-08-20 16:33:27 +02:00
[sub_resource type="RectangleShape2D" id=16]
2020-08-20 12:01:19 +02:00
extents = Vector2( 4.85875, 16.0913 )
2020-08-19 13:55:48 +02:00
[node name="Node2D" type="Node2D"]
script = ExtResource( 1 )
2020-08-20 12:01:19 +02:00
dialogue_1 = "res://dialogues/oilTanker1.json"
dialogue_2 = "res://dialogues/oilTanker2.json"
dialogue_3 = "res://dialogues/oilTanker3.json"
dialogue_4 = "res://dialogues/oilTanker4.json"
dialogue_5 = "res://dialogues/oilTanker5.json"
2020-08-19 13:55:48 +02:00
2020-08-20 10:35:25 +02:00
[node name="HerbertMustGo" type="AnimatedSprite" parent="."]
frames = ExtResource( 7 )
centered = false
2020-08-19 18:59:29 +02:00
[node name="InsideOilTanker2" type="Sprite" parent="."]
texture = ExtResource( 20 )
centered = false
[node name="Camera2D" type="Camera2D" parent="InsideOilTanker2"]
anchor_mode = 0
[node name="Player" parent="InsideOilTanker2" instance=ExtResource( 4 )]
position = Vector2( 1.05231, 91.7763 )
collision_layer = 4
collision_mask = 4
[node name="Parallax" type="Node2D" parent="InsideOilTanker2"]
[node name="Prop2" type="Sprite" parent="InsideOilTanker2/Parallax"]
texture = ExtResource( 22 )
centered = false
[node name="GooEmitter2" type="Node2D" parent="InsideOilTanker2/Parallax/Prop2"]
position = Vector2( 355.334, 55.192 )
script = ExtResource( 6 )
goo_particles = [ ExtResource( 8 ), ExtResource( 11 ), ExtResource( 18 ), ExtResource( 15 ), ExtResource( 19 ), ExtResource( 14 ), ExtResource( 12 ), ExtResource( 17 ), ExtResource( 16 ), ExtResource( 13 ) ]
direction = Vector2( -1, 0 )
spawn_radius = 16
despawn_radius = 600
[node name="Mask" type="Sprite" parent="InsideOilTanker2/Parallax/Prop2"]
texture = ExtResource( 23 )
centered = false
[node name="Prop1" type="Sprite" parent="InsideOilTanker2/Parallax"]
texture = ExtResource( 21 )
centered = false
[node name="walls" type="Node2D" parent="InsideOilTanker2"]
[node name="Wall" type="StaticBody2D" parent="InsideOilTanker2/walls"]
collision_layer = 2147483652
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker2/walls/Wall"]
position = Vector2( -23.7448, 88.1799 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 1 )
2020-08-19 18:59:29 +02:00
[node name="Wall4" type="StaticBody2D" parent="InsideOilTanker2/walls"]
collision_layer = 2147483652
collision_mask = 4
__meta__ = {
"_editor_description_": ""
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker2/walls/Wall4"]
position = Vector2( 520.202, 91.1098 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 2 )
2020-08-19 18:59:29 +02:00
[node name="Wall2" type="StaticBody2D" parent="InsideOilTanker2/walls"]
collision_layer = 2147483652
collision_mask = 4
__meta__ = {
"_editor_description_": ""
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker2/walls/Wall2"]
position = Vector2( 249.14, 122.296 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 3 )
2020-08-19 18:59:29 +02:00
[node name="Wall3" type="StaticBody2D" parent="InsideOilTanker2/walls"]
collision_layer = 2147483652
collision_mask = 4
__meta__ = {
"_editor_description_": ""
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker2/walls/Wall3"]
position = Vector2( 244.468, 58.9552 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 4 )
2020-08-19 18:59:29 +02:00
[node name="Wall5" type="StaticBody2D" parent="InsideOilTanker2/walls"]
collision_layer = 2147483652
collision_mask = 4
__meta__ = {
"_editor_description_": ""
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker2/walls/Wall5"]
position = Vector2( 342.076, 75.064 )
rotation = 0.0123712
2020-08-20 16:33:27 +02:00
shape = SubResource( 5 )
2020-08-19 18:59:29 +02:00
[node name="Wall6" type="StaticBody2D" parent="InsideOilTanker2/walls"]
collision_layer = 2147483652
collision_mask = 4
__meta__ = {
"_editor_description_": ""
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker2/walls/Wall6"]
position = Vector2( 168.01, 51.7275 )
rotation = 0.0123712
2020-08-20 16:33:27 +02:00
shape = SubResource( 6 )
2020-08-20 10:35:25 +02:00
[node name="NextTrigger" type="Area2D" parent="InsideOilTanker2"]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker2/NextTrigger"]
position = Vector2( 330.844, 100.227 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 7 )
2020-08-19 18:59:29 +02:00
2020-08-20 13:21:04 +02:00
[node name="InsideOilTanker" type="AnimatedSprite" parent="."]
frames = ExtResource( 3 )
playing = true
2020-08-19 13:55:48 +02:00
centered = false
[node name="Player" parent="InsideOilTanker" instance=ExtResource( 4 )]
2020-08-19 18:59:29 +02:00
position = Vector2( -1.71286, 64.9552 )
2020-08-19 13:55:48 +02:00
[node name="GooEmitter" type="Node2D" parent="InsideOilTanker"]
2020-08-19 18:59:29 +02:00
position = Vector2( 208.261, 55.1923 )
script = ExtResource( 6 )
goo_particles = [ ExtResource( 8 ), ExtResource( 11 ), ExtResource( 18 ), ExtResource( 15 ), ExtResource( 19 ), ExtResource( 14 ), ExtResource( 12 ), ExtResource( 17 ), ExtResource( 16 ), ExtResource( 13 ) ]
2020-08-19 18:59:29 +02:00
direction = Vector2( -1, 0 )
spawn_rate = 2
2020-08-19 13:55:48 +02:00
[node name="Foreground" type="Sprite" parent="InsideOilTanker"]
texture = ExtResource( 5 )
centered = false
[node name="walls" type="Node2D" parent="InsideOilTanker"]
[node name="Wall" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall"]
2020-08-19 18:59:29 +02:00
position = Vector2( 208.261, 91.1098 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 8 )
2020-08-19 13:55:48 +02:00
[node name="Wall2" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall2"]
2020-08-19 18:59:29 +02:00
position = Vector2( -23.7448, 81.6604 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 9 )
2020-08-19 13:55:48 +02:00
[node name="Wall5" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall5"]
2020-08-19 18:59:29 +02:00
position = Vector2( 6.44882, 51.7275 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 10 )
2020-08-19 13:55:48 +02:00
[node name="Wall6" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall6"]
2020-08-19 18:59:29 +02:00
position = Vector2( 127.185, 119.399 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 11 )
2020-08-19 13:55:48 +02:00
[node name="Wall7" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall7"]
2020-08-19 18:59:29 +02:00
position = Vector2( 10.2871, 55.1923 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 12 )
2020-08-19 13:55:48 +02:00
[node name="Wall9" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall9"]
2020-08-19 18:59:29 +02:00
position = Vector2( 79.5423, 88.1799 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 13 )
2020-08-19 13:55:48 +02:00
[node name="Wall10" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall10"]
2020-08-19 18:59:29 +02:00
position = Vector2( -15.3507, 75.064 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 14 )
2020-08-19 18:59:29 +02:00
[node name="NextTrigger" type="Area2D" parent="InsideOilTanker"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/NextTrigger"]
position = Vector2( 197.689, 97.7763 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 15 )
2020-08-19 13:55:48 +02:00
2020-08-20 12:01:19 +02:00
[node name="DialogueTrigger" type="Area2D" parent="InsideOilTanker"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/DialogueTrigger"]
position = Vector2( 84.0628, 97.7763 )
2020-08-20 16:33:27 +02:00
shape = SubResource( 16 )
2020-08-20 12:01:19 +02:00
2020-08-19 13:55:48 +02:00
[node name="OilTanker" type="AnimatedSprite" parent="."]
frames = ExtResource( 2 )
2020-08-20 13:27:52 +02:00
playing = true
centered = false
[node name="Crab" type="AnimatedSprite" parent="OilTanker"]
frames = ExtResource( 24 )
2020-08-19 13:55:48 +02:00
centered = false
2020-08-20 12:01:19 +02:00
[node name="UI" type="Control" parent="."]
margin_right = 192.0
margin_bottom = 108.0
script = ExtResource( 10 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Dialog" parent="UI" instance=ExtResource( 9 )]