Skip to content

Scene_Boot ⇐ Scene_Base

Kind: global class
Extends: Scene_Base

  • Scene_Boot ⇐ Scene_Base
    • new Scene_Boot()
    • .initialize() ⇒ void
    • .create() ⇒ void
    • .loadSystemWindowImage() ⇒ void
    • .loadSystemImages() ⇒ void
    • .isReady() ⇒ Boolean
    • .isGameFontLoaded() ⇒ Boolean | undefined
    • .start() ⇒ void
    • .updateDocumentTitle() ⇒ void
    • .checkPlayerLocation() ⇒ void

new Scene_Boot()

游戏启动时的场景类,负责初始化游戏系统、加载数据库和系统资源。
The scene class when the game starts, responsible for initializing the game system, loading database and system resources.


Scene_Boot.initialize() ⇒ void

初始化启动场景对象,记录启动时间。
Initializes the boot scene object, records the start time.

Kind: static method of Scene_Boot
Returns: void - 无返回值 No return value


Scene_Boot.create() ⇒ void

创建启动场景的显示对象,加载数据库和配置。
Creates the display objects for the boot scene, loads database and configuration.

Kind: static method of Scene_Boot
Returns: void - 无返回值 No return value


Scene_Boot.loadSystemWindowImage() ⇒ void

预留系统窗口图像资源。
Reserves the system window image resource.

Kind: static method of Scene_Boot
Returns: void - 无返回值 No return value


Scene_Boot.loadSystemImages() ⇒ void

预留所有系统图像资源,包括图标、对话框、阴影等。
Reserves all system image resources, including icons, dialog boxes, shadows, etc.

Kind: static method of Scene_Boot
Returns: void - 无返回值 No return value


Scene_Boot.isReady() ⇒ Boolean

检查数据库和游戏字体是否加载完成。
Checks whether the database and game font are loaded.

Kind: static method of Scene_Boot
Returns: Boolean - 如果准备就绪则返回 true - Returns true if ready


Scene_Boot.isGameFontLoaded() ⇒ Boolean | undefined

检查游戏字体是否加载完成,如果超过 60 秒未加载则抛出错误。
Checks whether the game font is loaded, throws an error if not loaded after 60 seconds.

Kind: static method of Scene_Boot
Returns: Boolean | undefined - 如果字体加载则返回 true,超时则抛出错误 - Returns true if font is loaded, throws error on timeout


Scene_Boot.start() ⇒ void

开始启动场景,预加载重要音效并根据测试模式跳转到相应场景。
Starts the boot scene, preloads important sounds and jumps to appropriate scene based on test mode.

Kind: static method of Scene_Boot
Returns: void - 无返回值 No return value


Scene_Boot.updateDocumentTitle() ⇒ void

更新浏览器文档标题为游戏标题。
Updates the browser document title to the game title.

Kind: static method of Scene_Boot
Returns: void - 无返回值 No return value


Scene_Boot.checkPlayerLocation() ⇒ void

检查玩家的起始位置是否设置,如果未设置则抛出错误。
Checks whether the player's starting position is set, throws an error if not set.

Kind: static method of Scene_Boot
Returns: void - 无返回值 No return value


贡献者

暂无相关贡献者

页面历史

暂无最近变更历史
最近更新