Better alignment, still needs work
This commit is contained in:
@@ -84,7 +84,7 @@ load_path = "res://.godot/imported/SO008B.BMP-57a2d92123e6b32a5ec6367855ebadf6.c
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_alhr0"]
|
||||
atlas = SubResource("CompressedTexture2D_4lqfr")
|
||||
region = Rect2(255, 272, 3, 9)
|
||||
region = Rect2(258, 272, 3, 9)
|
||||
|
||||
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_eajv6"]
|
||||
load_path = "res://.godot/imported/SO008B.BMP-57a2d92123e6b32a5ec6367855ebadf6.ctex"
|
||||
@@ -337,12 +337,13 @@ offset_left = 1.0
|
||||
offset_top = 103.0
|
||||
offset_right = 225.0
|
||||
offset_bottom = 131.0
|
||||
alignment = 2
|
||||
|
||||
[node name="HealthChipBar" parent="UIBase/UnitPanel/UnitHealth" unique_id=379110810 instance=ExtResource("6_gqe5k")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
max_chips_per_row = 100
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
empty_chip_texture = SubResource("AtlasTexture_eskga")
|
||||
filled_chip_texture = SubResource("AtlasTexture_14b7f")
|
||||
|
||||
@@ -361,7 +362,7 @@ number_sprite_height = 15
|
||||
|
||||
[node name="UnitSP" type="HBoxContainer" parent="UIBase/UnitPanel" unique_id=514403074]
|
||||
layout_mode = 0
|
||||
offset_left = 185.0
|
||||
offset_left = 1.0
|
||||
offset_top = 133.0
|
||||
offset_right = 225.0
|
||||
offset_bottom = 151.0
|
||||
@@ -369,8 +370,8 @@ offset_bottom = 151.0
|
||||
[node name="SPChipBar" parent="UIBase/UnitPanel/UnitSP" unique_id=374103132 instance=ExtResource("6_gqe5k")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
max_chips_per_row = 100
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
empty_chip_texture = SubResource("AtlasTexture_yhw6j")
|
||||
filled_chip_texture = SubResource("AtlasTexture_kdblo")
|
||||
|
||||
@@ -389,7 +390,7 @@ number_sprite_height = 15
|
||||
|
||||
[node name="UnitFS" type="HBoxContainer" parent="UIBase/UnitPanel" unique_id=1209088756]
|
||||
layout_mode = 0
|
||||
offset_left = 185.0
|
||||
offset_left = 1.0
|
||||
offset_top = 160.0
|
||||
offset_right = 225.0
|
||||
offset_bottom = 178.0
|
||||
@@ -397,8 +398,8 @@ offset_bottom = 178.0
|
||||
[node name="FSChipBar" parent="UIBase/UnitPanel/UnitFS" unique_id=1380843979 instance=ExtResource("6_gqe5k")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
max_chips_per_row = 100
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
empty_chip_texture = SubResource("AtlasTexture_kd55s")
|
||||
filled_chip_texture = SubResource("AtlasTexture_alhr0")
|
||||
|
||||
|
||||
BIN
reference_images/chip.png
Normal file
BIN
reference_images/chip.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
40
reference_images/chip.png.import
Normal file
40
reference_images/chip.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bhtnqu000slm2"
|
||||
path="res://.godot/imported/chip.png-5735088daa8f24a5994c25e597283774.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://reference_images/chip.png"
|
||||
dest_files=["res://.godot/imported/chip.png-5735088daa8f24a5994c25e597283774.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
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=false
|
||||
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=1
|
||||
Reference in New Issue
Block a user