Skip to content
Discussion options

You must be logged in to vote

Thanks for your question! Sounds like a fun idea for a game.

Regarding your first questions, I haven't used either of the plugins, so maybe try to play around with both and see what fits better your needs. What i know is that bevy_ecs_tilemap has an Entity per tile, which means that it's very easy to attach specific behaviours to individual tiles, by inserting corresponding components. But maybe try both and decide based on that.

As per the second question, you'd need to map the cursor position to world space, see in the cheatbook how it's done. Once you have the cursor coordinates in world space, in a system you can query for your Tiles, and determine if the cursor coordinates are over a…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ZarimSF
Comment options

@wilk10
Comment options

Answer selected by ZarimSF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants