|
@@ -1,4 +1,4 @@
|
|
|
-[gd_scene load_steps=29 format=2]
|
|
|
+[gd_scene load_steps=28 format=2]
|
|
|
|
|
|
[ext_resource path="res://spawner.gd" type="Script" id=1]
|
|
|
[ext_resource path="res://bacteria.tscn" type="PackedScene" id=2]
|
|
@@ -15,6 +15,7 @@
|
|
|
[ext_resource path="res://audio.ogg" type="AudioStream" id=13]
|
|
|
[ext_resource path="res://debug.gd" type="Script" id=14]
|
|
|
[ext_resource path="res://sandtex22.png" type="Texture" id=15]
|
|
|
+[ext_resource path="res://sounds/keylock.ogg" type="AudioStream" id=16]
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
|
font_data = ExtResource( 6 )
|
|
@@ -25,73 +26,6 @@ default_font = SubResource( 1 )
|
|
|
[sub_resource type="CircleShape2D" id=3]
|
|
|
radius = 20.0
|
|
|
|
|
|
-[sub_resource type="Animation" id=12]
|
|
|
-length = 0.001
|
|
|
-tracks/0/type = "value"
|
|
|
-tracks/0/path = NodePath("Control2:rect_position")
|
|
|
-tracks/0/interp = 1
|
|
|
-tracks/0/loop_wrap = true
|
|
|
-tracks/0/imported = false
|
|
|
-tracks/0/enabled = true
|
|
|
-tracks/0/keys = {
|
|
|
-"times": PoolRealArray( 0 ),
|
|
|
-"transitions": PoolRealArray( 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ Vector2( 80, 0 ) ]
|
|
|
-}
|
|
|
-tracks/1/type = "value"
|
|
|
-tracks/1/path = NodePath("Control2:rect_scale")
|
|
|
-tracks/1/interp = 1
|
|
|
-tracks/1/loop_wrap = true
|
|
|
-tracks/1/imported = false
|
|
|
-tracks/1/enabled = true
|
|
|
-tracks/1/keys = {
|
|
|
-"times": PoolRealArray( 0 ),
|
|
|
-"transitions": PoolRealArray( 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ Vector2( 1, 1 ) ]
|
|
|
-}
|
|
|
-tracks/2/type = "value"
|
|
|
-tracks/2/path = NodePath("Control2/VSeparator/buttons:scale")
|
|
|
-tracks/2/interp = 1
|
|
|
-tracks/2/loop_wrap = true
|
|
|
-tracks/2/imported = false
|
|
|
-tracks/2/enabled = true
|
|
|
-tracks/2/keys = {
|
|
|
-"times": PoolRealArray( 0 ),
|
|
|
-"transitions": PoolRealArray( 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ Vector2( 1, 1 ) ]
|
|
|
-}
|
|
|
-
|
|
|
-[sub_resource type="Animation" id=13]
|
|
|
-resource_name = "open"
|
|
|
-step = 0.05
|
|
|
-tracks/0/type = "value"
|
|
|
-tracks/0/path = NodePath("Control2:rect_position")
|
|
|
-tracks/0/interp = 2
|
|
|
-tracks/0/loop_wrap = true
|
|
|
-tracks/0/imported = false
|
|
|
-tracks/0/enabled = true
|
|
|
-tracks/0/keys = {
|
|
|
-"times": PoolRealArray( 0, 0.1, 0.3, 0.4 ),
|
|
|
-"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ Vector2( -492, 0 ), Vector2( -492, 0 ), Vector2( 80, 0 ), Vector2( 80, 0 ) ]
|
|
|
-}
|
|
|
-tracks/1/type = "value"
|
|
|
-tracks/1/path = NodePath("Control2/VSeparator/buttons:scale")
|
|
|
-tracks/1/interp = 1
|
|
|
-tracks/1/loop_wrap = true
|
|
|
-tracks/1/imported = false
|
|
|
-tracks/1/enabled = true
|
|
|
-tracks/1/keys = {
|
|
|
-"times": PoolRealArray( -0.2, 0, 0.4, 0.55, 0.65 ),
|
|
|
-"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 1, 1 ), Vector2( 1, 1 ) ]
|
|
|
-}
|
|
|
-
|
|
|
[sub_resource type="GDScript" id=11]
|
|
|
script/source = "extends Sprite
|
|
|
|
|
@@ -231,18 +165,18 @@ visible = false
|
|
|
anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
margin_left = 80.0
|
|
|
-margin_right = -80.0001
|
|
|
+margin_right = -80.0
|
|
|
theme = ExtResource( 10 )
|
|
|
|
|
|
[node name="VSeparator" type="VBoxContainer" parent="PowerUpControl/Control2"]
|
|
|
-margin_right = 379.0
|
|
|
+margin_right = 380.0
|
|
|
margin_bottom = 960.0
|
|
|
theme = SubResource( 2 )
|
|
|
alignment = 1
|
|
|
|
|
|
[node name="Label" type="Label" parent="PowerUpControl/Control2/VSeparator"]
|
|
|
margin_top = 154.0
|
|
|
-margin_right = 379.0
|
|
|
+margin_right = 380.0
|
|
|
margin_bottom = 173.0
|
|
|
theme = ExtResource( 10 )
|
|
|
custom_fonts/font = ExtResource( 9 )
|
|
@@ -259,7 +193,7 @@ items = [ "Item 0", null, false, "Item 1", null, false, "Item 2", null, false, "
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="PowerUpControl/Control2/VSeparator"]
|
|
|
margin_top = 177.0
|
|
|
-margin_right = 379.0
|
|
|
+margin_right = 380.0
|
|
|
margin_bottom = 777.0
|
|
|
rect_min_size = Vector2( 0, 600 )
|
|
|
color = Color( 0.117647, 0.172549, 0.211765, 1 )
|
|
@@ -414,13 +348,13 @@ script = ExtResource( 8 )
|
|
|
|
|
|
[node name="Button" type="Button" parent="PowerUpControl/Control2/VSeparator"]
|
|
|
margin_top = 781.0
|
|
|
-margin_right = 379.0
|
|
|
+margin_right = 380.0
|
|
|
margin_bottom = 806.0
|
|
|
text = "accept"
|
|
|
|
|
|
-[node name="AnimationPlayer" type="AnimationPlayer" parent="PowerUpControl"]
|
|
|
-anims/RESET = SubResource( 12 )
|
|
|
-anims/open = SubResource( 13 )
|
|
|
+[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="PowerUpControl"]
|
|
|
+stream = ExtResource( 16 )
|
|
|
+bus = "menu"
|
|
|
|
|
|
[node name="TextureButton2" type="Sprite" parent="."]
|
|
|
position = Vector2( -2, 0 )
|
|
@@ -461,3 +395,4 @@ autoplay = true
|
|
|
[connection signal="item_activated" from="PowerUpControl/Control/VSeparator/ItemList" to="PowerUpControl" method="_on_ItemList_item_activated"]
|
|
|
[connection signal="item_activated" from="PowerUpControl/Control2/VSeparator/ItemList" to="PowerUpControl" method="_on_ItemList_item_activated"]
|
|
|
[connection signal="button_down" from="PowerUpControl/Control2/VSeparator/Button" to="PowerUpControl" method="_on_Button_button_down"]
|
|
|
+[connection signal="button_down" from="PowerUpControl/Control2/VSeparator/Button" to="PowerUpControl/AudioStreamPlayer" method="play"]
|