38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://dsgvdus6pyld1"]
|
|
|
|
[ext_resource type="Script" uid="uid://cratbhruo2vb" path="res://upgrade.gd" id="1_5bg6l"]
|
|
[ext_resource type="Texture2D" uid="uid://t7ilejqp6k1b" path="res://scenes/inventory/upgrades/upgrades.png" id="2_tfji8"]
|
|
[ext_resource type="FontFile" uid="uid://cukc34hue3c0h" path="res://etc/pixelated.ttf" id="3_pduvh"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_tfji8"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_ax071"]
|
|
font = ExtResource("3_pduvh")
|
|
font_size = 8
|
|
font_color = Color(0.156863, 0.137255, 0.156863, 1)
|
|
|
|
[node name="upgrade" type="Area2D" groups=["upgrades"]]
|
|
script = ExtResource("1_5bg6l")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_tfji8")
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
layer = 2
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="CanvasLayer"]
|
|
texture = ExtResource("2_tfji8")
|
|
hframes = 2
|
|
vframes = 2
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
offset_left = -15.0
|
|
offset_top = 10.0
|
|
offset_right = 15.0
|
|
offset_bottom = 24.0
|
|
text = "$100"
|
|
label_settings = SubResource("LabelSettings_ax071")
|
|
horizontal_alignment = 1
|
|
|
|
[connection signal="input_event" from="." to="." method="_on_input_event"]
|