--
class ReplaceScene(InstantAction):
def init(self, newscene):
self.newscene = newscene
def start(self):
director.replace(self.newscene)
Of course! What I have is this:class ReplaceScene(InstantAction):
def init(self, newscene):
self.newscene = newscene
def start(self):
director.replace(self.newscene)Ideally, I just want to be able to add "ReplaceAction(Scene(layer))" to the end of a Action sequence.
--
That worked great. Here is what I ended up with, all three seem to work fine. If this is something that would be desired in a later release, feel free to use this with me blessing!
--