Post

 Resources 

Console


Re: But what if... Philipp (1 reply, 0 views) (2001-Jan-5)
-
I'd use a third 2D array storing the index of the object which is on a square. When the user clicks somewhere on the screen just read index of the object out of the array. This is a very fast method especially if you`re using many objects but it needs a bit more memory because of the 3rd array. I think this is much better than cycling through all the objects.


-
Up One Level | Back to Forum

Seems good Jack Hoxley (0 replies) (2001-Jan-6)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 80 visitors within the last 20 minutes
RSS News Feed