-
-
Notifications
You must be signed in to change notification settings - Fork 644
-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
Argument type mismatch between getTile[Id] and setTile/clearTile #107
Labels
Milestone
Comments
@parasyte based on the ticket title I just changed the documenation, but after seeing the point listed in roadmap, were you actually having in mind changing the arguments (normalize them) ? |
Either one is a valid solution, I think. I figured while we were making other breaking changes, we might do this too. But I'm ok with leaving it a documentation-only change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
me.TiledLayer
has four functions for accessing and modifying the tiles in the layer, but the x,y arguments passed to each function do not match:getTile
andgetTileId
accept the coordinates in pixelssetTile
andclearTile
accept the coordinates in tilesThe difference is not evident in documentation: http://www.melonjs.org/docs/symbols/me.TiledLayer.html
The text was updated successfully, but these errors were encountered: