diff options
Diffstat (limited to 'main_scene/management.tscn')
-rw-r--r-- | main_scene/management.tscn | 95 |
1 files changed, 68 insertions, 27 deletions
diff --git a/main_scene/management.tscn b/main_scene/management.tscn index fef4fca..8486c5f 100644 --- a/main_scene/management.tscn +++ b/main_scene/management.tscn @@ -1,8 +1,8 @@ -[gd_scene load_steps=19 format=2] +[gd_scene load_steps=24 format=2] [ext_resource path="res://assets/background.png" type="Texture" id=1] [ext_resource path="res://main_scene/coffee_machine.gd" type="Script" id=2] -[ext_resource path="res://main_scene/Label.gd" type="Script" id=3] +[ext_resource path="res://main_scene/bitcoin_display.gd" type="Script" id=3] [ext_resource path="res://buildings/buildings.tscn" type="PackedScene" id=4] [ext_resource path="res://main_scene/bean.gd" type="Script" id=5] [ext_resource path="res://assets/BuyBeans.png" type="Texture" id=6] @@ -16,6 +16,11 @@ [ext_resource path="res://tutorial/riot_aftermath.gd" type="Script" id=14] [ext_resource path="res://tutorial/upgrades.gd" type="Script" id=15] [ext_resource path="res://main_scene/konami_check.gd" type="Script" id=16] +[ext_resource path="res://assets/BTCicon.png" type="Texture" id=17] +[ext_resource path="res://assets/BeanIcon.png" type="Texture" id=18] +[ext_resource path="res://main_scene/bean_display.gd" type="Script" id=19] +[ext_resource path="res://main_scene/coffee_display.gd" type="Script" id=20] +[ext_resource path="res://assets/coffeeIcon.png" type="Texture" id=21] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 360, 360 ) @@ -24,55 +29,46 @@ extents = Vector2( 360, 360 ) extents = Vector2( 228.401, 203.958 ) [node name="Node2D" type="Node2D"] +z_index = -1 script = ExtResource( 16 ) -[node name="CanvasLayer" type="CanvasLayer" parent="."] - -[node name="background" type="Sprite" parent="CanvasLayer"] +[node name="background" type="Sprite" parent="."] position = Vector2( 512.018, 299.606 ) z_index = -1 texture = ExtResource( 1 ) -[node name="Label" type="Label" parent="CanvasLayer"] -margin_right = 237.0 -margin_bottom = 97.0 -script = ExtResource( 3 ) -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="buildings" parent="CanvasLayer" instance=ExtResource( 4 )] +[node name="buildings" parent="." instance=ExtResource( 4 )] position = Vector2( 695.516, 65.6175 ) -[node name="coffee_maschine" type="Sprite" parent="CanvasLayer"] +[node name="coffee_maschine" type="Sprite" parent="."] position = Vector2( 519.712, 314.253 ) scale = Vector2( 0.2, 0.2 ) texture = ExtResource( 8 ) -[node name="Area2D" type="Area2D" parent="CanvasLayer/coffee_maschine"] +[node name="Area2D" type="Area2D" parent="coffee_maschine"] script = ExtResource( 2 ) -[node name="CollisionShape2D" type="CollisionShape2D" parent="CanvasLayer/coffee_maschine/Area2D"] +[node name="CollisionShape2D" type="CollisionShape2D" parent="coffee_maschine/Area2D"] position = Vector2( -40.0001, -0.00012207 ) shape = SubResource( 1 ) -[node name="upgrades" parent="CanvasLayer" instance=ExtResource( 9 )] +[node name="upgrades" parent="." instance=ExtResource( 9 )] position = Vector2( 20.5055, 36.9098 ) -[node name="BeanIcon" type="Sprite" parent="CanvasLayer"] -position = Vector2( 421.662, 194.889 ) +[node name="BeanIcon" type="Sprite" parent="."] +position = Vector2( 518.533, 465.459 ) texture = ExtResource( 6 ) script = ExtResource( 5 ) -[node name="Area2D" type="Area2D" parent="CanvasLayer/BeanIcon"] +[node name="Area2D" type="Area2D" parent="BeanIcon"] script = ExtResource( 7 ) -[node name="CollisionShape2D" type="CollisionShape2D" parent="CanvasLayer/BeanIcon/Area2D"] +[node name="CollisionShape2D" type="CollisionShape2D" parent="BeanIcon/Area2D"] position = Vector2( -0.0478821, -0.59053 ) scale = Vector2( 0.174159, 0.186657 ) shape = SubResource( 2 ) -[node name="intro" parent="CanvasLayer" instance=ExtResource( 10 )] +[node name="intro" parent="." instance=ExtResource( 10 )] visible = false margin_left = 347.916 margin_top = 183.211 @@ -87,7 +83,7 @@ Start by clicking the coffee machine to brew some coffee. script = ExtResource( 11 ) identifier = "introduction" -[node name="coffee_beans" parent="CanvasLayer" instance=ExtResource( 10 )] +[node name="coffee_beans" parent="." instance=ExtResource( 10 )] visible = false margin_left = 355.319 margin_top = 99.9334 @@ -100,7 +96,7 @@ You can buy 1000 for just 100 bitcoin" script = ExtResource( 12 ) identifier = "coffee_beans" -[node name="devs" parent="CanvasLayer" instance=ExtResource( 10 )] +[node name="devs" parent="." instance=ExtResource( 10 )] visible = false margin_left = 584.068 margin_top = 105.736 @@ -114,7 +110,7 @@ they will revolt." script = ExtResource( 13 ) identifier = "devs" -[node name="riot_aftermath" parent="CanvasLayer" instance=ExtResource( 10 )] +[node name="riot_aftermath" parent="." instance=ExtResource( 10 )] visible = false margin_left = 379.131 margin_top = 203.762 @@ -129,7 +125,7 @@ conditions" script = ExtResource( 14 ) identifier = "riot_aftermath" -[node name="upgrades2" parent="CanvasLayer" instance=ExtResource( 10 )] +[node name="upgrades2" parent="." instance=ExtResource( 10 )] visible = false margin_left = 450.949 margin_top = 200.422 @@ -141,3 +137,48 @@ that some upgrades may have varying results regarding your popularity." script = ExtResource( 15 ) identifier = "upgrades" + +[node name="bean_display" type="Sprite" parent="."] +position = Vector2( 434.88, 119.351 ) +texture = ExtResource( 18 ) + +[node name="Label" type="Label" parent="bean_display"] +margin_left = 14.44 +margin_top = -7.22 +margin_right = 54.44 +margin_bottom = 6.78 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +script = ExtResource( 19 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="bitcoin_display" type="Sprite" parent="."] +position = Vector2( 435.005, 178.695 ) +texture = ExtResource( 17 ) + +[node name="Label" type="Label" parent="bitcoin_display"] +margin_left = 14.44 +margin_top = -7.22 +margin_right = 54.44 +margin_bottom = 6.78 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +script = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="coffee_display" type="Sprite" parent="."] +position = Vector2( 435.005, 148.01 ) +texture = ExtResource( 21 ) + +[node name="Label" type="Label" parent="coffee_display"] +margin_left = 10.83 +margin_top = -5.41499 +margin_right = 50.83 +margin_bottom = 8.58501 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +script = ExtResource( 20 ) +__meta__ = { +"_edit_use_anchors_": false +} |