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

Yume2kki fixes #3259

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Yume2kki fixes #3259

merged 2 commits into from
Aug 30, 2024

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Aug 28, 2024

See commit messages for description.

Thanks to @Desdaemon for figuring this out.


@Desdaemon I cannot reproduce the cache key issue because I'm on Linux so it likely uses a different allocator.

Though I'm pretty sure my fix works ;).

Please test if this fixes it for you.

The map uses a MoveRoute with a jump and SetVehicleLocation for party movement in a tight loop which causes heavy flickering in our Player.

This fix does not appear to be completely correct as RPG_RT does not reset the jump flag here but the "damage" is reduced because SetVehicleLocation -1 cannot happen without patching the game.

Fix EasyRPG#3254

Co-Authored-By: Viet Dinh <[email protected]>
@Ghabry Ghabry added this to the 0.8.1 milestone Aug 28, 2024
@Desdaemon
Copy link
Contributor

Thank you, I'll test this PR locally later today as well.

@Desdaemon
Copy link
Contributor

I have confirmed locally that the fix works as intended.

@Ghabry
Copy link
Member Author

Ghabry commented Aug 29, 2024

Thanks! I'll only remove the debug log then this is good to go.

The pointer can be reused by a new bitmap and cause wrong animations.

For individual tiles the filename is lost. "filename" in bitmap was renamed
to "id" and gets now filename+tileid in that case.

Fix EasyRPG#3256

Co-Authored-By: Viet Dinh <[email protected]>
@Ghabry Ghabry merged commit 1e1aa62 into EasyRPG:master Aug 30, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants