Compare commits
1 Commits
37b652b26a
...
cb61aca9d4
Author | SHA1 | Date | |
---|---|---|---|
cb61aca9d4 |
@ -4,8 +4,73 @@ sidebar_position: 7
|
|||||||
|
|
||||||
# Item Description
|
# Item Description
|
||||||
|
|
||||||
> To be Add
|
Provides players with detailed information about each item of the game.
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
> To be Add
|
## Overview
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Prepare the assets
|
||||||
|
| Assets | Description |
|
||||||
|
|--------|-------------|
|
||||||
|
|  | Used to setup background. |
|
||||||
|
|  | Used to setup for static symbol. |
|
||||||
|
|  | Used to setup for animation symbol. |
|
||||||
|
|  | Used to setup Payout/Description. |
|
||||||
|
|
||||||
|
## Setup Prefabs Item Description
|
||||||
|
|
||||||
|
| Step | Action | Description | Image Reference |
|
||||||
|
| :--: | :----- | :---------- | :-------------: |
|
||||||
|
| 1 | Locate all template prefabs need for **Item Description** | Search for the `template-item-description` prefab. |  |
|
||||||
|
| 2 | Clone assets| Copy/Pase to game assets location, then rename the copied prefabs by removing unnecessary prefixes. |  |
|
||||||
|
|
||||||
|
### item-description-small
|
||||||
|
|
||||||
|
Setup prefab `item-description-small` for item have win payout:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
| Step | Action | Image Reference |
|
||||||
|
| :--: | :----- | :-------------: |
|
||||||
|
| 1 | - Setup **Sprite Frame** in `background` from prepared assets. | <img width="1000"/> |
|
||||||
|
| 2 | - Setup Item with prefab name follow format item-description-**name**".<br/> - Setup **Animation Name** with animation name of item in **Animation Provider**.|  |
|
||||||
|
| 3 | - Setup **Sprite Frame** in `sprite-item` same name with item from prepared assets. |  |
|
||||||
|
| 4 | - Change **Color**, **Font** and **Font Size** in `multi-x...` and `oods-x...` follow the game design.<br/> - Use [Bitmap Font Creator](http://localhost:3000/docs/category/game-asset-structure) to create Font Bitmap if you need it.|  |
|
||||||
|
|
||||||
|
|
||||||
|
### item-description-no-odds
|
||||||
|
Setup prefab `item-description-no-odds` for item have description without win payout:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
| Step | Action | Image Reference |
|
||||||
|
| :--: | :----- | :-------------: |
|
||||||
|
| 1 | - Setup **Sprite Frame** in `background` from prepared assets. | <img width="1000"/> |
|
||||||
|
| 2 | - Setup Item with prefab name follow format item-description-**name**".<br/> - Setup **Animation Name** with animation name of item in **Animation Provider**.|  |
|
||||||
|
| 3 | - Setup **Sprite Frame** in `sprite-item` same name with item from prepared assets. |  |
|
||||||
|
| 4 | - Setup **String**, change **Color**, **Font** and **Font Size** in `description` follow the game design.<br/> - Use [Bitmap Font Creator](http://localhost:3000/docs/category/game-asset-structure) to create Font Bitmap if you need it.|  |
|
||||||
|
|
||||||
|
### item-description-big
|
||||||
|
Setup prefab `item-description-big` for item have win payout and description:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
| Step | Action | Image Reference |
|
||||||
|
| :--: | :----- | :-------------: |
|
||||||
|
| 1 | - Setup **Sprite Frame** in `background` from prepared assets. | <img width="1000"/> |
|
||||||
|
| 2 | - Setup Payout for item, we do **Step 4** in **Setup prefab `item-description-small`** | [Configure Item Description Small](./item-description#item-description-small) | |
|
||||||
|
| 3 | - Setup Payout for item, we do **Step 4** in **Setup prefab `item-description-no-odds`** | [Configure Item Description No Odds](./item-description#item-description-no-odds) | |
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Use Helper to setup:
|
||||||
|
1. Setup **Content Size** and **Cell Item Size** follow game design.
|
||||||
|
2. Use prepared fonts (Bitmap) to setup **Labels** font.
|
||||||
|
3. Click **Set Size** to run helper.
|
||||||
|
4. Setup **Background**, **Sprite Frame**, **Animation**, **Payout**, **Description** of item from prepared assets.
|
||||||
|
|
||||||
|

|
||||||
|
:::
|
After Width: | Height: | Size: 214 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 117 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 76 KiB |