# 2D Playable\<Click to switch multiple items>Tutorial

Please note: The basic template "Switch multiple items" was created following this tutorial!

## <mark style="color:blue;">1. Basic Info</mark> <a href="#h5pts" id="h5pts"></a>

* \[Difficulty]:⭐
* &#x20;\[Applicable Products]:Universal
* &#x20;\[Interaction]: Click
* \[Number of Interactions]: Unrestricted
* \[Threads]: Multi-threaded
* \[Core Assets]: Static image
* \[Features]:Animation - Scale easing, Event - Press to redirect to the specified scene,Event - Timing trigger.

## <mark style="color:blue;">2.Effect Preview</mark>

| Best experience for playable on mobile devices                      | Vertical screen                                                     | Horizontal screen                                                   |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| <img src="/files/CYxmYVJLuTkTckr1Hgzz" alt="" data-size="original"> | <img src="/files/hFdMkiJfcoSBuXJ9CMgt" alt="" data-size="original"> | <img src="/files/1RTbz3tVjLk2tm495Rrw" alt="" data-size="original"> |
| Scan to play                                                        | [Click to play](https://tinyurl.com/mvkw8ys9)                       | [Click to play](https://tinyurl.com/mvkw8ys9)                       |

## <mark style="color:blue;">3. Gameplay Overview</mark>

**Before starting the production, we need to outline the gameplay logic for this case：**

* Enter the trial, displaying \[Girl Style A] and \[Left/Right Switch Buttons].&#x20;
* Display the \[Operation Guide], prompting player to press the \[Right Switch Button].&#x20;
* At this point, the player can press either left or right button. After the first press of any button, play the \[Outfit Feedback].&#x20;
* Display the \[Operation Guide] again, prompting player to press the \[Confirm Button].&#x20;
  * Before the player presses the \[Confirm Button], they are free to press either left or right button to switch styles, with no limit on the number of times.
* &#x20;When player presses the \[Confirm Button], redirect to the app store.

## <mark style="color:blue;">4.Production Approach</mark>

**Core Concept:** Minimize the number of animations and events within each scene, maintain clear logic in scene segmentation, and keep the layer structure simple.

**Scene Segmentation:** Based on the gameplay overview in Part Three, we can divide this case into 4 scenes for production.

(Scenes 1-3 correspond to 1 set of girl's styles respectively; Scene 4 is the end page)

<table data-full-width="true"><thead><tr><th width="154">Scene Name</th><th>Scene 1-Inducing Switch</th><th>Scene 2- Inducing Click</th><th>Scene 3- Inducing Click</th><th>Scene 4- End page</th></tr></thead><tbody><tr><td><strong>Visual Rendering</strong></td><td><img src="/files/hFdMkiJfcoSBuXJ9CMgt" alt="" data-size="original"></td><td><img src="/files/caheUf1WacDBP48FZniu" alt="" data-size="original"></td><td><img src="/files/FZcgAZwG4tmKiQWXgp8a" alt="" data-size="original"></td><td><img src="/files/aBBCRmZ1AQZsbxM7HoaG" alt="" data-size="original"></td></tr><tr><td><strong>Scene Description</strong></td><td>Display Girl Style A and guide player to click the right switch button.</td><td>Display Girl Style B and guide player to click the confirm button.</td><td>Display Girl Style C and guide player to click the confirm button.</td><td>End page, guide to click the download button</td></tr><tr><td><strong>Animation</strong></td><td><p>[Girl]: Scale easing</p><p>[Guide Finger/arrow]: Scale easing</p></td><td><p>[Girl]: Scale easing</p><p>[Guide Finger/arrow]: Scale easing</p></td><td><p>[Girl]: Scale easing</p><p>[Guide Finger/arrow]: Scale easing</p></td><td>[Download button]: Scale easing</td></tr><tr><td><strong>Core Events</strong></td><td><p>Trigger Object: Layer - Left and right arrows/Confirm button</p><p>Trigger Event: Press</p><p>Response Event: Redirect to the specified scene</p></td><td><p>Trigger Object: Layer - Left and right arrows/Confirm button</p><p>Trigger Event: Press</p><p>Response Event: Redirect to the specified scene</p></td><td><p>Trigger Object: Layer - Left and right arrows/Confirm button</p><p>Trigger Event: Press</p><p>Response Event: Redirect to the specified scene</p></td><td><p>Trigger Object: Layer - Download button</p><p>Trigger Event: Press</p><p>Response Event: Redirect to app store</p></td></tr><tr><td><strong>Asset List</strong></td><td><p>[Audio]:  Click on sound effects and switch style sound effects</p><p>[Image]: Girl style image, switch arrow image, confirm button image, fingers, background image of guide text, logo, CTA button</p><p>[Text]: Guide text, confirm button text, download text</p><p>[Particles]</p></td><td><p>[Audio]:  Click on sound effects and switch style sound effects</p><p>[Image]: Girl style image, switch arrow image, confirm button image, fingers, background image of guide text, logo, CTA button</p><p>[Text]: Guide text, confirm button text, download text</p><p>[Particles]</p></td><td><p>[Audio]:  Click on sound effects and switch style sound effects</p><p>[Image]: Girl style image, switch arrow image, confirm button image, fingers, background image of guide text, logo, CTA button</p><p>[Text]: Guide text, confirm button text, download text</p><p>[Particles]</p></td><td><p>[Image]: Background image, logo, CTA button</p><p>[Text]: Download text</p><p>[Particles]</p></td></tr></tbody></table>

## <mark style="color:blue;">5.</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Production Guidelines**</mark> <a href="#qh8tn" id="qh8tn"></a>

### **Step 1 - Scene Setup** <a href="#znmfx" id="znmfx"></a>

#### **ⅰ. Global Settings**

Add background music and background image in the "Global Settings" section.

<figure><img src="/files/1ZQeDv0nlyothTbZI2fj" alt=""><figcaption></figcaption></figure>

#### **ⅱ. Global Scene**

1）Add persistent information in the "Global Scene": logo, CTA button.

2）Adjust the position and size of each asset accordingly.

3）Group, arrange, and name the assets based on their types.

<figure><img src="/files/tmcoPnzdoCze4hkaEf2f" alt=""><figcaption></figcaption></figure>

#### **ⅲ. Scene 1-3**

1）Add sound effects, girl style images, switch arrows, confirm button, fingers, guide text, particle effects to "Scene 1".

2）Adjust the position and size of each asset accordingly.

3）Group, arrange, and name the assets based on their types.

<figure><img src="/files/dgx1jbsWh0MR0hZBhxnD" alt=""><figcaption></figcaption></figure>

Note: Since the asset distribution is largely the same across the three scenes (with Scene 1 having an additional set of “group\_hand”), We can achieve quick production by duplicating the scene.

#### **ⅳ. Scene 4**

1）Add virtual background image, logo, download button, particles  to "Scene 4".

2）Adjust the position and size of each asset accordingly.Group, arrange, and name the assets based on their types.

3）Select Scene 4 as' Ending Scene 'in Scene setting on the right; Simultaneously cancel Scene 4 \[Enable Global Scene].

<figure><img src="/files/oWq9dt9rvMEgAG7Pf9Wm" alt=""><figcaption></figcaption></figure>

### Step 2 - Animation Production <a href="#dcm38" id="dcm38"></a>

#### **ⅰ.** Character's Breathing Sense

1）Select the character group "role" in scene 1,and change the pivot to (50,100).

<figure><img src="/files/O6DXKgTumtQ16nny6xeX" alt=""><figcaption></figcaption></figure>

2）Continue to add the animation - Universal - Scale Easing(As the girl's Approach animation). Set the parameters as follows:

<figure><img src="/files/neu7jx2gC32KodJVv7DZ" alt=""><figcaption></figcaption></figure>

3）Continue to add the animation - Universal - Scale Easing(As the girl's breathing sense animation). Set the parameters as follows:

<figure><img src="/files/3tgHYIcX3oLyws6PxzLh" alt=""><figcaption></figcaption></figure>

Note: The girl's breathing sense animation in Scene 2/Scene 3 is the same as Scene 1, and can be quickly completed through \[Copy/Paste Animation].

#### **ⅱ. CTA  button**

1）Select the CTA  button group "ctat\_download" in scene 4.

2）Add the animation - Universal - Scale Easing. Set the parameters as follows:

<figure><img src="/files/9YDViHjErGBnhFgyrkXg" alt=""><figcaption></figcaption></figure>

### Step 3 - Logic Settings <a href="#lnpxj" id="lnpxj"></a>

Since the event settings for Scene 2 and Scene 3 are similar to Scene 1, I will use Scene 1 as an example to illustrate. You can quickly complete the event settings for Scene 2 and Scene 3 by copying and pasting events.&#x20;

Additionally, this case involves the function of “Global variables”, which belongs to advanced operations and do not significantly impact of this case. Therefore, I will not provide an explanation on  “Global variables”  here.

#### **ⅰ. Layer Events -** Arrow

1）Select the group layer for “right\_arrow”.

2）Add event - Press.

3）Add response events - Play click sound；Play Scale Easing animation from the beginning of right arrow.

4）Add response events - Execution delay of 0.2s,redirect to the specified scene.

5）Other response events: Set postback event information.

<figure><img src="/files/o3RRPOPQgF0Ms1ar4MI1" alt=""><figcaption></figcaption></figure>

Note: The event settings for left arrow are the same as those for the right arrow, so you can quickly complete the production through \[Copy/Paste Event].

#### **ⅱ. Scene 1： Layer Events -** Confirm button

1）Select the layer for “group\_confirm”.

2）Add event - Press.

3）Add response events - Redirect to the specified scene（Ending page）；Redirect to app store.

4）Other response events: Set postback event information.

<figure><img src="/files/DXd589gOupc1SYxgpLrk" alt=""><figcaption></figcaption></figure>

#### **ⅲ. Scene 1：Scene Events**

1）In Scene 1, add event - Timing trigger.

2）Set the execution delay time to 0s.（Effective upon entering the scene）

3）Add response events - Play Scale Easing animation from the beginning of girl；Play “gf\_hand”animation  from the beginning; Display particle effect; Play sound effect.

<figure><img src="/files/UX7qLIpylL2lIsQ4ERVE" alt=""><figcaption></figcaption></figure>

#### **ⅳ. Scene 4：Scene Events**

1）In Scene 4, add event - Press.

2）Add response events - Redirect to the app store; Set postback event information.

<figure><img src="/files/Qcy00YKDMKUMfZuMQec9" alt=""><figcaption></figcaption></figure>

#### **ⅴ. Global Scene**： **Layer events** - **CTA button**

In Global scene, select the button group and add an event - Press. Then, add a response event - Redirect to the app store.

<figure><img src="/files/gHMpYGdkfvfHeOSpJV10" alt=""><figcaption></figcaption></figure>

### Step 4 - Overall Preview <a href="#q96z9" id="q96z9"></a>

#### <mark style="color:red;">**ⅰ. Landscape Layout**</mark>

After completing the vertical layout for each scene, it is recommended to perform landscape layout (using the "Reuse Vertical Position and Size Configuration" button frequently).

<figure><img src="/files/x4qnWOfAcxd3Fwi6c7OA" alt=""><figcaption></figcaption></figure>

#### <mark style="color:red;">**ⅱ. Screen Adaptation**</mark>

Perform screen adaptation for various device models and their orientations (portrait and landscape), and preview to check if the adaptation is appropriate.

<figure><img src="/files/NHtbVLhhc0vYbsiH6AIo" alt=""><figcaption></figcaption></figure>

#### **ⅲ. Overall Preview**

After completing the entire production, you can perform an overall preview for different device models, languages, and orientations (portrait and landscape).

<figure><img src="/files/3jpccpm5EcIbotQzVR8q" alt=""><figcaption></figcaption></figure>

## <mark style="color:blue;">6.Assets Provision</mark>

At the end of the tutorial, we have **provided all the assets used in this case** for you. Click on the compressed file to download it.&#x20;

You can use these assets to follow the tutorial and try creating your own content, enabling you to get familiar with using the Content editor more quickly.

{% file src="/files/sktagJiHuBUJto8GPLYO" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.playturbo.com/playturbo-case-study/playable-content-editor/general-gameplay-cases/simple-tutorial-blank-canvas-tutorial/2d-playable-less-than-click-to-switch-multiple-items-greater-than-tutorial.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
