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

Collision issue with isometric tiles ? #37

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment
Open

Collision issue with isometric tiles ? #37

GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi,

Not sure about this one but it seems the collision code is not correct when I 
try to use isometric tiled maps.
It may be related to the function Method CollisionTile:Int(x:Float, y:Float, 
layerName:String) => it does not return the correct tile under the position x,y.

local xx:Int = (Floor(x / tileWidth)) // Correct in isometric mode?
local yy:Int = (Floor(y / tileHeight)) // Correct in isometric mode ?


But maybe I don't understand the code and use Diddy in an incorrect way.

Original issue reported on code.google.com by [email protected] on 9 Apr 2013 at 1:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant