Skip to content

Implement shape transformations with matrix2d #771

Closed
@parasyte

Description

@parasyte

Issue was reported on the forum: https://groups.google.com/d/msg/melonjs/lXxOv__I0fA/Y9G3rSEiGAAJ

The shapes API does not allow rotation or scaling around an arbitrary center point. Using matrix2d will solve this.

Bonus: #601 can be fixed by setting the default matrix to identity for orthographic projections, and a pre-projected matrix for isometric and hexagonal projections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions