Files
AIGame/Tools/WeChat/startup-loading.js

23 lines
982 B
JavaScript

// Shared visual direction for the SDK cover and the local Unity loading prefab.
export default {
totalLaunchTime: 7000,
animationDuration: 100,
designWidth: 1080,
designHeight: 1920,
scaleMode: 'NO_BORDER',
textConfig: {
firstStartText: '首次进入需要下载资源,请稍候',
downloadingText: ['正在下载资源…'],
compilingText: '正在准备冒险…',
initText: '正在布置营地…',
completeText: '准备就绪,即将出发',
textDuration: 1500,
style: { bottom: 225, height: 50, width: 920, lineHeight: 50, color: '#FFF8E8', fontSize: 32 },
},
barConfig: {
style: { width: 780, height: 30, padding: 3, bottom: 160, backgroundColor: '#7ED321' },
},
iconConfig: { visible: false, style: { width: 64, height: 23, bottom: 20 } },
materialConfig: { backgroundImage: 'images/startup-cover.png', backgroundVideo: '', iconImage: 'images/unity_logo.png' },
};