Help with Tanstaafl's Mousemap tutorial
I have read the tutorial by Tanstaafl about iso and hex maps. I undertsand it quite well but I am in the process of finding out which tile the mouse is on and here is where I have a problem. He gives steps for finding which tile the mouse is on, i understand step 1 and i think step 2 but how do I do step 3 (determine the color in the mousemap).
I havent explained myself too well but I dont know how to explain it any better. I hope someone can understand what i am trying to say.
Thanks for your time and any help you can offer
Just my thoughts take them as you will.
"People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
Just my thoughts take them as you will. "People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
what I do is i load in the bitmap, and create a 2d array of chars, and scan the bitmap, converting it to the array, with a different number for each color.
Get off my lawn!
Thanks very much. I think I get what you mean. By the way thanks for the tutorial its really good.
Just my thoughts take them as you will.
"People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
Just my thoughts take them as you will.
"People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
Just my thoughts take them as you will. "People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
If you really wanted you could call GetPixel() on the bitmap itself. And TANSTAAFL, why loading a mousemap if you''re just going to convert it to an array anyway? Why not just put the array in the code. It would save time and space.
"NPCs will be inherited from the basic Entity class. They will be fully independent, and carry out their own lives oblivious to the world around them ... that is, until you set them on fire ..."
"When you are willing to do that which others are ashamed to do, therein lies an advantage."
"NPCs will be inherited from the basic Entity class. They will be fully independent, and carry out their own lives oblivious to the world around them ... that is, until you set them on fire ..."
"When you are willing to do that which others are ashamed to do, therein lies an advantage."
"NPCs will be inherited from the basic Entity class. They will be fully independent, and carry out their own lives oblivious to the world around them ... that is, until you set them on fire ..." -- Merrick
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement