ex_camera_fade_out_ext

Fades the camera out to a room

Syntax

ex_camera_fade_out_ext(cameraHandle, duration, room, delay)
Argument Description
cameraHandle The camera handle
duration The duration of the effect, in steps
room The room to go to after the fade out
delay A delay after the fade out effect and before going to the room
Returns nothing

Description

This function will perform a fade out effect and will switch the room at the end of the effect.

Example

//fade the camera out, the effect lasting 40 steps then go to room "rm_level1" with a small delay of 10 steps after the fade
ex_camera_fade_out(global._camera, 40, rm_level1, 10);

Minimum Supported Version

exCamera 0.5.0