Skip to content

Quick Game Launch ​

In some business scenarios, to speed up users' entry into a minigame, the APP can cache a specified game package locally in advance and pre-load and pre-start it. When the user enters the game, this can greatly reduce the time so they can directly enter and start playing. For example, for key recommended games or homepage games in the APP's business scenarios, resources can be downloaded in advance, or the game can be pre-loaded and run in advance, so users can quickly enter the game. The APP can flexibly use these abilities:

The APP can call them according to actual needs. The three interfaces are executed sequentially during the process of running a game; the APP can call them in order, or call only one of them.

Interface CallEffect
Pre-downloadOnly downloads the game package
Pre-loadIf the game package is already downloaded, loads the game directly; if the game package is not downloaded, downloads it automatically first and then loads the game
Pre-startIf the game package is already loaded, runs the game directly; if the game is not loaded, loads it first and then runs it; if the game is not yet downloaded, downloads it first, then loads it, then runs it