He's using bitblt, not controls... Wej your code should be more like this: If MouseX >= PicRect.Left And MouseX <= PicRect.Right And MouseY >= PicRect.Top And MouseY <= PicRect.Bottom Then MsgBox "It's Selected!!!"
As to the loop, yes, each building (or unit or whatever) should have an index, since they're all in an array. So, huh... what you have there is ok
Good luck on your game![]()








Reply With Quote