Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Yet Another Scene Manager

An asset by BryceDixon
The page banner background of a mountain and forest
Yet Another Scene Manager hero image

Quick Information

0 ratings
Yet Another Scene Manager icon image
BryceDixon
Yet Another Scene Manager

Add-on for Godot 4 which aids in loading scenes asynchronously (aka: in the background) which allows for animated/interactable loading screens and transition animations.For full usage, see the [Readme](https://github.com/BtheDestroyer/Godot-YASM/blob/main/README.md)This plugin comes with a default "loading" scene, but you can set your own by modifying the "application/scenes/loading_scene_path" Project Setting.## Pre-load SignalsIf you would like to `await` specific `Signal`(s) before switching to a scene after loading it, you can provide it/them in an optional `Array` to `YASM.load_scene(...)`This is useful if you'd like to wait for all players to be ready in an online game or to allow the player to stay on the "loading" screen until they're ready.## TransitionsScene transitions are handled via Godot's `Animation`s on two `AnimationPlayers` within the `YASM` singleton.## Available SignalsIf you would like your code to react to different phases of loading a scene (eg: a multiplayer game would like to tell the server when a player is loaded), the following signals are available in `YASM`:- `out_transition_done`: Emitted after the previous scene's "out" transition is done (or during `load_scene` if there is no "out" transition)- `preload_done`: Emitted when resource loading is complete, but before all awaited signals are emitted or the new scene is instantiated- `load_done`: Emitted after the new scene is instantiated- `in_transition_done`: Emitted after the new scene's "in" transition is done (or immediately after `load_done` if there is no "in" transition set)## Cancelling a LoadIf something goes wrong while doing some manual work during the loading of a scene, you can call `YASM.cancel_scene_load()` (after optionally setting `YASM.last_error`) to immediately cancel loading the next scene and go to the "error" scene instead.

Supported Engine Version
4.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Add-on for Godot 4 which aids in loading scenes asynchronously (aka: in the background) which allows for animated/interactable loading screens and transition animations.

For full usage, see the [Readme](https://github.com/BtheDestroyer/Godot-YASM/blob/main/README.md)

This plugin comes with a default "loading" scene, but you can set your own by modifying the "application/scenes/loading_scene_path" Project Setting.


## Pre-load Signals

If you would like to `await` specific `Signal`(s) before switching to a scene after loading it, you can provide it/them in an optional `Array` to `YASM.load_scene(...)`

This is useful if you'd like to wait for all players to be ready in an online game or to allow the player to stay on the "loading" screen until they're ready.

## Transitions

Scene transitions are handled via Godot's `Animation`s on two `AnimationPlayers` within the `YASM` singleton.

## Available Signals

If you would like your code to react to different phases of loading a scene (eg: a multiplayer game would like to tell the server when a player is loaded), the following signals are available in `YASM`:

- `out_transition_done`: Emitted after the previous scene's "out" transition is done (or during `load_scene` if there is no "out" transition)

- `preload_done`: Emitted when resource loading is complete, but before all awaited signals are emitted or the new scene is instantiated

- `load_done`: Emitted after the new scene is instantiated

- `in_transition_done`: Emitted after the new scene's "in" transition is done (or immediately after `load_done` if there is no "in" transition set)

## Cancelling a Load

If something goes wrong while doing some manual work during the loading of a scene, you can call `YASM.cancel_scene_load()` (after optionally setting `YASM.last_error`) to immediately cancel loading the next scene and go to the "error" scene instead.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Yet Another Scene Manager icon image
BryceDixon
Yet Another Scene Manager

Add-on for Godot 4 which aids in loading scenes asynchronously (aka: in the background) which allows for animated/interactable loading screens and transition animations.For full usage, see the [Readme](https://github.com/BtheDestroyer/Godot-YASM/blob/main/README.md)This plugin comes with a default "loading" scene, but you can set your own by modifying the "application/scenes/loading_scene_path" Project Setting.## Pre-load SignalsIf you would like to `await` specific `Signal`(s) before switching to a scene after loading it, you can provide it/them in an optional `Array` to `YASM.load_scene(...)`This is useful if you'd like to wait for all players to be ready in an online game or to allow the player to stay on the "loading" screen until they're ready.## TransitionsScene transitions are handled via Godot's `Animation`s on two `AnimationPlayers` within the `YASM` singleton.## Available SignalsIf you would like your code to react to different phases of loading a scene (eg: a multiplayer game would like to tell the server when a player is loaded), the following signals are available in `YASM`:- `out_transition_done`: Emitted after the previous scene's "out" transition is done (or during `load_scene` if there is no "out" transition)- `preload_done`: Emitted when resource loading is complete, but before all awaited signals are emitted or the new scene is instantiated- `load_done`: Emitted after the new scene is instantiated- `in_transition_done`: Emitted after the new scene's "in" transition is done (or immediately after `load_done` if there is no "in" transition set)## Cancelling a LoadIf something goes wrong while doing some manual work during the loading of a scene, you can call `YASM.cancel_scene_load()` (after optionally setting `YASM.last_error`) to immediately cancel loading the next scene and go to the "error" scene instead.

Supported Engine Version
4.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers