Boss fight rewards now update team inventory
This commit is contained in:
207
team.tscn
207
team.tscn
@@ -1,26 +1,15 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://blwuy4v4qqyna"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://blwuy4v4qqyna"]
|
||||
|
||||
[ext_resource type="Script" path="res://TeamSelection.gd" id="1_gd8pa"]
|
||||
|
||||
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_8gi0c"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_f2pfc"]
|
||||
atlas = SubResource("CompressedTexture2D_8gi0c")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g12ml"]
|
||||
atlas = SubResource("CompressedTexture2D_8gi0c")
|
||||
region = Rect2(96, 320, 32, 32)
|
||||
|
||||
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_yxbb2"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_d8eoy"]
|
||||
atlas = SubResource("CompressedTexture2D_yxbb2")
|
||||
region = Rect2(32, 416, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ng453"]
|
||||
atlas = SubResource("CompressedTexture2D_yxbb2")
|
||||
region = Rect2(288, 416, 32, 32)
|
||||
[ext_resource type="Script" path="res://User Interface/Header.gd" id="1_ldil2"]
|
||||
[ext_resource type="Script" path="res://Root.gd" id="1_mv0o0"]
|
||||
[ext_resource type="Script" path="res://User Interface/TeamButton.gd" id="2_nwe87"]
|
||||
[ext_resource type="Script" path="res://User Interface/Bossbutton.gd" id="3_c1mhp"]
|
||||
[ext_resource type="Script" path="res://User Interface/AspectRatioContainer.gd" id="4_eqraq"]
|
||||
[ext_resource type="Script" path="res://User Interface/Member1.gd" id="5_574fx"]
|
||||
[ext_resource type="Script" path="res://User Interface/Member2.gd" id="6_a2aw7"]
|
||||
[ext_resource type="Script" path="res://User Interface/Member3.gd" id="7_o40hd"]
|
||||
[ext_resource type="Script" path="res://User Interface/Member4.gd" id="8_0l7ds"]
|
||||
[ext_resource type="Script" path="res://User Interface/Member5.gd" id="9_yaflp"]
|
||||
|
||||
[node name="Root" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -29,26 +18,172 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_mv0o0")
|
||||
|
||||
[node name="TeamSelection" type="GridContainer" parent="."]
|
||||
layout_mode = 0
|
||||
[node name="UI" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 1080.0
|
||||
columns = 10
|
||||
script = ExtResource("1_gd8pa")
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="TeamSelection"]
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("AtlasTexture_f2pfc")
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="UI"]
|
||||
|
||||
[node name="TextureButton2" type="TextureButton" parent="TeamSelection"]
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("AtlasTexture_g12ml")
|
||||
[node name="Header" type="HBoxContainer" parent="UI/CanvasLayer"]
|
||||
offset_left = 3.0
|
||||
offset_right = 395.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("1_ldil2")
|
||||
|
||||
[node name="TextureButton3" type="TextureButton" parent="TeamSelection"]
|
||||
[node name="ScoreLabel" type="Label" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("AtlasTexture_d8eoy")
|
||||
text = "Score:"
|
||||
|
||||
[node name="TextureButton4" type="TextureButton" parent="TeamSelection"]
|
||||
[node name="Score" type="Label" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("AtlasTexture_ng453")
|
||||
text = "0"
|
||||
|
||||
[node name="Timer" type="Timer" parent="UI/CanvasLayer/Header"]
|
||||
autostart = true
|
||||
|
||||
[node name="ClickUpgrades" type="MenuButton" parent="UI/CanvasLayer/Header"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Click Upgrades"
|
||||
item_count = 9
|
||||
popup/item_0/text = "+1 Cost:10"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "+10 Cost: 100"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "+20 Cost:1,000"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "+40 Cost: 10,000"
|
||||
popup/item_3/id = 3
|
||||
popup/item_4/text = "+60 Cost: 100,000"
|
||||
popup/item_4/id = 4
|
||||
popup/item_5/text = "+80 Cost: 1,000,000"
|
||||
popup/item_5/id = 5
|
||||
popup/item_6/text = "+100 Cost: 10,000,000"
|
||||
popup/item_6/id = 6
|
||||
popup/item_7/text = "+200 Cost: 100,000,000"
|
||||
popup/item_7/id = 7
|
||||
popup/item_8/text = "+400 Cost: 1,000,000,000"
|
||||
popup/item_8/id = 8
|
||||
|
||||
[node name="PassiveUpgrades" type="MenuButton" parent="UI/CanvasLayer/Header"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Passive Upgrades"
|
||||
item_count = 9
|
||||
popup/item_0/text = "2/s Cost: 100"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "10/s Cost: 1,000"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "20/s Cost: 10,000"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "50/s Cost: 100,000"
|
||||
popup/item_3/id = 3
|
||||
popup/item_4/text = "100/s Cost:1,000,000"
|
||||
popup/item_4/id = 4
|
||||
popup/item_5/text = "200/s Cost: 10,000,000"
|
||||
popup/item_5/id = 5
|
||||
popup/item_6/text = "500/s Cost: 100,000,000"
|
||||
popup/item_6/id = 6
|
||||
popup/item_7/text = "1,000/s Cost: 1,000,000,000"
|
||||
popup/item_7/id = 7
|
||||
popup/item_8/text = "10,000/s Cost: 10,000,000,000"
|
||||
popup/item_8/id = 8
|
||||
|
||||
[node name="TeamButton" type="Button" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
text = "Team"
|
||||
flat = true
|
||||
alignment = 0
|
||||
script = ExtResource("2_nwe87")
|
||||
|
||||
[node name="Bossbutton" type="Button" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
text = "Bosses"
|
||||
flat = true
|
||||
alignment = 0
|
||||
script = ExtResource("3_c1mhp")
|
||||
|
||||
[node name="ClickAddLabel" type="Label" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
text = "ClickAdd:"
|
||||
|
||||
[node name="ClickAdd" type="Label" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
text = "0"
|
||||
|
||||
[node name="PerSecLabel" type="Label" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
text = "PerSec:
|
||||
"
|
||||
|
||||
[node name="PerSec" type="Label" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
text = "0"
|
||||
|
||||
[node name="MultiplierLabel" type="Label" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
text = "Multiplier:
|
||||
"
|
||||
|
||||
[node name="Multiplier" type="Label" parent="UI/CanvasLayer/Header"]
|
||||
layout_mode = 2
|
||||
text = "0"
|
||||
|
||||
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="UI"]
|
||||
layout_mode = 0
|
||||
offset_left = -2.60654
|
||||
offset_top = 271.396
|
||||
offset_right = 1917.39
|
||||
offset_bottom = 800.396
|
||||
script = ExtResource("4_eqraq")
|
||||
|
||||
[node name="TeamScreen" type="HBoxContainer" parent="UI/AspectRatioContainer"]
|
||||
visibility_layer = 2
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Member1" type="TextureButton" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
custom_minimum_size = Vector2(200, 10)
|
||||
layout_mode = 2
|
||||
script = ExtResource("5_574fx")
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Member2" type="TextureButton" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
custom_minimum_size = Vector2(200, 10)
|
||||
layout_mode = 2
|
||||
script = ExtResource("6_a2aw7")
|
||||
|
||||
[node name="VSeparator2" type="VSeparator" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Member3" type="TextureButton" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
custom_minimum_size = Vector2(200, 10)
|
||||
layout_mode = 2
|
||||
script = ExtResource("7_o40hd")
|
||||
|
||||
[node name="VSeparator3" type="VSeparator" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Member4" type="TextureButton" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
custom_minimum_size = Vector2(200, 10)
|
||||
layout_mode = 2
|
||||
script = ExtResource("8_0l7ds")
|
||||
|
||||
[node name="VSeparator4" type="VSeparator" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Member5" type="TextureButton" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
custom_minimum_size = Vector2(200, 10)
|
||||
layout_mode = 2
|
||||
script = ExtResource("9_yaflp")
|
||||
|
||||
[node name="Label" type="Label" parent="UI/AspectRatioContainer/TeamScreen"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "testtestsetsetsetsetsetsetset"
|
||||
|
||||
Reference in New Issue
Block a user