Skip to content

Thought/Feature Request - Create method to draw Tile Map with user passed in function #75

@kaltinril

Description

@kaltinril

I haven't started using TiledCS yet but plan on trying it out instead of Monogame.extended. I've run into a few issues with trying to get extended to work with Monogame 3.8 related to content pipeline.

Thought Setup: In your example, and tameez example, both are showing different ways to iterate over the tiles in a map so they can be drawn. These are great, and a user of TiledCS can just take those and toss them in their project/game/etc.

Thought: What if TiledCS had it's own map.draw method that took (as input) functions that it would use to draw the tiles. Then your library could house the mechanisms to do all the heavy lifting, leaving the users with just creating a method that would be passed in for drawing the individual tile. Things like the camera position (world offset), zoom, could all be passed in along with the function.

Just a thought, I didn't see a discord or other option for discussions.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions