2021-06-07 15:13:32 +08:00

20 lines
997 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import {game} from 'cc';
game.appConfig =
{
debug: true, //调试模式输出log
startPage: "ui/start", //开始页
autoRemoveLaunchImage: false, //自动移除启动屏为false时在适当时候自行调用cx.removeLaunchImage()
designSizeMinWidth: 0, //最小设计宽度,如果适配后的宽度小于该值,则适配模式自动变为宽度适配
designSizeMinHeight: 750, //最小设计高度,如果适配后的高度小于该值,则适配模式自动变为高度适配
slideEventDisabled: false, //禁止子页面右划
pageActionDisabled: false, //禁止页面显示和退出动画
androidkeyDisabled: false, //禁止android返回键
hintFontSize: 36, //cx.hint 文字尺寸
hintFontColor: "ff0000", //cx.hint 文字颜色
hintFontOutlineWidth: 1, //cx.hint 文字描边宽度
hintFontOutlineColor: "777777", //cx.hint 文字描边颜色
}