You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2022. It is now read-only.
What problem does this solve or what need does it fill?
Right now, the crate forces you to let it render all of the objects on the tilemap itself. However, this isn't flexible - for example, currently animations aren't supported. There needs to be an ability to render parts of it yourself (sorry if such a solution is in the crate already, I couldn't find it). There's also a much more fundamental issue - not knowing the tile coordinates makes you unable to react to mouse clicks properly
Describe the solution would you like?
An API for getting tile positions, similar to the vertex shaders but in rust.
Describe the alternative(s) you've considered?
Adding all of the features users would possibly want to the Tile struct, possibly bloating it.
The text was updated successfully, but these errors were encountered:
Actually the tile module's description details the perfect solution - "Tile traits to implement for a custom tile". However, currently the module only has a struct, no traits.
Ok so, I got the code for this in #94, sort of. It is not exactly straight forward. You need to feed it both the transform of what you want and then the transform of the tilemap.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What problem does this solve or what need does it fill?
Right now, the crate forces you to let it render all of the objects on the tilemap itself. However, this isn't flexible - for example, currently animations aren't supported. There needs to be an ability to render parts of it yourself (sorry if such a solution is in the crate already, I couldn't find it). There's also a much more fundamental issue - not knowing the tile coordinates makes you unable to react to mouse clicks properly
Describe the solution would you like?
An API for getting tile positions, similar to the vertex shaders but in rust.
Describe the alternative(s) you've considered?
Adding all of the features users would possibly want to the Tile struct, possibly bloating it.
The text was updated successfully, but these errors were encountered: