Skip to content

vikram3/godot-simple-scene-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Most Simple Scene Loader

A basic straightforward scene loader with a loading screen for quick setup. Very simple and featureless. Ideal for rapid development and early project stages. Just a few files to begin with.

Contains

  • loading script with single public method
  • loading scene with animation player and progress bar

Contains Not

  • documentation and code comments
  • plugin files and configs
  • example files
  • project settings references
  • absolute paths to non-existent resources
  • hidden functionality and implicit behaviour

Installation

  1. Obtain the asset from the Godot Asset Library or download from github
  2. Add the loading.tscn scene as a singleton in the autoload settings (for more details, refer to the Godot documentation on singletons)

Usage

Use the singleton function Loading.load_scene, assuming Loading is the name you assigned to your singleton. The function includes two parameters:

  • path: String: The path to the scene that you want to load, e.g., "res://Scenes/main_menu.tscn"
  • use_transition_scene: bool: Determines if a loading screen should be used during the transition. This is optional and defaults to false

Customization

Though this asset is designed for quick integration without detailed documentation and expects users to extend it on their own, I will share some customization examples I have personally created:

  • On scene loaded - pass a Callable to execute when scene is loaded. Useful if you need to pass some parameters to the scene.

Included Scene Preview

Preview

About

A basic straightforward scene loader with a loading screen for quick setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GDScript 100.0%