- Joined
- Apr 9, 2015
- Messages
- 1,797
- Reaction score
- 865
- First Language
- German
- Primarily Uses
Description
Plays one or more videos prior to the title screen. They can be skipped by pressing a button.
Author
Iavra
Parameters
@param Videos
@desc Comma-separated list of videos to be played. Should exist as both .webm or .mp4 versions.
@default
@param Skip On Ok
@desc If set to true, videos can be skipped by an "ok" event (Enter, Spacebar, Z, Left Mouse Click, Touch).
@default true
@param Skip On Cancel
@desc If set to true, videos can be skipped by a "cancel" event (Esc, X, Right Mouse Click, Double Touch).
@default true
@param Skip All
@desc If set to true, skipping one video will automatically skip all videos.
@default false
How to Use
To play one or more videos prior to your title screen, put their .webm and .mp4 version in the "movies" folder of your game and add their names to the "Videos" plugin parameter.
While a video is playing, it can be canceled by pressing either an "ok" button (if the parameter "Skip On Ok" is set to true) or a "cancel" button (if the parameter "Skip On Cancel" is set to true. If the parameter "Skip All" is set to true, this will skip all videos. Otherwise, the next one will start playing.
The videos are playing, while game resources are being loaded, so this can also be used to cover up the rather boring part of your game.
Terms of Use
Free to use for both commercial and non-commercial games. Please give credit.
Download
http://pastebin.com/QZuVtXxW
Plays one or more videos prior to the title screen. They can be skipped by pressing a button.
Author
Iavra
Parameters
@param Videos
@desc Comma-separated list of videos to be played. Should exist as both .webm or .mp4 versions.
@default
@param Skip On Ok
@desc If set to true, videos can be skipped by an "ok" event (Enter, Spacebar, Z, Left Mouse Click, Touch).
@default true
@param Skip On Cancel
@desc If set to true, videos can be skipped by a "cancel" event (Esc, X, Right Mouse Click, Double Touch).
@default true
@param Skip All
@desc If set to true, skipping one video will automatically skip all videos.
@default false
How to Use
To play one or more videos prior to your title screen, put their .webm and .mp4 version in the "movies" folder of your game and add their names to the "Videos" plugin parameter.
While a video is playing, it can be canceled by pressing either an "ok" button (if the parameter "Skip On Ok" is set to true) or a "cancel" button (if the parameter "Skip On Cancel" is set to true. If the parameter "Skip All" is set to true, this will skip all videos. Otherwise, the next one will start playing.
The videos are playing, while game resources are being loaded, so this can also be used to cover up the rather boring part of your game.
Terms of Use
Free to use for both commercial and non-commercial games. Please give credit.
Download
http://pastebin.com/QZuVtXxW
Last edited by a moderator: