feat: Implement special tile power-up system with manager, levels, cooldowns, inventory, and associated assets.

This commit is contained in:
Yogi Wiguna
2026-02-03 10:16:03 +08:00
parent 753757d273
commit e8fc3f86c5
14 changed files with 157 additions and 28 deletions
+8 -3
View File
@@ -22,6 +22,9 @@
[ext_resource type="StyleBox" uid="uid://d3ruc8gytoovx" path="res://assets/styles/ribbon_selected_gui.tres" id="18_u5x6e"]
[ext_resource type="StyleBox" uid="uid://cdhnwvcklbyl8" path="res://assets/styles/ribbon_hovered_gui.tres" id="19_w1rqq"]
[ext_resource type="StyleBox" uid="uid://3yog1weaqhxb" path="res://assets/styles/ribbon_unselected_gui.tres" id="20_q6bc1"]
[ext_resource type="Texture2D" uid="uid://bsgqrjx2ity4c" path="res://assets/graphics/touch_control/speed.png" id="26_2f3dj"]
[ext_resource type="Texture2D" uid="uid://cupfmb5m15kmf" path="res://assets/graphics/touch_control/wall.png" id="27_yq6so"]
[ext_resource type="Texture2D" uid="uid://3up2su2e0lfa" path="res://assets/graphics/touch_control/freeze_area.png" id="28_fv21b"]
[ext_resource type="Script" uid="uid://86ikh0wuqk7v" path="res://scripts/ui/powerup_inventory_ui.gd" id="powerup_ui_script"]
[ext_resource type="Script" uid="uid://b54tfa0n6kogi" path="res://scripts/managers/touch_controls.gd" id="touch_manager"]
[ext_resource type="Script" uid="uid://djiml4sh61dc1" path="res://scripts/ui/virtual_joystick.gd" id="virtual_joystick"]
@@ -9828,10 +9831,11 @@ offset_right = 212.0
offset_bottom = 50.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 15
[node name="CoinIcon" type="TextureRect" parent="PowerUpInventoryUI/HBoxContainer" unique_id=341904386]
layout_mode = 2
texture = ExtResource("10_my1qp")
texture = ExtResource("26_2f3dj")
expand_mode = 2
[node name="SelectRect" type="TextureRect" parent="PowerUpInventoryUI/HBoxContainer/CoinIcon" unique_id=961231613]
@@ -9846,7 +9850,7 @@ texture = ExtResource("8_8meci")
[node name="HeartIcon" type="TextureRect" parent="PowerUpInventoryUI/HBoxContainer" unique_id=61328923]
layout_mode = 2
texture = ExtResource("7_xwcc1")
texture = ExtResource("27_yq6so")
expand_mode = 2
[node name="SelectRect" type="TextureRect" parent="PowerUpInventoryUI/HBoxContainer/HeartIcon" unique_id=772732397]
@@ -9861,7 +9865,7 @@ texture = ExtResource("8_8meci")
[node name="DiamondIcon" type="TextureRect" parent="PowerUpInventoryUI/HBoxContainer" unique_id=1830849071]
layout_mode = 2
texture = ExtResource("8_quhbu")
texture = ExtResource("28_fv21b")
expand_mode = 2
[node name="SelectRect" type="TextureRect" parent="PowerUpInventoryUI/HBoxContainer/DiamondIcon" unique_id=439518389]
@@ -9875,6 +9879,7 @@ grow_vertical = 2
texture = ExtResource("8_8meci")
[node name="StarIcon" type="TextureRect" parent="PowerUpInventoryUI/HBoxContainer" unique_id=1468665065]
visible = false
layout_mode = 2
texture = ExtResource("9_i0gbs")
expand_mode = 2