Skip to content

Fix down sloped round tunnels glitching#401

Merged
tupaschoal merged 1 commit into
OpenRCT2:masterfrom
mixiate:fix-down-sloped-tunnels-glitching
Aug 18, 2025
Merged

Fix down sloped round tunnels glitching#401
tupaschoal merged 1 commit into
OpenRCT2:masterfrom
mixiate:fix-down-sloped-tunnels-glitching

Conversation

@mixiate

@mixiate mixiate commented Aug 16, 2025

Copy link
Copy Markdown
Contributor

This fixes down sloped round tunnels glitching as trains go through. For some reason parts of the background sprites are in the foreground sprites, this cuts and pastes those sections in to the background sprites. There's not really any other way to fix this other than editing the sprites, so any custom content will still have the issue unfortunately. This fixes it for all RCT1, RCT2 and ORCT2 edges.

For example, here are the original sprites:
01625 01626

And this fix:
01625 01626

This is similar to the other tunnel sprites, only these down slope ones have this issue.

tunnel.glitch.mp4
tunnel.fix.mp4

There's still a few pixels glitching on some edge and track combinations, I did the best I could, some tracks aren't really fitting in to the tunnels in the first place and there has to be at least a little bit of the bottom of the tunnel in the front sprite or it doesn't look right for the majority of tracks.

@tupaschoal

Copy link
Copy Markdown
Member

@ZeeMaji would you mind testing these?

@ZeeMaji

ZeeMaji commented Aug 17, 2025

Copy link
Copy Markdown
Contributor

Sure.

@ZeeMaji ZeeMaji left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Renders as expected with all tunnel types and in all of the parks i looked at.

@tupaschoal

Copy link
Copy Markdown
Member

Thanks!

@tupaschoal tupaschoal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great work!

@tupaschoal tupaschoal merged commit d079745 into OpenRCT2:master Aug 18, 2025
2 checks passed
@mixiate mixiate deleted the fix-down-sloped-tunnels-glitching branch August 19, 2025 06:41
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.

3 participants