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

tiled : TMXHexagonalRenderer 根据px获取网格坐标的方法计算错误 #12

Open
xbl opened this issue May 5, 2016 · 0 comments
Open

Comments

@xbl
Copy link

xbl commented May 5, 2016

TMXHexagonalRenderer 对象属性如下:

_hexsidelength:0
_rowheight:25
_sidelengthx:0
_sidelengthy:0
_sideoffsetx:47
_sideoffsety:25
_staggeraxis:"y"
_staggerindex:"odd"
animationTiles:Array[0]
cols:92
rows:45
tileheight:50
tilewidth:94

在调用TMXHexagonalRenderer.pixelToTileCoords()方法返回的结果和实际tiled 地图中的坐标有偏差

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

No branches or pull requests

1 participant