Hi
Im having a problem with getting my SpriteNode to move several times
Moving it from one place to an other is no problem but if I would like it to make a new movement when the first one is complete it will not work
This is how I tried:
def mini_attack(self, boss3):
mini = Mini(parent=self)
mini.position = boss3.position
x,y = self.ship.position
action = [A.move_to(300,300, 1.5)]
mini.run_action(A.sequence(action))
mini.remove_action(A.sequence(Action))
if mini.position == (300,300):
action2 = [A.move_to(x +10,y + 20, 1.5)]
mini.run_action(A.sequence(action2))
it's the action2 that will not happen...
Appreciate any help