3.4 KiB
3.4 KiB
sidebar_position
sidebar_position |
---|
18 |
Buy Feature
Overview
Implementation
Prepare Assets
Setup Animations
-
Using hepler to generate animations using the prepared assets
-
Configure Spine Animation
Set Is Loop ✅ for
anim-button-open-buy-bonus-enable
andanim-board-shortcut-buy-bonus-idle
.
Setup Buy Feature Board Desktop
Step | Action | Image Reference |
---|---|---|
1 | - Setup the Title Sprite Frame using the prepared assets. | ![]() |
2 | - Setup the Sprite Frame in the static-board using the prepared assets. |
![]() |
3 | - Adjust Font in lbl-cost-buy-feature according to the game design.- Use Bitmap Font Creator if you need to create a Bitmap Font. |
![]() |
4 | - Setup the 4 Buttons Sprite Frame using the prepared assets. | ![]() |
Setup Buy Feature Button Desktop
Step | Action | Image Reference |
---|---|---|
1 | - Setup the Text Sprite Frame using the prepared assets. | ![]() |
2 | 1. Drag the skeketon anim-button-open-buy-bonus into child of "content".2. Click Generate Attached Node. 3. Move node-container to the ATTACHED_NODE:number .4. Deleted old anim-button-open-buy-bonus . |
![]() |
3 | - Move new anim-button-open-buy-bonus into Node Animation. |
![]() |
4 | - Adjust Font in lbl-cost-buy-feature according to the game design.- Use Bitmap Font Creator if you need to create a Bitmap Font. |
![]() |
Configure Scene
- Drag the
shortcut-buy-feature-panel
,shortcut-buy-feature-board
into the Scene at this position. - Update Prefab in the
shortcut-buy-feature-button
.