Skip to content

Images as entities #359

Description

@oxkitsune

Currently our top and bottom camera images are stored as resources. This means that we can only ever have a single image resource in memory.

It might make sense to treat each image as an entity in the ecs instead, so that we can query over images and store entity ids instead of arcs to the image data.

Perhaps it could be nice to store the corresponding camera matrix in the image type as well.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions