|
@@ -1,10 +1,18 @@
|
|
|
-[gd_scene load_steps=13 format=2]
|
|
|
+[gd_scene load_steps=17 format=2]
|
|
|
|
|
|
[ext_resource path="res://spawner.gd" type="Script" id=1]
|
|
|
[ext_resource path="res://bacteria.tscn" type="PackedScene" id=2]
|
|
|
[ext_resource path="res://restarter.gd" type="Script" id=3]
|
|
|
[ext_resource path="res://Healthpickup.tscn" type="PackedScene" id=4]
|
|
|
[ext_resource path="res://PowerUpControl.gd" type="Script" id=5]
|
|
|
+[ext_resource path="res://font/ComfortaaRegular.ttf" type="DynamicFontData" id=6]
|
|
|
+[ext_resource path="res://newdynamicfont.tres" type="DynamicFont" id=7]
|
|
|
+
|
|
|
+[sub_resource type="DynamicFont" id=8]
|
|
|
+font_data = ExtResource( 6 )
|
|
|
+
|
|
|
+[sub_resource type="Theme" id=9]
|
|
|
+default_font = SubResource( 8 )
|
|
|
|
|
|
[sub_resource type="Shader" id=1]
|
|
|
code = "// NOTE: Shader automatically converted from Godot Engine 3.4.4.stable's CanvasItemMaterial.
|
|
@@ -70,16 +78,19 @@ anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
margin_left = 300.0
|
|
|
margin_right = -300.0
|
|
|
+theme = SubResource( 9 )
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="restarter/MarginContainer"]
|
|
|
-margin_right = 67.0
|
|
|
+margin_right = 89.0
|
|
|
margin_bottom = 960.0
|
|
|
+theme = SubResource( 9 )
|
|
|
alignment = 1
|
|
|
|
|
|
[node name="Label" type="Label" parent="restarter/MarginContainer/VBoxContainer"]
|
|
|
margin_top = 621.0
|
|
|
margin_right = 120.0
|
|
|
margin_bottom = 635.0
|
|
|
+custom_fonts/font = ExtResource( 7 )
|
|
|
text = "game over"
|
|
|
align = 1
|
|
|
valign = 1
|
|
@@ -88,6 +99,7 @@ valign = 1
|
|
|
margin_top = 639.0
|
|
|
margin_right = 120.0
|
|
|
margin_bottom = 659.0
|
|
|
+custom_fonts/font = ExtResource( 7 )
|
|
|
text = "restart"
|
|
|
|
|
|
[node name="PowerUpControl" type="CanvasLayer" parent="."]
|
|
@@ -100,41 +112,48 @@ anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
margin_left = 120.0
|
|
|
margin_right = -120.0
|
|
|
+theme = SubResource( 9 )
|
|
|
|
|
|
[node name="VSeparator" type="VBoxContainer" parent="PowerUpControl/Control"]
|
|
|
margin_right = 300.0
|
|
|
margin_bottom = 960.0
|
|
|
+theme = SubResource( 9 )
|
|
|
alignment = 1
|
|
|
|
|
|
[node name="Label" type="Label" parent="PowerUpControl/Control/VSeparator"]
|
|
|
-margin_top = 411.0
|
|
|
+margin_top = 408.0
|
|
|
margin_right = 300.0
|
|
|
-margin_bottom = 425.0
|
|
|
+margin_bottom = 427.0
|
|
|
+custom_fonts/font = ExtResource( 7 )
|
|
|
text = "Choose a power:"
|
|
|
|
|
|
[node name="ItemList" type="ItemList" parent="PowerUpControl/Control/VSeparator"]
|
|
|
-margin_top = 429.0
|
|
|
+margin_top = 431.0
|
|
|
margin_right = 300.0
|
|
|
-margin_bottom = 549.0
|
|
|
+margin_bottom = 551.0
|
|
|
rect_min_size = Vector2( 0, 120 )
|
|
|
+custom_fonts/font = ExtResource( 7 )
|
|
|
items = [ "Item 0", null, false, "Item 1", null, false, "Item 2", null, false, "Item 3", null, false, "Item 4", null, false ]
|
|
|
|
|
|
[node name="VSeparator2" type="VBoxContainer" parent="PowerUpControl/Control"]
|
|
|
margin_right = 300.0
|
|
|
margin_bottom = 960.0
|
|
|
+theme = SubResource( 9 )
|
|
|
alignment = 1
|
|
|
|
|
|
[node name="Label" type="Label" parent="PowerUpControl/Control/VSeparator2"]
|
|
|
-margin_top = 411.0
|
|
|
+margin_top = 408.0
|
|
|
margin_right = 300.0
|
|
|
-margin_bottom = 425.0
|
|
|
+margin_bottom = 427.0
|
|
|
+custom_fonts/font = ExtResource( 7 )
|
|
|
text = "put on slot:"
|
|
|
|
|
|
[node name="ItemList2" type="ItemList" parent="PowerUpControl/Control/VSeparator2"]
|
|
|
-margin_top = 429.0
|
|
|
+margin_top = 431.0
|
|
|
margin_right = 300.0
|
|
|
-margin_bottom = 549.0
|
|
|
+margin_bottom = 551.0
|
|
|
rect_min_size = Vector2( 0, 120 )
|
|
|
+custom_fonts/font = ExtResource( 7 )
|
|
|
items = [ "Item 0", null, false, "Item 1", null, false, "Item 2", null, false ]
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
@@ -144,6 +163,7 @@ layer = -1
|
|
|
material = SubResource( 7 )
|
|
|
anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
+theme = SubResource( 9 )
|
|
|
|
|
|
[connection signal="dieproxy" from="bacteria" to="restarter" method="_on_bacteria_dieproxy"]
|
|
|
[connection signal="level_up" from="bacteria" to="PowerUpControl" method="_on_bacteria_level_up"]
|