Skip to content

Upgrade to Godot 4.7#2420

Merged
manuq merged 1 commit into
mainfrom
wjt/upgrade-to-godot-4-7
Jun 22, 2026
Merged

Upgrade to Godot 4.7#2420
manuq merged 1 commit into
mainfrom
wjt/upgrade-to-godot-4-7

Conversation

@wjt

@wjt wjt commented Jun 22, 2026

Copy link
Copy Markdown
Member

Update project.godot.

Run the editor's tool to upgrade all scenes and
resources.

Update the CI workflow, factoring out the Godot export version to a
top-level environment variable because it was previously out of synch
between Web and Windows!

Do not update the Flatpak build for now due to:

Increase the line width in the splash screen to compensate for a change
documented in the release notes
:

CanvasItem now avoids adding the antialiasing feather when drawing
lines (GH-105122). The feather made lines appear thicker than
intended, projects that relied on this behavior will have to be
updated to draw a thicker line width.

Having reviewed the release notes & tested the game somewhat I believe
this is the only change that will bite us. There is a note about
changing the reported device ID for keyboard/mouse from 0 to
InputEvent.DEVICE_ID_MOUSE and InputEvent.DEVICE_ID_KEYBOARD;
InputHelper hardcodes setting the last device index to -1 on
receiving keyboard/mouse input, so this upstream change doesn't change
anything for us.

Resolves #2418

@wjt wjt requested review from a team as code owners June 22, 2026 11:31
Update project.godot.

Run the editor's tool to upgrade all scenes and
resources.

Update the CI workflow, factoring out the Godot export version to a
top-level environment variable because it was previously out of synch
between Web and Windows!

Do not update the Flatpak build for now due to:

- flathub/org.godotengine.godot.BaseApp#76

Increase the line width in the splash screen to compensate for [a change
documented in the release notes][0]:

[0]: https://docs.godotengine.org/en/4.7/tutorials/migrating/upgrading_to_godot_4.7.html#id2

> CanvasItem now avoids adding the antialiasing feather when drawing
> lines (GH-105122). The feather made lines appear thicker than
> intended, projects that relied on this behavior will have to be
> updated to draw a thicker line width.

Having reviewed the release notes & tested the game somewhat I believe
this is the only change that will bite us. There is a note about
changing the reported device ID for keyboard/mouse from 0 to
`InputEvent.DEVICE_ID_MOUSE` and `InputEvent.DEVICE_ID_KEYBOARD`;
`InputHelper` hardcodes setting the last device index to `-1` on
receiving keyboard/mouse input, so this upstream change doesn't change
anything for us.

Resolves #2418
@wjt wjt changed the title Upgrade to Godot 4.7 [1/1] Upgrade to Godot 4.7 Jun 22, 2026
@wjt wjt force-pushed the wjt/upgrade-to-godot-4-7 branch from 3762347 to fc03622 Compare June 22, 2026 12:59
@github-actions

Copy link
Copy Markdown

Play this branch at https://play.threadbare.game/branches/endlessm/wjt/upgrade-to-godot-4-7/.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@wjt wjt changed the title [1/1] Upgrade to Godot 4.7 Upgrade to Godot 4.7 Jun 22, 2026

@manuq manuq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I played through the tutorial + musician quest and couldn't find anything odd.

The splash looks good now, at least in my screen resolution.

Comment on lines -46 to +47
godot_version: "4.6.3"
godot_version: ${{ env.GODOT_VERSION }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@manuq manuq merged commit 65a4560 into main Jun 22, 2026
13 checks passed
@manuq manuq deleted the wjt/upgrade-to-godot-4-7 branch June 22, 2026 14:06
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.

Upgrade project to Godot 4.7

2 participants