Open Game Engine 2D API
 All Functions Variables
Functions
Movie

Functions

void OGE_RemoveMovie (string sName)
 Remove a movie by name.
int OGE_PlayMovie (string sMovieName)
 Play movie by name.
int OGE_StopMovie ()
 Stop current movie.
bool OGE_IsPlayingMovie ()
 Check if a movie is playing or not.

Function Documentation

Check if a movie is playing or not.

Returns:
Returns true if some movie is playing
int OGE_PlayMovie ( string  sMovieName)

Play movie by name.

Parameters:
[in]sMovieNameThe name of the movie
Returns:
Returns a non-nagative number if succeed
void OGE_RemoveMovie ( string  sName)

Remove a movie by name.

Parameters:
[in]sNameThe name of the movie
int OGE_StopMovie ( )

Stop current movie.

Returns:
Returns a non-nagative number if succeed