Skip to content

Support Godot 4.8 - #474

Draft
Rubonnek wants to merge 2 commits into
limbonaut:masterfrom
Rubonnek:support-godot-4-8
Draft

Rubonnek wants to merge 2 commits into
limbonaut:masterfrom
Rubonnek:support-godot-4-8

Conversation

@Rubonnek

@Rubonnek Rubonnek commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Edit:
Fixes #477
Requires godot-cpp api_version = 4.8.

@mikest

mikest commented Sep 11, 2026

Copy link
Copy Markdown

Ah, I was wondering why the limbo editor wasn't working and was just about to file a bug.

@mikest

mikest commented Sep 11, 2026

Copy link
Copy Markdown

I made issue #477 to track against this PR.

@Rubonnek
Rubonnek force-pushed the support-godot-4-8 branch 3 times, most recently from 594d93b to 9708049 Compare September 19, 2026 17:16
@KoBeWi

KoBeWi commented Oct 8, 2026

Copy link
Copy Markdown

When upgrading to the new dock system, all legacy methods can be removed too, that is _has_main_screen(), _get_plugin_name() and _get_plugin_icon(). Setting anchors and offsets, and size flags, for the dock/editor is also no longer needed.

@Rubonnek
Rubonnek force-pushed the support-godot-4-8 branch 4 times, most recently from 83ca61f to 6ceee4c Compare October 12, 2026 18:18
@TranquilMarmot

TranquilMarmot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Tried this branch out tonight on Godot 4.8.beta1 on macOS against godotengine/godot-cpp@cedbd9e and it works 👍

@TranquilMarmot

TranquilMarmot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Actually, one bug I did find! Fixed in the PR, thanks 🙏

New feature in 4.8 is that you can right-click the docks and select "Make floating":

Screenshot 2026-10-21 at 11 33 45 PM

If you:

  • Restart the editor
  • Do NOT open the LimboAI dock
  • Right click the LimboAI dock and select "Make floating"

It will open up in a tiny window that you can't see.

If you open the dock first and then do "Make floating", it will keep the dock's size. This size persists as long as the editor is open, but on a restart it will open tiny again unless you open the dock first.

I think when creating the limbo_ai_dock, we can also set the minimum size:

limbo_ai_dock->set_custom_minimum_size(Size2(800, 600) * EDSCALE);

(this has been fixed in the PR ✅ )

@limbonaut

Copy link
Copy Markdown
Owner

I wonder how to organize a branch that is synced with Godot's master, since more users seem to be interested in bleeding edge. Any thoughts on having a godot-next branch periodically synced with both godot's and limbo's master?

The tricky part is not to get tied to Godot releases for our own release cycle. Although, development is a little slow these days, it would be nice to keep an option to release a minor/major at any time. It's not an issue for GDExtension, but the module builds need to stay stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limbo does not work with 4.8's new dock system and editor is unusable.

5 participants