Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store arbitrary data in TileMap Cells #1861

Closed
eonarheim opened this issue Apr 30, 2021 · 1 comment · Fixed by #1887
Closed

Store arbitrary data in TileMap Cells #1861

eonarheim opened this issue Apr 30, 2021 · 1 comment · Fixed by #1887
Labels
stale This issue or PR has not had any activity recently

Comments

@eonarheim
Copy link
Member

Context

When building TileMaps for a game, it is often useful to have information associated with specific tiles.

Proposal

Implement a mechanism for storing arbitrary data in TileMap Cells

Possibly something simple as a data Map like

export class Cell {
    data = new Map<string, any>();
}
@github-actions
Copy link

This issue hasn't had any recent activity lately and is being marked as stale automatically.

@github-actions github-actions bot added the stale This issue or PR has not had any activity recently label Jun 30, 2021
eonarheim added a commit that referenced this issue Jul 3, 2021
…ata (#1887)

Closes #1862 
Closes #1861 
Closes #1859

## Changes:

- Add mechanism for iterating over rows/cols
- Add Cell arbitrary graphics
- Add map for arbitrary data in Cells
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue or PR has not had any activity recently
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant