Table of Contents

Video

The Video command let you play cutscenes videos or video overlays effects inside your game.
In order to use the video block, drag it from the 2D Models → Video into the workflow area and set the Video URL parameter.
The Video URL parameter can be a youtube URL that is not protected or any MP4 file URL on the internet.
Cyberix3D doesn't store the video files on its servers and the video will be available only online in the Web / EXE / Android versions.
The video will always play at full-screen above the game and you can determine if there will be a skip button for skipping the video.
In order to use the video as an overlay effect, you can set the alpha parameter to 0.25 (or something else) and you will see your game while the video is playing.
The video will not interrupt the game and you can continue playing while the video is playing.
When you are using the video as an overlay effect, we recommend hiding the Skip button by set the Show skip button parameter to 0.

You can also control the Video Player by using the Set command,
By dragging the VariablesSet command into the workflow area and set the Var parameter to some variable under the VideoPlayer class.

Performance Issues

There might be loading performance issues, especially with the Youtube video URLs.
To overcome the problem, when you are using the Video command, the video prebuffered automatically when the game loads,
So if you need to play the video in the middle of your game there shouldn't be a problem.
The disadvantage of using the Set command to control the Video Player is that the video will not be prebuffered and this could lead to slow loading video.

Examples

Parameters

MORE INFORMATION