feat(screenshot): add screenshot viewer scene

Add SCREENSHOT scene and UI to browse screenshots from the main menu,
with localization for English and Chinese. Also allow image loading
by full path and replace scene-operation asserts with error logs.
This commit is contained in:
2026-08-07 14:34:58 +08:00
parent 607be871b1
commit ef0fc7c5c0
12 changed files with 234 additions and 13 deletions

View File

@@ -4,6 +4,7 @@
"menu.main.join_game": "Join Game",
"menu.main.credits": "Credits",
"menu.main.quit": "Quit",
"menu.screenshot": "Screenshots",
"menu.main.player_name": "Player: {name}",
"menu.main.cubed_version": "Cubed: {version}",
"menu.pause.pause_menu": "Pause Menu",
@@ -46,5 +47,6 @@
"item.snowy_grass_block.name": "snowy grass block",
"item.stone.name": "stone",
"item.water.name": "water",
"item.pig_spawn_egg.name": "pig spawn egg"
"item.pig_spawn_egg.name": "pig spawn egg",
"screenshot.no_screenshot": "No Screenshot"
}