Skip 78f8174384 New Squid Scene
Added the squid.
2022-07-16 19:56:19 -04:00

77 lines
2.2 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[ext_resource path="res://Tank/AquariumBG.jpg" type="Texture" id=1]
[ext_resource path="res://Tank/Tank.gd" type="Script" id=2]
[ext_resource path="res://Hazards/Fork/Fork.tscn" type="PackedScene" id=3]
[ext_resource path="res://Fish/Fish.tscn" type="PackedScene" id=4]
[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="."]
position = Vector2( 960, 540 )
texture = ExtResource( 1 )
[node name="Edges" type="StaticBody2D" parent="." groups=["Tank"]]
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="WaterSurface" type="CollisionShape2D" parent="Surface"]
position = Vector2( 960, 88 )
shape = SubResource( 2 )
[node name="ColorRect" type="ColorRect" parent="Surface"]
margin_top = 95.0
margin_right = 1920.0
margin_bottom = 115.0
color = Color( 0.588235, 0.588235, 0.980392, 1 )
[node name="Fish" parent="." instance=ExtResource( 4 )]
position = Vector2( 596, 543 )
[node name="Fork" parent="." instance=ExtResource( 3 )]
[node name="TankFloor" type="Area2D" parent="." groups=["TankFloor"]]
position = Vector2( 960, 1070 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="TankFloor"]
shape = SubResource( 4 )
[connection signal="timeout" from="HazardSpawner/HazardTimer" to="." method="_on_HazardTimer_timeout"]