update docs for portrait
This commit is contained in:
parent
8ff39e20ab
commit
04750a2f6c
@ -483,7 +483,7 @@ The game logo is a crucial branding element that must be consistently displayed
|
||||
| Mobile | Landscape |  |
|
||||
| Mobile | Portrait |  |
|
||||
|
||||
### Animation Configuration
|
||||
### Logo Configuration
|
||||
|
||||
#### 1. Core Setup
|
||||
Location: `assets\core-assets\hyper-core\packages\logo-animation`
|
||||
@ -527,14 +527,17 @@ onLoad: function () {
|
||||
|
||||

|
||||
|
||||
### Platform-Specific Setup
|
||||
### Platform Setup
|
||||
|
||||
#### Desktop Configuration
|
||||
|
||||
1. Base Settings
|
||||
|
||||

|
||||
|
||||
*Node Setup*
|
||||
🔗 Click [Here](#platform-node-spawner-settings) to follow `platform-ui-controller`
|
||||
|
||||
2. Node Setup
|
||||
```typescript
|
||||
Components: {
|
||||
animation: 'hyper-logo-animation',
|
||||
@ -542,34 +545,35 @@ onLoad: function () {
|
||||
```
|
||||

|
||||
|
||||
|
||||
2. Position Guidelines
|
||||
- Follow design specifications
|
||||
- Avoid UI element overlap
|
||||
- Consider screen layout
|
||||
:::tip
|
||||
- **Position And Size**: Follow Game Design.
|
||||
:::
|
||||
|
||||
#### Mobile Configuration
|
||||
|
||||
##### Landscape Mode
|
||||
|
||||
1. Node Setup
|
||||
```typescript
|
||||
Components: {
|
||||
animation: 'hyper-logo-animation',
|
||||
scaling: 'landscape-logo-spine-aspect-ratio-keeper'
|
||||
}
|
||||
```
|
||||

|
||||
|
||||
| Component | Description |
|
||||
|-------------------------------------------|--------------------------------------------------|
|
||||
| `hyper-logo-animation` | Plays and manages the logo animation |
|
||||
| `node-position-by-jackpot` | Moves the logo based on the jackpot display state |
|
||||
| `landscape-logo-spine-aspect-ratio-keeper`| Keeps the logo size consistent on all screens (**Exp: 1.0**) |
|
||||
|
||||

|
||||
|
||||
##### Portrait Mode
|
||||
|
||||
1. Node Configuration
|
||||
1. Node Setup
|
||||
|
||||
| Component | Description |
|
||||
|----------------------------|--------------------------------------------------|
|
||||
| `hyper-logo-animation` | Plays and manages the logo animation |
|
||||
| `node-position-by-jackpot` | Moves the logo based on the jackpot display state |
|
||||
| `spine-aspect-ratio-keeper`| Keeps the logo size consistent on all screens |
|
||||
| Component | Description |
|
||||
|----------------------------|--------------------------------------------------|
|
||||
| `hyper-logo-animation` | Plays and manages the logo animation |
|
||||
| `node-position-by-jackpot` | Moves the logo based on the jackpot display state |
|
||||
| `spine-aspect-ratio-keeper`| Keeps the logo size consistent on all screens (**Exp: 1.0** ) |
|
||||
|
||||

|
||||
|
||||
2. Position Settings
|
||||
|
||||
@ -578,9 +582,17 @@ onLoad: function () {
|
||||
| Jackpot Active | Upper position |  |
|
||||
| Jackpot Inactive | Default position |  |
|
||||
|
||||
:::tip Best Practices
|
||||
- Test on multiple device sizes
|
||||
- Verify animations load properly
|
||||
- Check positioning in all game states
|
||||
- Ensure consistent scaling
|
||||
3. Size Settings
|
||||
|
||||
Using componet `spine-aspect-ratio-keeper` :
|
||||
|
||||

|
||||
|
||||
| Setting | Description | Default Value |
|
||||
| ----------------- | -------------------------------------------- | --------------------- |
|
||||
| **Default Scale** | Initial scale factor applied to the node | Configurable per game (**Exp: 1.0**) |
|
||||
| **Default Size** | Base width and height used for scaling logic | Configurable per game (**Exp: 1050 x 1680**) |
|
||||
|
||||
:::tip
|
||||
- Check Logo Static when is lowest Network
|
||||
:::
|
Loading…
x
Reference in New Issue
Block a user