Let's start off with a little background. I have a an object grid of 5x10. These are in a list where the objects are in no particular order. The bottom left object's location is x1, y1. I'm lookng for a procedure that when I input a tx and ty value. This will move that object's location to x1+tx,y1+ty . Now I can perform this task easily but I have another problem. The objects that are being relocated can't EVER overlap. This means that I must go through the list in a specific order. This is because when this object moves it moves all other objects on its square with it. overlap could easily cause strange translocations.
Also how would I rotate this 5x10 grid 90 degrees into a 10x5 grid. Also a way to rotate it again and again would be nice :/
Also is there a way I could do this so that instead of just a 5x10 grid it would work for an arbitrarily sized grid?
Copyright © 2015 BYOND. All rights reserved.