Skip to content

Fix #3659: Add fade-out when leaving Rooted Forest worldmap#3763

Open
Davi-Azeredo wants to merge 1 commit intoSuperTux:masterfrom
Davi-Azeredo:fix/3659-rooted-forest-fade-out
Open

Fix #3659: Add fade-out when leaving Rooted Forest worldmap#3763
Davi-Azeredo wants to merge 1 commit intoSuperTux:masterfrom
Davi-Azeredo:fix/3659-rooted-forest-fade-out

Conversation

@Davi-Azeredo
Copy link
Copy Markdown

@Davi-Azeredo Davi-Azeredo commented Mar 26, 2026

The transition from Rooted Forest (world2) to Icy Island (world1) was missing a fade-out effect. Added a special-tile with Effect.fade_out() at position (23, 98) with apply-to-direction "north" (which triggers when the player moves southward) to match the behavior of all other world-to-world transitions.

No automated tests are added because the project has no testing infrastructure for worldmap data files (.stwm). The existing test suite only covers C++ unit tests (see tests/unit/). The fix was verified manually by loading the game in developer mode and confirming the fade-out effect triggers correctly when transitioning from Rooted Forest to Icy Island, and that the reverse transition remains unaffected.

Closes #3659

The transition from Rooted Forest (world2) to Icy Island (world1)
was missing a fade-out effect. Added a special-tile with
Effect.fade_out() at position (23, 98) with apply-to-direction "north"
(which triggers when the player moves southward) to match the behavior
of all other world-to-world transitions.

No automated tests are added because the project has no testing
infrastructure for worldmap data files (.stwm). The existing test
suite only covers C++ unit tests (see tests/unit/). The fix was
verified manually by loading the game in developer mode and
confirming the fade-out effect triggers correctly when transitioning
from Rooted Forest to Icy Island, and that the reverse transition
remains unaffected.
Copy link
Copy Markdown
Member

@tobbi tobbi left a comment

Choose a reason for hiding this comment

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

Looking good!

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.

[Bug]: Rooted Forest worldmap does not fade out

2 participants