Add goals
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bgtt3wu43tajh" path="res://icon.svg" id="3_mhw8n"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckos7f22pnmyh" path="res://generator_container.tscn" id="3_pw2a0"]
|
||||
[ext_resource type="PackedScene" uid="uid://btkxru2gdjsgc" path="res://currency_tile.tscn" id="3_x5lt1"]
|
||||
[ext_resource type="PackedScene" path="res://generator-unlock-goals/goals_debug_ui.tscn" id="4_63gjq"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y5m1q"]
|
||||
size = Vector2(128, 128)
|
||||
@@ -16,6 +17,7 @@ size = Vector2(128, 128)
|
||||
position = Vector2(566, 455)
|
||||
script = ExtResource("1_pl17p")
|
||||
data = ExtResource("2_x5lt1")
|
||||
grants_click_while_hovering = true
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="GoldGenerator" unique_id=381586216]
|
||||
texture = ExtResource("3_mhw8n")
|
||||
@@ -29,6 +31,8 @@ shape = SubResource("RectangleShape2D_y5m1q")
|
||||
script = ExtResource("1_pl17p")
|
||||
currency = 1
|
||||
data = ExtResource("3_dc82g")
|
||||
starts_unlocked = false
|
||||
starts_available = false
|
||||
|
||||
[node name="UI" type="Control" parent="." unique_id=452530906]
|
||||
layout_mode = 3
|
||||
@@ -66,5 +70,12 @@ offset_right = 247.0
|
||||
offset_bottom = 380.0
|
||||
_generator = NodePath("../../GemsGenerator")
|
||||
|
||||
[node name="GoalsDebugUI" parent="UI" unique_id=4710697 instance=ExtResource("4_63gjq")]
|
||||
layout_mode = 1
|
||||
offset_left = 577.0
|
||||
offset_top = 3.0
|
||||
offset_right = 1150.0
|
||||
offset_bottom = 262.0
|
||||
|
||||
[connection signal="mouse_entered" from="GoldGenerator/Area2D" to="GoldGenerator" method="_on_area_2d_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="GoldGenerator/Area2D" to="GoldGenerator" method="_on_area_2d_mouse_exited"]
|
||||
|
||||
Reference in New Issue
Block a user