Skip to content

Transition Screens

Charles Doucet edited this page Sep 13, 2024 · 2 revisions
In this section

Transition screens are important in games, but they require an extra attention in the context of this game jam. Indeed, since we try to replicate an inspired visual theme from the GameBoy era, transition screens and their animation must fit the bill.

We developed a tool that makes it easy in Godot to add a transition screen to a scene or a level. It contains a short list of available effects, that can be extended in the future with new animations.

How it Works

The tool is contained within a Godot's scene that can be integrated to any other scene (levels for instance). The scene holds two nodes, a CanvasLayer at its root and an AnimatedSprite2D as a child. The latter holds a series of animations, ready to be triggered in full screen.

The scene also integrates a Script to control the transition screen. It captures the following @export variable:

Variable Type Description
transition_color Color Switch the color of the animated sprite with value.
animation_type enum From a list, determine which transition type to trigger.

Clone this wiki locally