Title screen: icon-only quit, no Create/accessibility/Mods buttons, pack version instead of the Minecraft lines

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fulldroper
2026-10-14 05:58:03 +03:00
co-authored by Claude Opus 5.5
parent 6ec630bf47
commit 1dcefc772c
5 changed files with 235 additions and 19 deletions
+12 -3
View File
@@ -39,7 +39,7 @@
| `banners/launch.png` | анонс відкриття, 1280×720 |
| `banners/invite.png` | картинка-запрошення, 1200×630 |
| `banners/wiki-cover.png` | обкладинка вікі й README, 1280×320 |
| `menu/` | головне меню гри для FancyMenu: тло, лого, макет |
| `menu/` | головне меню гри для FancyMenu: тло, лого, іконка кнопки виходу, макет |
| `art/keyart.png` | головний кадр: нічна вулиця з ліхтарями й вежею ратуші; з нього зроблено банери й тло меню |
| `art/street-lamps.png`, `art/street-tower.png`, `art/night-aerial.png`, `art/factory-hall.png` | інші нічні кадри столиці — запасні |
| `art/keyart-dawn.png`, `art/keyart-sunset.png` | міст і завод на світанку й на заході сонця |
@@ -49,12 +49,21 @@
```
python tools/branding/build.py <1.21.1.jar> <create-1.21.1-6.0.10.jar> branding/art/keyart.png [emblem_raw.png]
python tools/branding/fancymenu.py <тека config гри або збірки>
python tools/branding/fancymenu.py <тека config гри або збірки> <1.21.1.jar> [версія збірки]
```
Перший скрипт малює лого, іконки й банери: шрифт і текстури бере з jar-ів Minecraft і Create (у репозиторії їх
немає), тло — з `art/keyart.png`. Заміниш ілюстрацію на свій кадр із гри — перезапусти, і всі банери й тло меню
оновляться. Другий ставить головне меню в теку `config/fancymenu`.
оновляться. Другий ставить головне меню в теку `config/fancymenu` і малює напис із версією збірки в лівому
нижньому куті; версію бере з `pack.toml` поруч із текою `config`, якщо її не вказано. Після кожної зміни версії
збірки його треба запустити знову.
## Головне меню
Три ряди кнопок: «Увійти на сервер»; «Гра наодинці» й «Гра в мережі»; мова, «Налаштування» й вихід іконкою.
Сховано: кнопку Create, кнопку спеціальних можливостей (вона є в налаштуваннях), кнопку «Моди» та рядки
Minecraft / NeoForge в лівому нижньому куті — замість них версія збірки. Іконка виходу — `sign-out` із
бібліотеки FD Icons, перемальована на піксельну сітку іконок Minecraft.
## Прапор держави
Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

+152 -10
View File
@@ -482,6 +482,148 @@ element {
nine_slice_slider_handle_border_y = 5
}
element {
iconnormal = [source:local]/config/fancymenu/assets/quit.png
iconhovered = [source:local]/config/fancymenu/assets/quit.png
description = Вийти з гри
button_element_executable_block_identifier = c0ffee00-0000-4000-8000-000000000000-1791950000000
[executable_action_instance:c0ffee00-0000-4000-8000-0000000000ff-1791950000000][action_type:quitgame] =
[executable_block:c0ffee00-0000-4000-8000-000000000000-1791950000000][type:generic] = [executables:c0ffee00-0000-4000-8000-0000000000ff-1791950000000;]
underline_label_on_hover = false
transparent_background = false
restartbackgroundanimations = true
nine_slice_custom_background = false
navigatable = true
widget_active_state_requirement_container_identifier = c0ffee00-0000-4000-8000-000000000002-1791950000000
[loading_requirement_container_meta:c0ffee00-0000-4000-8000-000000000002-1791950000000] = [groups:][instances:]
is_template = false
template_apply_width = false
template_apply_height = false
template_apply_posx = false
template_apply_posy = false
template_apply_opacity = false
template_apply_visibility = false
template_apply_label = false
template_share_with = buttons
nine_slice_slider_handle = false
element_type = custom_button
instance_identifier = c0ffee00-0000-4000-8000-000000000003-1791950000000
appearance_delay = no_delay
disappearance_delay = no_delay
fade_in_v2 = no_fading
fade_out = no_fading
auto_sizing = false
auto_sizing_base_screen_width = 2560
auto_sizing_base_screen_height = 1355
sticky_anchor = false
anchor_point = mid-centered
x = 80
y = 12
width = 20
height = 20
stay_on_screen = true
element_loading_requirement_container_identifier = c0ffee00-0000-4000-8000-000000000004-1791950000000
[loading_requirement_container_meta:c0ffee00-0000-4000-8000-000000000004-1791950000000] = [groups:][instances:]
enable_parallax = false
invert_parallax = false
animated_offset_x = 0
animated_offset_y = 0
load_once_per_session = false
layer_hidden_in_editor = false
advanced_rotation_mode = false
advanced_vertical_tilt_mode = false
advanced_horizontal_tilt_mode = false
should_be_affected_by_decoration_overlays = true
in_editor_color = #FFC800FF
advanced_posx = -2147483648
advanced_posy = -2147483648
advanced_width = -2147483648
advanced_height = -2147483648
stretch_x = false
stretch_y = false
appearance_delay_seconds = 1.0
disappearance_delay_seconds = 1.0
fade_in_speed = 1.0
fade_out_speed = 1.0
base_opacity = 1.0
parallax_intensity_x = 0.5
parallax_intensity_y = 0.5
rotation_degrees = 0.0
advanced_rotation_degrees = 0.0
vertical_tilt_degrees = 0.0
advanced_vertical_tilt_degrees = 0.0
horizontal_tilt_degrees = 0.0
advanced_horizontal_tilt_degrees = 0.0
label_scale = 1.0
label_shadow = true
nine_slice_border_x = 5
nine_slice_border_y = 5
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
element {
element_type = image
instance_identifier = c0ffee01-0000-4000-8000-000000000000-1791950000000
appearance_delay = no_delay
disappearance_delay = no_delay
fade_in_v2 = no_fading
fade_out = no_fading
auto_sizing = false
auto_sizing_base_screen_width = 2560
auto_sizing_base_screen_height = 1355
sticky_anchor = false
anchor_point = bottom-left
x = 2
y = -2
width = {version_width}
height = {version_height}
stay_on_screen = true
element_loading_requirement_container_identifier = c0ffee01-0000-4000-8000-000000000001-1791950000000
[loading_requirement_container_meta:c0ffee01-0000-4000-8000-000000000001-1791950000000] = [groups:][instances:]
enable_parallax = false
invert_parallax = false
animated_offset_x = 0
animated_offset_y = 0
load_once_per_session = false
layer_hidden_in_editor = false
advanced_rotation_mode = false
advanced_vertical_tilt_mode = false
advanced_horizontal_tilt_mode = false
should_be_affected_by_decoration_overlays = false
in_editor_color = #FFC800FF
advanced_posx = -2147483648
advanced_posy = -2147483648
advanced_width = -2147483648
advanced_height = -2147483648
stretch_x = false
stretch_y = false
appearance_delay_seconds = 1.0
disappearance_delay_seconds = 1.0
fade_in_speed = 1.0
fade_out_speed = 1.0
base_opacity = 1.0
parallax_intensity_x = 0.5
parallax_intensity_y = 0.5
rotation_degrees = 0.0
advanced_rotation_degrees = 0.0
vertical_tilt_degrees = 0.0
advanced_vertical_tilt_degrees = 0.0
horizontal_tilt_degrees = 0.0
advanced_horizontal_tilt_degrees = 0.0
source = [source:local]/config/fancymenu/assets/version.png
repeat_texture = false
nine_slice_texture = false
nine_slice_texture_border_x = 5
nine_slice_texture_border_y = 5
restart_animated_on_menu_load = false
image_tint = #FFFFFF
rounding_radius_top_left = 0.0
rounding_radius_top_right = 0.0
rounding_radius_bottom_right = 0.0
rounding_radius_bottom_left = 0.0
}
vanilla_button {
button_element_executable_block_identifier = 16b09226-06a9-4fee-8c35-74c0dd5d812c-1778341927602
[executable_block:16b09226-06a9-4fee-8c35-74c0dd5d812c-1778341927602][type:generic] = [executables:]
@@ -557,7 +699,7 @@ vanilla_button {
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
automated_button_clicks = 0
is_hidden = false
is_hidden = true
}
vanilla_button {
@@ -713,7 +855,7 @@ vanilla_button {
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
automated_button_clicks = 0
is_hidden = false
is_hidden = true
}
vanilla_button {
@@ -747,8 +889,8 @@ vanilla_button {
auto_sizing_base_screen_height = 1355
sticky_anchor = false
anchor_point = mid-centered
x = -124
y = 36
x = -100
y = 12
width = 20
height = 20
stay_on_screen = true
@@ -947,7 +1089,7 @@ vanilla_button {
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
automated_button_clicks = 0
is_hidden = false
is_hidden = true
}
vanilla_button {
@@ -981,9 +1123,9 @@ vanilla_button {
auto_sizing_base_screen_height = 1355
sticky_anchor = false
anchor_point = mid-centered
x = -100
y = 36
width = 98
x = -76
y = 12
width = 152
height = 20
stay_on_screen = true
element_loading_requirement_container_identifier = 5c271f02-4570-4fc1-99ab-19ea32d7804f-1778341927602
@@ -1337,7 +1479,7 @@ vanilla_button {
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
automated_button_clicks = 0
is_hidden = false
is_hidden = true
}
vanilla_button {
@@ -1493,7 +1635,7 @@ vanilla_button {
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
automated_button_clicks = 0
is_hidden = false
is_hidden = true
}
vanilla_button {