I am using camerapick with the x and y coords of the mouse. It works well now and returns the gametile selected and everything. BUT
There is one small problem... If the mouse is click off of the board the program crashes because there is no entity to pick. I have tried a few creative ways to get around this but nope... I was thinking of creating invisible entitys around the gameboard... but no... that would returnm an address to the program.
So I was wondering how to create a bounding box that would keep the mose between: 4 , 570 and 244 , 221 and 556 , 221 and 797 , 570
its not really a square is it? :]
So you see my prob. Oh... X number is first!
-Rook
There is one small problem... If the mouse is click off of the board the program crashes because there is no entity to pick. I have tried a few creative ways to get around this but nope... I was thinking of creating invisible entitys around the gameboard... but no... that would returnm an address to the program.
So I was wondering how to create a bounding box that would keep the mose between: 4 , 570 and 244 , 221 and 556 , 221 and 797 , 570
its not really a square is it? :]
So you see my prob. Oh... X number is first!
-Rook