:( :( :( :( :(
Isometric engines...
Where i can get some examples? I need only "normal" mouse support...
:mad: Fanx
Printable View
:( :( :( :( :(
Isometric engines...
Where i can get some examples? I need only "normal" mouse support...
:mad: Fanx
See what RECT the mouse falls into, if there are more than one then start with any. Then, use a GetPixel call on the mask (or sprite if colour keyed) to see if it is the transparent colour. If it is the transparent colour, check what quadrant of the RECT it's in. If it's in the upper-left, choose the one to the upper-left, etc.
www.isohex.net
Very good site, unfortunately its C++ and DirectX but the theory is very good.
can you show me some code pleaseQuote:
Originally posted by Sastraxi
See what RECT the mouse falls into, if there are more than one then start with any. Then, use a GetPixel call on the mask (or sprite if colour keyed) to see if it is the transparent colour. If it is the transparent colour, check what quadrant of the RECT it's in. If it's in the upper-left, choose the one to the upper-left, etc.
3 Years old you know ;). Also Sastraxi isn't active on these forums now-a-days :(.Quote:
Posted by nareth
can you show me some code please
Why can't I figure out what
Isometric Engine is?
What is special about it?