Skip to content

Titlescreen's skipper

Al'rind edited this page Jul 12, 2015 · 3 revisions

Sometimes, it is interesting to start the game on a map rather than on the titlescreen. Especially to try things out faster, or to make a "splash screen", or to create your own titlescreen via events. RME provides an elegant and simple way to start your game somewhere else than the standard titlescreen.

It could be handy to read this section to fully understand how to modify the titlescreen's skipper.

Extended database's usage

As of many additionnal features, titlescreen's skipper's configuration is made through the extended database. Open the file Database/tables/ISkipTitle.csv in order to configure the titlescreen's skipper. You should see something like this:

Skiptitle

This table is a bit particular considering the fact that it can only store a single record and only the following fields are alterable: activate, x, y, map_id. If you modify the first field (named options) which usually contains the value SkipTitle, the project will crash !

In order to activate the titlescreen's skipper, you have to set the field activate to true and tell where the hero has to be put: x and y coordinates (in the corresponding columns), and the map's ID (in map_id's column). If the given map does not exist, the titlescreen's skipper will point on the classic titlescreen.

Creation of a splash screen

Let's take the following situation: we want to display our wonderful team's logo before the titlescreen. For instance: "Biloucorp". First, we will have to configure the titlescreen's skipper (as seen in the previous paragraph) in order to point to a map which triggers this kind of event in a parallel process:

Skiptitle

This event is very basic, it's up to you to think about what you can do :).

A minimalist titlescreen

Another example of the titlescree's skipper usage would be the creation of a customized titlescreen. Here is an extremely minimalist titlescreen's system (we consider the fact that the hero is configured as transparent in the database):

Skiptitle

This is obviously a very basic example, however it gives you an insight on the creation of a titlescreen's system.

Starting the game (with the hero) where the starting position has been defined in the titlescreen's skipper configuration

In order to do that, you only have to create an event in parallel process (or automatic), which call the command start_new_game, in the map pointed by the titlescreen's skipper.

You are obviously able to deactivate the titlescreen's skipper through setting the field activate to false, in the database (file: Database/tables/ISkipTitle.csv).

Clone this wiki locally