Skip to content

Show Screen

Show Screen

Restores the screen to being visible using a specified transition effect.

Properties

System

Name Explanation Type
Asynchronous Transition Whether the transition runs asynchronously, allowing subsequent commands to execute without waiting. Toggle
Render Scene Whether the scene should be rendered when showing the screen. Toggle
Render User Interface Whether the user interface should be rendered when showing the screen. Toggle
Transition The transition effect to use when showing the screen. Scene Transition

Examples

Show Screen with a Fade In Transition

Restores the screen to visible using a fade-in transition over 1000 milliseconds with a black color.

show_screen(fade_in(linear(1000), #000000));
{"Data":{"IsAsynchronousTransition":false,"IsRenderingScene":true,"IsRenderingUserInterface":true,"Transition":{"Duration":"00:00:01","Color":"#000000","TypeName":"MAR.Game.Shared.Models.Transitions.Scene.FadeInSceneTransition"},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Animation.ShowScreenCommand"}

Show Screen Instantly

Restores the screen to visible immediately without any transition effect.

show_screen(instant);
{"Data":{"IsAsynchronousTransition":false,"IsRenderingScene":true,"IsRenderingUserInterface":true,"Transition":{"TypeName":"MAR.Game.Shared.Models.Transitions.Scene.InstantSceneTransition"},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Animation.ShowScreenCommand"}

Show Screen Asynchronously While Hiding the User Interface

Fades in the screen asynchronously while keeping the user interface hidden.

show_screen(fade_in(linear(1000), #000000), async, hide_ui);
{"Data":{"IsAsynchronousTransition":true,"IsRenderingScene":true,"IsRenderingUserInterface":false,"Transition":{"Duration":"00:00:01","Color":"#000000","TypeName":"MAR.Game.Shared.Models.Transitions.Scene.FadeInSceneTransition"},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Animation.ShowScreenCommand"}