Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/c08oprkiua/godot-no-scenetree-demo

A demo for Godot 4 showcasing how to use Godot without using the SceneTree, using RenderingServer and a MainLoop implementation.
https://github.com/c08oprkiua/godot-no-scenetree-demo

Last synced: 10 days ago
JSON representation

A demo for Godot 4 showcasing how to use Godot without using the SceneTree, using RenderingServer and a MainLoop implementation.

Awesome Lists containing this project

README

        

# SceneTree-less Godot 4 demo
This is a basic project demonstrating how to use the `RenderingServer` and a custom `MainLoop` child class in Godot 4 in order to have a project that does not use the SceneTree whatsoever.

It also serves, on a sidenote, as a demonstration of how small Godot binaries can get while still being usable for very basic things.

This project was made with Godot 4.4 dev_2, but it can probably be downgraded to 4.3 or possibly even lower without issue.

## Contents:
* `icon.svg`: The bundled Godot icon. The demo spins this around in a circle.
* `custom_loop.gd`: The `MainLoop` implementation, which also loads, sets up, and spins the icon.
* `dummy_scene.tscn`: Godot still requires a default scene in order to boot, so this scene is set as that. It just contains a scriptless `Node`.