RPG cutscene

From Platinum Arts Sandbox Free 3D Game Maker
Revision as of 00:08, 15 July 2010 by Hirato (Talk | contribs) (Created page with '=Intro= Cutscenes are defined much like everything else, and generally also during the configuration phase. Cutscenes consist of multiple directives which may or may not be nest…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Intro

Cutscenes are defined much like everything else, and generally also during the configuration phase. Cutscenes consist of multiple directives which may or may not be nested. All the directives can create additional ones. Note that the cutscenes only allow control of the camera, entities and creates are to be moved via script. See the scripting page.

The following command is used to create a new one...
r_new_cutscene ACTIONS POST
the POST argument is generally used to set variables (ie, don't play this cutscene again), and prepare the map should the player choose to skip it.

an example of a simple cutscene is as follows

 r_new_cutscene [
   r_cutscene_viewspin 180 0 0 5000
 ] [
   echo "cutscene done playing"
 ]

To start a cutscene, you must invoke: r_start_cutscene INDEX; To start the above, you'd use

 r_start_cutscene 0

Directives

Action/Delay

Cond

Iterate/Loop

Signal

Subtitle

Move

Accelerated Move

View

Accelerated View

Viewspin

Sound

Soundfile

Overlay

Solid

Viewport

Focus