You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
573 B

/**
* Init 首屏在逻辑画布(Game.getInfo,与 designWidth 缩放一致)下的布局参数。
* 分区:上区标题 → 中区角色 → 底区主按钮;改间距只改此处。
*/
export const initSceneLayout = {
titleYRatio: 0.12,
subtitleYRatio: 0.2,
heroYRatio: 0.46,
/** 主按钮相对底边的上移(逻辑像素,与 position.get 的 options.y 一致) */
startCtaOffsetY: -110,
/** 首屏进入欢迎页时的切场景策略(对齐 scene transaction 参数) */
nextSceneTransition: {
isHolderLast: false,
},
} as const;