decide a point in what map[x][y]
i use this method in rectangle smooth scrolling
===================
int mapx=x /64;
int mapy=y /64;
int offsetx=x & 63;
int offsety=y & 63;
===================
it works..
but when i got into isometric tile ..
this method seems can''t work..
because i can''t decide a point is inside a rhombus or not
can somebody tell me how to do?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement