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

Objects may be retained through map connections #959

Open
wants to merge 2 commits into
base: 9bit
Choose a base branch
from

Conversation

vulcandth
Copy link

@vulcandth vulcandth commented May 19, 2024

If an object's xy coordinates relative to the player's matches a new mapobject's xy coordinates relative to the player, and their sprite matches, then than object will be retained/reassociated with the new mapobject.

This resolves the issue of object reshuffling when crossing map connections; particularly the cut tree flicker on route32.

@vulcandth vulcandth force-pushed the resolve-connection-obj-flicker branch from 1e64c5c to d23b33a Compare May 19, 2024 02:37
engine/gfx/color.asm Outdated Show resolved Hide resolved
If an object's xy coordinates relative to the player's matches a new mapobject's xy coordinates relative to the player, then than object will be retained/reassociated with the new mapobject.
@vulcandth vulcandth force-pushed the resolve-connection-obj-flicker branch from d23b33a to d5aca5d Compare May 19, 2024 18:48
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.

None yet

2 participants