counter +1
This commit is contained in:
parent
0d0e16afa2
commit
92ebb2868d
11 changed files with 50 additions and 39 deletions
|
|
@ -1,16 +1,15 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://ky35veswaytr"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://ky35veswaytr"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bhp3vuvwf7lak" path="res://assets/sprites/gui/suncounter.tres" id="1_e5x4k"]
|
||||
[ext_resource type="Theme" uid="uid://b8l285cjcgeyi" path="res://resources/themes/GameStyle.tres" id="1_vhhcn"]
|
||||
[ext_resource type="Texture2D" uid="uid://c47rflkf2wap0" path="res://assets/sprites/sun.tres" id="2_gugre"]
|
||||
[ext_resource type="Script" uid="uid://dwxohya1exdkh" path="res://scripts/gui/SunCounter.cs" id="3_qhmb8"]
|
||||
[ext_resource type="Script" uid="uid://0ekxnoq6cyt4" path="res://scripts/gui/SunCounterImage.cs" id="4_c68ge"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_lxkq5"]
|
||||
font_size = 10
|
||||
font_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="SunCounter" type="TextureRect"]
|
||||
[node name="SunCounter" type="TextureRect" node_paths=PackedStringArray("text", "sunImage")]
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.082
|
||||
anchor_bottom = 0.067
|
||||
|
|
@ -19,6 +18,9 @@ offset_bottom = 0.199999
|
|||
size_flags_vertical = 0
|
||||
theme = ExtResource("1_vhhcn")
|
||||
texture = ExtResource("1_e5x4k")
|
||||
script = ExtResource("3_qhmb8")
|
||||
text = NodePath("Label")
|
||||
sunImage = NodePath("Sun")
|
||||
|
||||
[node name="Sun" type="TextureRect" parent="."]
|
||||
show_behind_parent = true
|
||||
|
|
@ -34,7 +36,6 @@ offset_right = 22.5
|
|||
offset_bottom = 22.487
|
||||
pivot_offset = Vector2(23, 22)
|
||||
texture = ExtResource("2_gugre")
|
||||
script = ExtResource("4_c68ge")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
process_mode = 3
|
||||
|
|
@ -48,8 +49,8 @@ offset_left = 0.0219994
|
|||
offset_top = 0.00599957
|
||||
offset_right = -0.0219994
|
||||
offset_bottom = -0.00500107
|
||||
text = "0"
|
||||
label_settings = SubResource("LabelSettings_lxkq5")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
text_overrun_behavior = 3
|
||||
script = ExtResource("3_qhmb8")
|
||||
|
|
|
|||
|
|
@ -194,7 +194,6 @@ size = Vector2(282, 399)
|
|||
|
||||
[node name="Data" type="Node" parent="."]
|
||||
script = ExtResource("1_tnxdx")
|
||||
SunCount = 50.0
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
position = Vector2(481, 200)
|
||||
|
|
|
|||
|
|
@ -434,7 +434,6 @@ libraries = {
|
|||
|
||||
[node name="Data" type="Node" parent="." node_paths=PackedStringArray("levelRunner", "player")]
|
||||
script = ExtResource("1_31ltw")
|
||||
SunCount = 50.0
|
||||
levelRunner = NodePath("../LevelRunner")
|
||||
player = NodePath("../MainAnimationPlayer")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue