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
@@ -1,14 +1,12 @@
[gd_resource type="ArrayMesh" format=4 uid="uid://hwj23u2j561a"]
[gd_resource type="ArrayMesh" format=4 uid="uid://dr80txgr61irt"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_mwj80"]
load_path = "res://.godot/imported/tile_diamond_holo.png-e0c28a726d94831c5180dcc0376d012c.s3tc.ctex"
[ext_resource type="Texture2D" uid="uid://cp7jtg77hc078" path="res://assets/textures/power_tile/freeze_area_tile.png" id="1_3pijd"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2kxvc"]
resource_name = "boost"
transparency = 1
cull_mode = 2
albedo_color = Color(0.905882, 0.905882, 0.905882, 0.45098)
albedo_texture = SubResource("CompressedTexture2D_mwj80")
albedo_texture = ExtResource("1_3pijd")
[sub_resource type="ArrayMesh" id="ArrayMesh_ggb2g"]
_surfaces = [{
@@ -1,14 +1,12 @@
[gd_resource type="ArrayMesh" load_steps=4 format=4 uid="uid://gpnl4cjrivor"]
[gd_resource type="ArrayMesh" format=4 uid="uid://gpnl4cjrivor"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ghs0t"]
load_path = "res://.godot/imported/tile_coin_holo.png-6a443a1d36bcd3bf79f0210c252c3d26.s3tc.ctex"
[ext_resource type="Texture2D" uid="uid://c1nvesys81nh7" path="res://assets/textures/power_tile/speed_tile.png" id="1_xysjv"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5pajh"]
resource_name = "boost"
transparency = 1
cull_mode = 2
albedo_color = Color(0.91, 0.91, 0.91, 0.45098)
albedo_texture = SubResource("CompressedTexture2D_ghs0t")
albedo_texture = ExtResource("1_xysjv")
[sub_resource type="ArrayMesh" id="ArrayMesh_ghs0t"]
_surfaces = [{
@@ -1,14 +1,12 @@
[gd_resource type="ArrayMesh" format=4 uid="uid://brevl3ab0tdqe"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_txrgg"]
load_path = "res://.godot/imported/tile_heart_holo.png-5c92e04305de5aaa054336f0ec160274.s3tc.ctex"
[ext_resource type="Texture2D" uid="uid://btc2lpme1xemm" path="res://assets/textures/power_tile/wall_tile.png" id="1_74df1"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ld565"]
resource_name = "boost"
transparency = 1
cull_mode = 2
albedo_color = Color(0.905882, 0.905882, 0.905882, 0.45098)
albedo_texture = SubResource("CompressedTexture2D_txrgg")
albedo_texture = ExtResource("1_74df1")
[sub_resource type="ArrayMesh" id="ArrayMesh_1sox1"]
_surfaces = [{

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 137 KiB

@@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cp7jtg77hc078"
path.s3tc="res://.godot/imported/freeze_area_tile.png-f6f6003021e9f9f6767f63158bd11561.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/textures/power_tile/freeze_area_tile.png"
dest_files=["res://.godot/imported/freeze_area_tile.png-f6f6003021e9f9f6767f63158bd11561.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 130 KiB

@@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c1nvesys81nh7"
path.s3tc="res://.godot/imported/speed_tile.png-fc7f1ddb55829636e1f770d63c11e5e5.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/textures/power_tile/speed_tile.png"
dest_files=["res://.godot/imported/speed_tile.png-fc7f1ddb55829636e1f770d63c11e5e5.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

@@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://btc2lpme1xemm"
path.s3tc="res://.godot/imported/wall_tile.png-b9a5e6b7e946282950424d6198750cac.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/textures/power_tile/wall_tile.png"
dest_files=["res://.godot/imported/wall_tile.png-b9a5e6b7e946282950424d6198750cac.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0