add set up background main game
@ -93,9 +93,67 @@ The setup is very straightforward by using the `Generate Panel` command in each
|
|||||||
> - Which helper/p4f menu can be used
|
> - Which helper/p4f menu can be used
|
||||||
|
|
||||||
## Setup Background
|
## Setup Background
|
||||||
|
### Background Desktop
|
||||||
|
1. Prepare for **Background Animation**.
|
||||||
|
|
||||||
> To Be Added:
|
- Assets
|
||||||
> - show how many background: desktop, mobile, main game, free game, gamble, reel bg, slot panel bg.
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
- Node Tree and Properties
|
||||||
|
|
||||||
|
Animation Provider: We add anim-landscape in desktop assets , it is used for desktop and mobile landscape.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Background Container
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
2. Set up **Background** for **Main Game**.
|
||||||
|
|
||||||
|
- Static
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
If we have animation background, we can remove **Sprite Component** to decrease Drawcall, because we already have static sprite frame on **Spine Animation Component**.
|
||||||
|
|
||||||
|
- Animation
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Background Mobile
|
||||||
|
1. Prepare for **Background Animation**.
|
||||||
|
|
||||||
|
- Assets
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
- Node Tree and Properties
|
||||||
|
|
||||||
|
Animation Provider: We add anim-portrait in mobile assets, anim-landscape we still use desktop assets.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Background Container
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
2. Set up **Background** for **Main Game**.
|
||||||
|
|
||||||
|
- Static
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
If we have animation background, we can remove **Sprite Component** to decrease Drawcall, because we already have static sprite frame on **Spine Animation Component**.
|
||||||
|
|
||||||
|
- Animation
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## Setup Animation Provider
|
## Setup Animation Provider
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 8.1 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 113 KiB |