Skip to content

Vector based sprites #2184

Open
Open
@einarf

Description

@einarf
  • Resolve lingering issues related to pyglet vectors (whatever that is)
  • Possibly issues with implementation details in pyglet
  • Possibly we should revert parts of Name scale properties on Sprites to things that make sense #2021
  • If we end up using Vec2 in sprites we must do performance testing. Moving rotating and scaling 3400 sprites per frame (the current 60fps limit) will cause over 1 million calls to the sprite properties. It's the hottest path we have in arcade.

Likely it's simpler to keep the old float scale for now because most users rely only on uniform scale. We can get more fancy about these properties in the future, but only when we have vectors sorted out. Only scale being a vec2 doesn't really make sense right now.

New issue should be created for sorting out vectors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions