decide a point in what map[x][y]

Started by
-1 comments, last by dewahong 22 years, 11 months ago
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