Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
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]