Add gas giant resource system
This commit is contained in:
parent
8f7b58f2a8
commit
fc68c4e8cf
9 changed files with 180 additions and 10 deletions
31
Main.tscn
31
Main.tscn
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=21 format=3]
|
||||
[gd_scene load_steps=22 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://Starfield.gd" id="1"]
|
||||
[ext_resource type="Script" path="res://Fleet.gd" id="2"]
|
||||
|
|
@ -23,6 +23,7 @@
|
|||
[ext_resource type="Script" path="res://CargoCounter.gd" id="22"]
|
||||
[ext_resource type="Script" path="res://TransporterField.gd" id="23"]
|
||||
[ext_resource type="Script" path="res://ResourceBar.gd" id="24"]
|
||||
[ext_resource type="Script" path="res://GasCounter.gd" id="25"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="1"]
|
||||
shader = ExtResource("5")
|
||||
|
|
@ -91,6 +92,34 @@ offset_bottom = 92
|
|||
script = ExtResource("16")
|
||||
digit_height = 60.0
|
||||
|
||||
[node name="OreCaption" type="Label" parent="UI"]
|
||||
mouse_filter = 2
|
||||
offset_left = 28
|
||||
offset_top = 22
|
||||
offset_right = 120
|
||||
offset_bottom = 48
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "ORE"
|
||||
|
||||
[node name="GasCounter" type="Control" parent="UI"]
|
||||
mouse_filter = 2
|
||||
offset_left = 336
|
||||
offset_top = 24
|
||||
offset_right = 628
|
||||
offset_bottom = 92
|
||||
script = ExtResource("25")
|
||||
digit_height = 60.0
|
||||
|
||||
[node name="GasCaption" type="Label" parent="UI"]
|
||||
mouse_filter = 2
|
||||
offset_left = 336
|
||||
offset_top = 22
|
||||
offset_right = 428
|
||||
offset_bottom = 48
|
||||
theme_override_font_sizes/font_size = 18
|
||||
theme_override_colors/font_color = Color(0.85, 0.52, 1, 1)
|
||||
text = "GAS"
|
||||
|
||||
[node name="CargoCounter" type="Control" parent="UI"]
|
||||
mouse_filter = 2
|
||||
offset_left = 28
|
||||
|
|
|
|||
Loading…
Reference in a new issue