crabs-game/scenes/oil_tanker.tscn

257 lines
9.0 KiB
Plaintext
Raw Normal View History

2020-08-20 10:35:25 +02:00
[gd_scene load_steps=37 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]
[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]
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]
[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-19 13:55:48 +02:00
2020-08-20 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=6]
2020-08-19 18:59:29 +02:00
extents = Vector2( 10, 34.563 )
2020-08-19 13:55:48 +02:00
2020-08-20 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=7]
2020-08-19 18:59:29 +02:00
extents = Vector2( 10, 34.563 )
2020-08-19 13:55:48 +02:00
2020-08-20 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=8]
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 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=9]
2020-08-19 18:59:29 +02:00
extents = Vector2( 276.861, 9.9101 )
2020-08-20 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=10]
2020-08-19 18:59:29 +02:00
extents = Vector2( 175.74, 9.07445 )
2020-08-20 10:35:25 +02:00
[sub_resource type="CircleShape2D" id=11]
2020-08-19 18:59:29 +02:00
radius = 31.4057
2020-08-20 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=20]
extents = Vector2( 10, 22.4756 )
[sub_resource type="RectangleShape2D" id=12]
2020-08-19 18:59:29 +02:00
extents = Vector2( 10, 27.9493 )
2020-08-20 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=13]
2020-08-19 18:59:29 +02:00
extents = Vector2( 10, 27.9493 )
2020-08-20 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=14]
2020-08-19 18:59:29 +02:00
extents = Vector2( 20.5315, 7.16187 )
2020-08-20 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=15]
2020-08-19 13:55:48 +02:00
extents = Vector2( 85.2849, 7.16187 )
2020-08-20 10:35:25 +02:00
[sub_resource type="SegmentShape2D" id=16]
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 10:35:25 +02:00
[sub_resource type="SegmentShape2D" id=17]
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 10:35:25 +02:00
[sub_resource type="SegmentShape2D" id=18]
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 10:35:25 +02:00
[sub_resource type="RectangleShape2D" id=19]
2020-08-19 18:59:29 +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 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 10:35:25 +02:00
shape = SubResource( 6 )
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 10:35:25 +02:00
shape = SubResource( 7 )
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 10:35:25 +02:00
shape = SubResource( 8 )
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 10:35:25 +02:00
shape = SubResource( 9 )
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 10:35:25 +02:00
shape = SubResource( 10 )
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 10:35:25 +02:00
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 )
2020-08-19 18:59:29 +02:00
2020-08-19 13:55:48 +02:00
[node name="InsideOilTanker" type="Sprite" parent="."]
texture = ExtResource( 3 )
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 10:35:25 +02:00
shape = SubResource( 12 )
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 10:35:25 +02:00
shape = SubResource( 13 )
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 10:35:25 +02:00
shape = SubResource( 14 )
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 10:35:25 +02:00
shape = SubResource( 15 )
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 10:35:25 +02:00
shape = SubResource( 16 )
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 10:35:25 +02:00
shape = SubResource( 17 )
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 10:35:25 +02:00
shape = SubResource( 18 )
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 10:35:25 +02:00
shape = SubResource( 19 )
2020-08-19 13:55:48 +02:00
[node name="OilTanker" type="AnimatedSprite" parent="."]
frames = ExtResource( 2 )
centered = false