Report as inappropriate.
Left and Right arrows to move. Up arrow to shoot.
I created an actor called 'Row' to track (by using 'getIntersectingObjects') the invaders on each row and had the world tell each row object when and in which direction to move the invaders in that row. The row object, in turn, moves each invader in that row, getting back the state of each one being on the edge or not. That state is then returned back to the world, which will then, if necessary, shift all invaders down and change the direction AFTER all rows have completed that sequence of moves.
7407 views / 29 in the last 7 days
2 votes | 0 in the last 7 days
This scenario is a member of: Demos by danpost
Want to leave a comment? You must first log in.
2013/10/31
2013/10/31
2016/4/19
2018/3/21
2019/5/5
2019/5/5