More main actions

Some additional main actions are available in advanced mode. The following actions are added:

Set Time Line
(Only available in advanced mode.) With this action you set the particular time line for an instance of an object. You indicate the time line and the starting position within the time line (0 is the beginning). You can also use this action to end a time line by choosing No Time Line as value.

Time Line Position
(Only available in advanced mode.) With this action you can change the position in the current time line (either absolute or relative). This can be used to skip certain parts of the time line or to repeat certain parts. For example, if you want to make a looping time line, at the last moment, add this action to set the position back to 0. You can also use it to wait for something to happen. Just add the test action and, if not true, set the time line position relative to -1.

Show Video
With this action you can show a video/movie file. You specify the file name and whether it should be shown full screen or in the game window. Make sure the video file exists. You should either distribute it with the game or include it in the game through the Global Game Settings.

Replace Sprite
This action can be used to replace a sprite from the contents of a file. You indicate the sprite you want to replace, the filename and the number of subimages in the sprite. Many different images file formats are supported, e.g. .bmp, .jpg, .tif, and .gif. For a gif file the number of subimages is automatically decided based on the number of subimages in the gif file. Other settings for the sprite, e.g. whether it is transparent or not, are not changed. You can use this action to avoid storing all sprites in the program itself. For example, at the beginning of a level you can replace sprites by the actual character sprites you want to use. DON'T change a sprite that is at that moment being used in an instance in the room. This might give unwanted effects with collisions.

Replace Sound
With this action you can replace a sound by the contents of a file (.wav, .mid, or .mp3). You specify the sound and the filename. This avoids having to store all the sounds in the game itself. For example, you can use different pieces of background music and pick the one you want to play. DON'T change a sound while it is playing.

Replace Background
With this action you can replace a background by the contents of a file. Many different images file formats are supported, e.g. .bmp, .jpg, .tif, and .gif. You specify the background and the filename. This avoids having to store all the backgrounds in the game itself. DON'T change a background that is visible.

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)