View Single Post
  #3  
Old 02-04-2007, 04:21 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by Twinny View Post
Should add a wall test. Get the current objects dimensions then wall test them during onMouseDown(). While being blocked, give the image a shade of red. Otherwise normal colour. You could add special block checks for things like beds and such but it would be a handy update.

Yes, nice suggestions.


EDIT: I took Twinny's suggestion into consideration and implemented a wall-checking system which makes the image reddish when you place your mouse on top of a wall so as to move it on a wall. You will not be able to place an image on a wall anymore (in most instances, since the mouse pointer is rather small and thus it won't be perfect; feel free to use this as a basis and work your way up from here into an even better system of checking and so forth).

Last edited by Gambet; 02-04-2007 at 04:46 PM..
Reply With Quote