gra.screen.fade

Causes a screen transition to occur by fading the old screen into the new one.

The action arguments are:

screen

The name of the screen to transition to.

rate

Defines how the alpha value will change over the transition:

linear
easein
easeout
easeinout
bounce
fps

The frames per second to use for the transition

duration

The duration of the transition in milliseconds