157 lines
4.4 KiB
Plaintext
157 lines
4.4 KiB
Plaintext
[gd_scene load_steps=15 format=2]
|
|
|
|
[ext_resource path="res://Tank/Water.png" type="Texture" id=1]
|
|
[ext_resource path="res://Tank/Tank.gd" type="Script" id=2]
|
|
[ext_resource path="res://Tank/Water_Surface.png" type="Texture" id=3]
|
|
[ext_resource path="res://Fish/Fish.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://Tank/Gravel.png" type="Texture" id=5]
|
|
[ext_resource path="res://Tank/Travis.png" type="Texture" id=6]
|
|
[ext_resource path="res://Tank/House_Left_B.png" type="Texture" id=7]
|
|
[ext_resource path="res://Tank/House_Eyes.png" type="Texture" id=8]
|
|
[ext_resource path="res://Tank/House_Right_B.png" type="Texture" id=9]
|
|
[ext_resource path="res://Hazards/Fork/FishFork.png" type="Texture" id=10]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 20, 540 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 960, 20 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=3]
|
|
extents = Vector2( 860, 50 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=4]
|
|
extents = Vector2( 960, 10 )
|
|
|
|
[node name="Tank" type="Node2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="AquariumBg" type="Sprite" parent="."]
|
|
z_index = -2
|
|
texture = ExtResource( 1 )
|
|
centered = false
|
|
|
|
[node name="Travis" type="Sprite" parent="AquariumBg"]
|
|
visible = false
|
|
position = Vector2( 0, 93 )
|
|
texture = ExtResource( 6 )
|
|
centered = false
|
|
|
|
[node name="Gravel" type="Sprite" parent="AquariumBg"]
|
|
position = Vector2( 0, 914 )
|
|
texture = ExtResource( 5 )
|
|
centered = false
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="AquariumBg"]
|
|
margin_right = 1920.0
|
|
margin_bottom = 100.0
|
|
color = Color( 0.588235, 0.588235, 0.980392, 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Edges" type="StaticBody2D" parent="." groups=["Tank"]]
|
|
visible = false
|
|
collision_layer = 4
|
|
collision_mask = 18
|
|
|
|
[node name="LeftEdge" type="CollisionShape2D" parent="Edges"]
|
|
position = Vector2( 0, 540 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="RightEdge" type="CollisionShape2D" parent="Edges"]
|
|
position = Vector2( 1920, 540 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="BottomEdge" type="CollisionShape2D" parent="Edges"]
|
|
position = Vector2( 960, 1080 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="HazardSpawner" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 960, -200 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="HazardTimer" type="Timer" parent="HazardSpawner"]
|
|
wait_time = 0.5
|
|
autostart = true
|
|
|
|
[node name="Surface" type="StaticBody2D" parent="."]
|
|
collision_layer = 8
|
|
collision_mask = 2
|
|
|
|
[node name="TankTop" type="Sprite" parent="Surface"]
|
|
texture = ExtResource( 3 )
|
|
centered = false
|
|
|
|
[node name="WaterSurface" type="CollisionShape2D" parent="Surface"]
|
|
position = Vector2( 960, 88 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="TankTopRim" type="Node2D" parent="Surface"]
|
|
z_index = 5
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="Surface/TankTopRim"]
|
|
margin_top = 86.0
|
|
margin_right = 1920.0
|
|
margin_bottom = 124.0
|
|
color = Color( 0, 0, 0, 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Fish" parent="." instance=ExtResource( 4 )]
|
|
position = Vector2( 617, 494 )
|
|
|
|
[node name="TankFloor" type="Area2D" parent="." groups=["TankFloor"]]
|
|
visible = false
|
|
position = Vector2( 960, 1070 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="TankFloor"]
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="House" type="Node2D" parent="."]
|
|
position = Vector2( 1321, 709 )
|
|
z_index = -1
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="HouseLeft" type="Sprite" parent="House"]
|
|
position = Vector2( -135, 161 )
|
|
scale = Vector2( 0.3, 0.3 )
|
|
z_index = -1
|
|
texture = ExtResource( 7 )
|
|
|
|
[node name="HouseRight" type="Sprite" parent="House"]
|
|
position = Vector2( 135, 161 )
|
|
scale = Vector2( 0.3, 0.3 )
|
|
z_index = -1
|
|
texture = ExtResource( 9 )
|
|
|
|
[node name="HouseEyes" type="Sprite" parent="House"]
|
|
visible = false
|
|
position = Vector2( 0, 228 )
|
|
scale = Vector2( 0.3, 0.3 )
|
|
z_index = 2
|
|
texture = ExtResource( 8 )
|
|
|
|
[node name="LeftEntrance" type="Position2D" parent="House"]
|
|
position = Vector2( -228, 245 )
|
|
|
|
[node name="RightEntrance" type="Position2D" parent="House"]
|
|
position = Vector2( 160, 245 )
|
|
|
|
[node name="TweenBlackout" type="Tween" parent="."]
|
|
|
|
[node name="SurviveTimer" type="Timer" parent="."]
|
|
wait_time = 5.0
|
|
one_shot = true
|
|
|
|
[node name="FishFork" type="Sprite" parent="."]
|
|
visible = false
|
|
position = Vector2( 1049, 867 )
|
|
texture = ExtResource( 10 )
|
|
|
|
[connection signal="timeout" from="HazardSpawner/HazardTimer" to="." method="_on_HazardTimer_timeout"]
|
|
[connection signal="timeout" from="SurviveTimer" to="." method="_on_SurviveTimer_timeout"]
|