yet another Tables question
hey, thanks for clicking this topic!
Here's the situation: I have 7 instances of an actor on the screen moving to the left. I'm recycling them once they reach the left edge, having them reappear back on the right side at specific coordinates loaded from a Table, and they'll continue moving towards the left edge and reappearing to the right, again and again.
my question: how can I have them go the coordinates in the next successive row/column. For instance, if actors 1, 2, and 3 reach the left edge, actor 1 goes to the coordinates in game.Table1(row1,col1), I want actor 2 to go to (row1,col2) and 3 to go to (row1,col3), then actor 1 on its second trip ends up at (row1,col4) actor 2 at (row1,col5) and 3 at (row1,col6).
Does that make sense? Is that even possible?
thanks for any pointers.
Here's the situation: I have 7 instances of an actor on the screen moving to the left. I'm recycling them once they reach the left edge, having them reappear back on the right side at specific coordinates loaded from a Table, and they'll continue moving towards the left edge and reappearing to the right, again and again.
my question: how can I have them go the coordinates in the next successive row/column. For instance, if actors 1, 2, and 3 reach the left edge, actor 1 goes to the coordinates in game.Table1(row1,col1), I want actor 2 to go to (row1,col2) and 3 to go to (row1,col3), then actor 1 on its second trip ends up at (row1,col4) actor 2 at (row1,col5) and 3 at (row1,col6).
Does that make sense? Is that even possible?
thanks for any pointers.
Comments
Then in each actor have a rule that says when the actor reaches the left edge:
Change Attribute: game.whichColumn To: game.whichColumn + 1
Change Attribute: self.Position.X To: tableCellValue( game.Table1,1,whichColumn)
now I know, when in doubt, there's an Att(ribute) for that!