Skip to content

Main tab

Carenalga edited this page Feb 11, 2023 · 3 revisions

Main tab

Things to know

Popochiu uses four main Objects:

Rooms

Are the scenes of the game. Here is where characters can move. You can use them to build other scenes like: the main menu, a splash screen, and so on.

Characters

Antthing that can talk, walk, move between rooms, etc.

Inventory items

Items that can be collected and used on other objects (like props, hotspots, characters, other inventory items).

Dialogs

Branching dialogs that show options for players to select and trigger actions.

What can you do here?

Here you will be able to see, create and delete the Rooms, Characters, Inventory items and Dialog trees of your game.

Click the name of the row to go to the folder (in the FileSystem dock) where the files for its Object are stored.

In each row you will see the following buttons:

Main tab row buttons

  • 🎬 Opens the Object's scene in the Editor,
  • 📜 opens its script,
  • 📦 opens its Resource file in the Inspector (variables set as export in the ⚙️ State script will show here),
  • ⚙️ opens the State script of the Object (where you define the properties to store, or load, when saving, or loading, the game),
  • 🚦 and the three-vertical-dots button shows the context menu for this Object.

The context menu

Main tab shared context options

Shared actions

To remove (🗑️) the Object from Popochiu's core (this will make it unavailable in the game). Click on the context menu button (three-vertical-dots) and then click on the Remove option. A popup will appear, and there you'll be asked if you want to delete all the files in the system too!

If an Object is found in the project, but it is not available in Popochiu's core, the Add to Popochiu icon Add to Popochiu will be enabled to allow you to add said Object to the game.

Rooms

Main tab - Room context options

The ❤️ Set as Main scene option defines the room that will load first when running the project (F5).

Characters

Main tab - Character context options

The PC icon Set as Player Character option defines the character that will be controlled by players when running the game. By default Popochiu will make the first character created in the project to be the player-controlled character.

Inventory items

Main tab - Inventory item context options

The Start with it icon Start with it option switches the item to be added to the inventory when the game starts. This could be useful while testing your game.

Clone this wiki locally