Properties
aspectRatio
aspectRatio: number
assets
assets: { audio: Record<string, string>; background: Record<string, string>; images: Record<string, string> }
Type declaration
-
audio: Record<string, string>
-
background: Record<string, string>
-
images: Record<string, string>
bgm
bgm
: { autoplay
: boolean; collection
: Music[] }
Type declaration
-
autoplay: boolean
-
collection: Music[]
canvasWidth
canvasWidth: number
cdn
cdn: { enable: boolean; prefix?: string }
Type declaration
-
enable: boolean
-
Optional
prefix?: string
characters
favicon
favicon: string
features
pages
pages: { start: { bg: string; darkBg?: string } }
Type declaration
-
start: { bg: string; darkBg?: string }
-
bg: string
-
Optional
darkBg?: string
Optional
remote
remote?: boolean
selectable
selectable: boolean
showCharacterAvatar
showCharacterAvatar: boolean
theme
theme: string
themeConfig
themeConfig: any
title
title: string
Aspect ratio for game should be like
16/9
or1:1
Default
'16/9'