Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

Create separate event queue and animation queue #7

Description

@drama-ostrich

I commented out all references to sprite.clear_queue() in the code because clearing the event queue was effectively clearing all future events (key presses, mouse clicks).

We need to keep a list of events separate from the animation queue. Each time we pop one animation event off the animation queue for a sprite, we can then look at the event queue for more animation events.

This way if one event queues multiple animation events that take a long time we can choose to reset the event queue without messing up the current animation. This will be closer to the behavior in javascript.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions