# Interactive Videos\<Two options & endings>Tutorial

Please note: The basic template "Two options & endings" 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]: 2-Step Rediect
* \[Threads]: Both-threaded
* \[Core Assets]: Video(3 segments/coherent)
* \[Features]:Animation - Scale easing, Event - Press to redirect to the specified scene,Event - Timing trigger to play all animations from the beginning

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

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

## <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, play the video \[Girl Being Harassed] in a loop;&#x20;
* Display \[Left/Right Choice Guide] to direct player to press options for identification.
* When player presses the left option \[Save Her]: enter the rescue ending
  * Play the video once \[Protagonist's Flying Kick Scene + Girl's Gratitude];&#x20;
  * Display the \[Left/Right Choice Guide] again, directing player to press options for identification;&#x20;
  * Player presses anywhere on the screen, redirect to the app store.
* When player presses the right option \[Don't Save]: enter the escape ending
  * Play the video once \[Protagonist's Reverse Escape Encounter with Boss];&#x20;
  * Display the \[Left/Right Choice Guide] again, directing player to press options for identification;&#x20;
  * Player presses anywhere on the screen, 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 3 scenes for production.

(Scene 1: Inducing Choice; Scene 2: Ending A; Scene 3: Ending B)

<table data-full-width="true"><thead><tr><th width="194">Scene Name</th><th width="238">Scene 1-Inducing Choice</th><th width="262">Scene 2- Ending A</th><th>Scene 3- Ending B</th></tr></thead><tbody><tr><td><strong>Visual Rendering</strong></td><td><img src="/files/nb6J5BUdf3cT4bKT3TKn" alt="" data-size="original"></td><td><img src="/files/4kUlVg9QwaG5V644G8JZ" alt="" data-size="original"></td><td><img src="/files/I8VQAlikq0mBiRfhgPOr" alt="" data-size="original"></td></tr><tr><td><strong>Scene Description</strong></td><td>Play the video [Girl Being Harassed] in a loop,guiding player to make a choice.</td><td>Play the video for Ending A, and at the end of the video, guide player to make a second round of choices.</td><td>Play the video for Ending B, and at the end of the video, guide player to make a second round of choices.</td></tr><tr><td><strong>Animation</strong></td><td><p>[Option Buttons]: Scale easing</p><p>[Guide Finger]: Scale easing + Displacement easing</p></td><td><p>[Option Buttons]: Scale easing + Alpha easing</p><p>[Guide Finger]: Scale easing + Displacement easing</p></td><td><p>[Option Buttons]: Scale easing + Alpha easing</p><p>[Guide Finger]: Scale easing + Displacement easing</p></td></tr><tr><td><strong>Core Events</strong></td><td><p>Trigger Object: Layer - interactive area</p><p>Trigger Event: Press</p><p>Response Event: Redirect to the specified scene</p></td><td><p>Trigger Object:Scene-Scene 2</p><p>Trigger Event: Timing trigger</p><p>Response Event: Play all animations from the beginning</p><hr><p>Trigger Object:Scene-Scene 2</p><p>Trigger Event: Press</p><p>Response Event:Redirect to app store </p></td><td><p>Trigger Object:Scene-Scene 3</p><p>Trigger Event: Timing trigger</p><p>Response Event: Play all animations from the beginning</p><hr><p>Trigger Object:Scene-Scene 3</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>[Video]: Autoplay,Loop</p><p>[Audio]: Click sound effect</p><p>[Image]: Guide text, guide finger,option buttons</p></td><td><p>[Video]: Autoplay,close loop</p><p>[Image]: Guide finger,option buttons</p></td><td><p>[Video]: Autoplay,close loop</p><p>[Image]: Guide finger,option buttons</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.

<div align="left"><figure><img src="/files/nrDWzTZZouKT70VQEyIb" alt=""><figcaption></figcaption></figure></div>

#### **ⅱ. 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.

<div align="left"><figure><img src="/files/bTSYL4juKue4U7U1iNdB" alt=""><figcaption></figcaption></figure></div>

#### **ⅲ. Scene 1**

1）Add video, sound effect, guide finger, guide text, option buttons 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/RnuA2J2nq9aeaPwNwkyR" alt=""><figcaption></figcaption></figure>

#### **ⅳ. Scene 2-3**

1）Add video, guide finger, and option buttons in Scene 2 and Scene 3 respectively.

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

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

<div align="left"><figure><img src="/files/l46Q4CbWmMFrsFDwqFwI" alt=""><figcaption></figcaption></figure></div>

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

#### **ⅰ. Guide Finger**

Since the finger needs to move and scale synchronously with the button during the decision, we will set up two general animations for the finger: Scale Easing and Displacement Easing.

1\) Select the finger image "gf\_hand" on the left side of the layer and add the animation - Universal - Displacement Easing. Set the parameters as follows:

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

2）Continue to add the animation - Universal - Scale Easing. Set the parameters as follows:

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

#### **ⅱ. Scene 1 - Option Buttons**

1）Select the option button group "left\_options" on the left side of the layer and add the animation - Universal - Scale Easing. Set the parameters as follows:

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

2）Copy the animation to the option button group "right\_options" , and modify the animation curve accordingly:

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

#### **ⅲ. Scene 2/3 -** Alpha Easing

Since the finger animation and option button animation in Scene 2/Scene 3 are the same as in Scene 1, we can quickly complete the production by copying/pasting the animations.&#x20;

Additionally, we can also add Alpha Easing animation. Set the initial opacity of the asset to 0, so that the fingers and option buttons are not visible when entering the scene. They will be displayed at the end of the video.Set the parameters as follows:

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

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

#### **ⅰ. Layer Events -** interactive area

We will set two interactive areas for the left and right option buttons separately. First, we'll set up events for the left interactive area and then copy the events to the right interactive area. With some simple adjustments, we can quickly complete the production.

1\) Select the layer "left operating area" .

2\) Add Event - Press.

3\) Add the response event - Pause a single animation.(the Scale Easing animation of option button)

4）Add the response event - Redirect to the specified scene after execution delay of 0.3 seconds.(Redirect to the corresponding ending after player presses the button for 0.3 seconds)

5\) Other response events: Play sound/Set tracking information.

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

#### **ⅱ. Scene 2/3：Scene Event**

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

2）Add a response event - Play all animations from the beginning after execution delay of 3 seconds.(When the video playback ends, play the finger and option button animation from the beginning)

3）Add Event - Press，Add response events - Redirect to the app store; Set postback event information; Report the end of the playable ads.

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

Note: The event settings for Scene 3 are the same as Scene 2, and can be quickly completed by  'Copying/Pasting Events'.

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

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

<div align="left"><figure><img src="/files/n8unLArTHS0qIFrYg5j5" alt=""><figcaption></figcaption></figure></div>

### 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/k2ETdKacDNXb4kh3bkC1" 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/fH79LigMXi0smZmZSBjM" 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/SldMj6tssOMYOgI6Wgbt" 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/zfUWTuc2jtXSSsI2T2cy" %}


---

# 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/basic-tutorial-blank-canvas-tutorial/interactive-videos-less-than-two-options-and-endings-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.
