crabs-game/scenes/oil_tanker.tscn

283 lines
9.9 KiB
Plaintext

[gd_scene load_steps=40 format=2]
[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]
[ext_resource path="res://images/oil_tanker/oilTankerInside_Background.png" type="Texture" id=3]
[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]
[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]
[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]
[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]
[sub_resource type="RectangleShape2D" id=6]
extents = Vector2( 10, 34.563 )
[sub_resource type="RectangleShape2D" id=7]
extents = Vector2( 10, 34.563 )
[sub_resource type="RectangleShape2D" id=8]
extents = Vector2( 276.861, 9.9101 )
[sub_resource type="RectangleShape2D" id=9]
extents = Vector2( 276.861, 9.9101 )
[sub_resource type="RectangleShape2D" id=10]
extents = Vector2( 175.74, 9.07445 )
[sub_resource type="CircleShape2D" id=11]
radius = 31.4057
[sub_resource type="RectangleShape2D" id=20]
extents = Vector2( 10, 22.4756 )
[sub_resource type="RectangleShape2D" id=12]
extents = Vector2( 10, 27.9493 )
[sub_resource type="RectangleShape2D" id=13]
extents = Vector2( 10, 27.9493 )
[sub_resource type="RectangleShape2D" id=14]
extents = Vector2( 20.5315, 7.16187 )
[sub_resource type="RectangleShape2D" id=15]
extents = Vector2( 85.2849, 7.16187 )
[sub_resource type="SegmentShape2D" id=16]
b = Vector2( 70.2283, 33.9024 )
[sub_resource type="SegmentShape2D" id=17]
b = Vector2( 122.205, -7.65517 )
[sub_resource type="SegmentShape2D" id=18]
b = Vector2( 107.673, 44.0238 )
[sub_resource type="RectangleShape2D" id=19]
extents = Vector2( 4.85875, 16.0913 )
[sub_resource type="RectangleShape2D" id=21]
extents = Vector2( 4.85875, 16.0913 )
[node name="Node2D" type="Node2D"]
script = ExtResource( 1 )
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"
[node name="HerbertMustGo" type="AnimatedSprite" parent="."]
frames = ExtResource( 7 )
centered = false
[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 )
shape = SubResource( 6 )
[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 )
shape = SubResource( 7 )
[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 )
shape = SubResource( 8 )
[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 )
shape = SubResource( 9 )
[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
shape = SubResource( 10 )
[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
shape = SubResource( 11 )
[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 )
shape = SubResource( 20 )
[node name="InsideOilTanker" type="Sprite" parent="."]
texture = ExtResource( 3 )
centered = false
[node name="Player" parent="InsideOilTanker" instance=ExtResource( 4 )]
position = Vector2( -1.71286, 64.9552 )
[node name="GooEmitter" type="Node2D" parent="InsideOilTanker"]
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 ) ]
direction = Vector2( -1, 0 )
spawn_rate = 2
[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"]
position = Vector2( 208.261, 91.1098 )
shape = SubResource( 12 )
[node name="Wall2" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall2"]
position = Vector2( -23.7448, 81.6604 )
shape = SubResource( 13 )
[node name="Wall5" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall5"]
position = Vector2( 6.44882, 51.7275 )
shape = SubResource( 14 )
[node name="Wall6" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall6"]
position = Vector2( 127.185, 119.399 )
shape = SubResource( 15 )
[node name="Wall7" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall7"]
position = Vector2( 10.2871, 55.1923 )
shape = SubResource( 16 )
[node name="Wall9" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall9"]
position = Vector2( 79.5423, 88.1799 )
shape = SubResource( 17 )
[node name="Wall10" type="StaticBody2D" parent="InsideOilTanker/walls"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/walls/Wall10"]
position = Vector2( -15.3507, 75.064 )
shape = SubResource( 18 )
[node name="NextTrigger" type="Area2D" parent="InsideOilTanker"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/NextTrigger"]
position = Vector2( 197.689, 97.7763 )
shape = SubResource( 19 )
[node name="DialogueTrigger" type="Area2D" parent="InsideOilTanker"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InsideOilTanker/DialogueTrigger"]
position = Vector2( 84.0628, 97.7763 )
shape = SubResource( 21 )
[node name="OilTanker" type="AnimatedSprite" parent="."]
frames = ExtResource( 2 )
centered = false
[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 )]