Moving a 2d list of SpriteNodes simultaneously?
Is it possible to use Actions to move a 2d list of SpriteNodes in a scene simultaneously? I’m trying to figure out a way to move a tile map in the game I’m making without iterating through the list and moving each SpriteNode separately.
If the SpriteNodes always move together, you could have them all as children of a dummy Node that you move around.
Or, you could do
[N.run_action(A) for N in list_of_nodes]