ID:153763
 
Think SimCity. You've got a building you want to build, but it takes 3x3 squares of space to build it. You can't just have the player clicking somewhere and saying there isn't enough room, because it would be hard for them to know how much room they need. So they used highlights that showed which squares were needed as you moved the mouse over a square. I want to do something like this with BYOND. Any idea how?
Make the good places white and bad places black.
Triste wrote:
Think SimCity. You've got a building you want to build, but it takes 3x3 squares of space to build it. You can't just have the player clicking somewhere and saying there isn't enough room, because it would be hard for them to know how much room they need. So they used highlights that showed which squares were needed as you moved the mouse over a square. I want to do something like this with BYOND. Any idea how?

I think there is a MouseEntered proc but I hear it is quite laggy and might not be the best solution. Try having some two click system. The first click would show you where the building would go and the second would confirm it. If the building can't be placed at that location just have a red box where it would go sit there for a second or so.