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

implemented setTile(), getTile, setColor(), getColor() #49

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

ldornbusch
Copy link
Contributor

@ldornbusch ldornbusch commented Mar 2, 2019

I implemented methods to manipulate a MapLayer during runtime. You can now set a tile in any layer, or get the TileID.
This fixes #38. I needed to cache a lot of information from Tileset and Map in Chunk and ChunkArray objects, so I can rebuild a single Chunk.
Additionally I added methods to colorize each tile separately. I do not use a white texture now, but a light grey, so it is possible to highlite specific tiles.

@fallahn
Copy link
Owner

fallahn commented Mar 2, 2019

Impressive work! Once again, thank you :)

@fallahn fallahn merged commit 5da49ea into fallahn:master Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replacing a single tile during run
2 participants