
01-28-2014, 02:57 AM
|
|
Registered User
|
Join Date: Jul 2006
Posts: 31
|
|
|
You could opt to just make a grid of indices that correlates to the image grid. When an item is placed into the grid, it would set indices of the array to 1 where it's blocking.
Should be pretty simple using standard grid algorithms (ie, mod and int division) |
__________________
Hi. I'm NaS!
|
|
|
|