How can we help?

Help for students | Gamelearn Academy

Moving from scene to scene

Scenes represent different places inside a level. You can make as many scenes as you want in each level and, as a creator, you decide how the players will move from scene to scene. 
There are 2 ways a player can move from one scene to another

  • using the map, 
  • or reaching a “Change scene” block in a flow.

You can decide to use both the map and the “Change of scene” building block.

Players always start each level in Scene 1. Then, you decide how much autonomy you want to give the player. You can move them automatically from a scene to another or let them use a map or click on doors to change scenes. 

Note: Players can only move from a scene to scene inside the same level.

Using the map

If you want to give complete freedom to the players, you can give them access to a map where they can select the scenes of the level they want to go to. Tip: Include an explanation of how the map works early in your game

To give the players access to the map:

  1. Go to the Settings tab
  2. Scroll down to the Map section at the bottom of the page, and select “yes” in the dropdown menu.
  3. The list of the existing scenes will appear in a list with the option to edit the order, although normally it is not necessary to do so.

Note: When you create each scene in your game, you set the initial state of Active or Inactive on the map. An active scene will be clickable on the map. Inactive scene will be listed but not clickable.

  1. If you want an Inactive scene to not appear on the map, select the checkbox labeled “Don’t show the names of inactive scenes in the map”.
  2. Click on “Save”

Be careful: If you let the players use the map, make sure that they know exactly what they have to do. Be explicit and remind the player to use the map. 

Using the “Change scene” building block

The building block called “Change scene” you can add to a flow in order to move the player from one scene to another. 

Automatic change scene

If you want to control exactly when a player changes of scene, then simply add the building block “Change scene” at the end of a flow. When the player reaches that block in that flow they will be taken to the scene defined in its settings.

Note: Logically, the only building block you can add after  “change of scene” is “Reactivate flow”.

Be careful: If you add the “Change scene” block at the end of a flow triggered by the Automatic Trigger, then the player will be moved automatically to another scene at the end of this flow. If you had created other elements and flows with required building blocks in the first scene, make sure the player can come back to the scene in question in order to complete them.

Interactive change scene

You can allow your player to choose when they want to move to another scene by clicking on an element in the scene. We usually use a door in the background to give the feeling of moving to a new room.  

Note: You can use any element to trigger a change of scene. For example you could have the player click on a magic lamp that takes them to the genie’s cave or you could click on a car to go to the beach. If you’re a Harry Potter fan, think of it like a “portkey”.

Prerequisites

Have both scenes that you are working with created already.

If there is already a door drawn in the background of your scene:

  1. Add the element “Clickable area” in the scene and position it over the door
  2. Name the clickable area (for example “CA door”)
  3. From this element “Clickable area”, add the building block “Change of scene”
  4. In the building block “Change scene”, select the scene where the door leads to.
  5. Optionally, add the reactivate flow block if you want the door to be reusable.

If there is no door in the background of the scene:

  1. Add the element “Object” and select a door from the library
  2. Name the object (for example “Door”)
  3. From this element “Object”, add the building block “Change of scene”
  4. In the building block “change of scene”, select the scene where the door leads to.
  5. Optionally, add the reactivate flow block if you want the door to be reusable.

Note: If you want the player to be able to click multiple times on the same door, use the building block “Reactivate flow” after the “Change of scene”.

¿Te ha resultado útil este artículo?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
Help us to improve
Please submit the reason for your vote so that we can improve the article.
Contenido del artículo: