Skip to content

Reset causes flash of incorrect position in tutorial #2536

Open
@cdeil

Description

I was going through the platformer tutorial. It's really nice, thank you!

One small issue I noticed is that when using ESC to reset it works, but there's a fraction of a second where the player is in the lower left before it jumps to the center. This is with Python 3.13 on MacOS.

Is there a way to restructure the code to avoid this "flash of mispositioned content"?

To reproduce run this:

python -m arcade.examples.platform_tutorial.06_reset

Here's a screen screenshot showing the incorrect positioning:

Image

Here's a recording:

Screen.Recording.2025-01-31.at.19.56.56.mov

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    examplesissues related to examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions