Skip to content

SpriteDisplay draws non-Sprites... document or disable? #51

@JoeStrout

Description

@JoeStrout

It's been discovered that a SpriteDisplay will actually draw anything you shove onto the sprites list, as long as it has x, y, image, rotation, and scale properties.

This is in keeping with MiniScript's general support for duck-typing, but it is also entirely undocumented.

So, we just need to put some thought into the ramifications, and then either document this as officially supported, or (perhaps) disable it in a future version of Mini Micro so people don't shoot themselves in the foot. And consider that this decision will likely affect Soda and Summoner in the future, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions