Compare commits
2 Commits
9e6f6c9ce4
...
c286baac6f
Author | SHA1 | Date | |
---|---|---|---|
|
c286baac6f | ||
|
6f491046e2 |
@ -3,6 +3,9 @@ sidebar_position: 1
|
|||||||
---
|
---
|
||||||
|
|
||||||
# System
|
# System
|
||||||
|
|
||||||
|
> To be added
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
> To be added
|
> To be added
|
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_position: 14
|
|
||||||
---
|
|
||||||
|
|
||||||
# Sprite Frame Provider Setup
|
|
||||||
---
|
|
||||||
**SpriteFrameProvider** allows global access to "sprite frames" from code.
|
|
||||||
|
|
||||||

|
|
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_position: 15
|
|
||||||
---
|
|
||||||
|
|
||||||
# Set Up the Animation Provider
|
|
||||||
---
|
|
||||||
**Animation Provider** contains all **animations** of the game.
|
|
||||||
|
|
||||||

|
|
@ -4,7 +4,14 @@
|
|||||||
"collapsible": true,
|
"collapsible": true,
|
||||||
"collapsed": false,
|
"collapsed": false,
|
||||||
"link": {
|
"link": {
|
||||||
"type": "doc",
|
"type": "generated-index",
|
||||||
"id": "main-scene-overview"
|
"title": "Setup Main Game",
|
||||||
|
"description": "This is where all the magic happen.",
|
||||||
|
"keywords": [
|
||||||
|
"setup",
|
||||||
|
"main game",
|
||||||
|
"game logic",
|
||||||
|
"structure"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
id: main-scene-overview
|
|
||||||
title: Setup Main Game
|
|
||||||
description: Main scene structure and setup process.
|
|
||||||
---
|
|
||||||
|
|
||||||
# Main Scene
|
|
||||||
|
|
||||||
This is where all the magic happen.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Main scene is the most complicated scene with hundreds of object, script and config.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Yet it is suprisingly simple to use.
|
|
||||||
|
|
||||||
By following step by step setup, you'll have a working main scene in no time.
|
|
||||||
|
|
||||||
:::info
|
|
||||||
In fact, if all of the other scenes are setup properly, you can even run test the game without any setup on main scene.
|
|
||||||
|
|
||||||
Try to run the project, you'll the result as below. It doesn't look like much but it is actually a game running without visual assets.
|
|
||||||
|
|
||||||

|
|
||||||
:::
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
|||||||
# Setup After Change Assets
|
|
||||||
|
|
||||||
## CUSTOM-SCALE
|
|
||||||
|
|
||||||
:::info
|
|
||||||
Short description: This helper will help you update file custom-scale-data, which can auto scale your asset to optimize.
|
|
||||||
:::
|
|
||||||

|
|
||||||
|
|
||||||
This file will change after you run this.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## REMOVE PACKAGE
|
|
||||||
:::info
|
|
||||||
Short description: Asset of cocos will auto pack atlas when build. Our atlas already packed by tps, so we have to remove this setting.
|
|
||||||
:::
|
|
||||||

|
|
||||||
|
|
||||||
Your asset will change this setting.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
## COMPRESS TEXTURE FORMAT
|
|
||||||
:::info
|
|
||||||
Short description: This helper will help you update file custom-scale-data, which can auto scale your asset to optimize.
|
|
||||||
:::
|
|
||||||

|
|
||||||
|
|
||||||
Your asset will change this setting.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## RUN PRELOAD HYPER HELPER
|
|
||||||
:::info
|
|
||||||
Short description: This helper will setup to load your assets with mobile/desktop & localize.
|
|
||||||
:::
|
|
||||||

|
|
||||||
:::warning
|
|
||||||
Remember open preload scene when run this helper.
|
|
||||||
:::
|
|
||||||
|
|
||||||
## MERGE JSON FILES
|
|
||||||
:::info
|
|
||||||
Short description: This helper merges all your JSON files into one, helping the game run faster in the editor.
|
|
||||||
:::
|
|
||||||

|
|
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 13 KiB |