Docs
Title Menu
Title Menu
cpyvn now supports a startup title menu before script execution.
Enable
In project.json:
"ui": {
"title_menu_enabled": true,
"title_menu_file": "title_menu.json"
}
Theme File
title_menu_file points to a JSON file in project root.
Main keys:
title,subtitletitle_font_size,subtitle_font_size,item_font_size,meta_font_sizebackground:kind(image/color),value,asset_kind,overlay_alphalayout:menu_x,menu_y,menu_width,button_height,button_gapcolorsbuttons(label+action)logos: list of image blocks- each logo:
path,asset_kind,x,y, optionalw,h,alpha,anchor
- each logo:
load_rows,load_cols
Actions:
new_gamecontinueopen_loadopen_prefsquit
Notes
Continueauto-disables if no quicksave/slot exists.- Load view reads slot metadata from save files.
- Preferences share
saves/ui_prefs.jsonwith pause menu.