Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Temporary Edge Duplication for World Wrapping #176

Open
F0XShadow opened this issue Dec 3, 2024 · 0 comments
Open

[REQUEST] Temporary Edge Duplication for World Wrapping #176

F0XShadow opened this issue Dec 3, 2024 · 0 comments

Comments

@F0XShadow
Copy link

Just made this GitHub account to leave this request.
My first post ever, so delete if this isn't the right place.
Goal: Make the map appear to wrap.
When the player hits the edge of the map, I instantly re-position them to the opposite side. That's easy.
The issue is that this is visually jarring.
What I need is for the tiles from the opposing sides of the tilemap to be partially generated a certain amount of tiles out from the edge to make it appear like it's wrapped. That way the player can't tell they were suddenly re-positioned.
I've done this with my own smaller maps, but with the complexity of Gaea plus the threaded chunk generator, I'm lost on how to implement it myself.
Thank ya!

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

No branches or pull requests

1 participant