So this is probably a really easy question, but I’m completely stumped.
I’m using Monarch to handle switching screens, and currently just have one splash screen with the transitions from the documentation:
self.transition = transitions.create(gui.get_node("root"))
.show_in(transitions.slide_in_right, gui.EASING_OUTQUAD, 0.6, 0)
.show_out(transitions.slide_out_left, gui.EASING_INQUAD, 0.6, 0)
.back_in(transitions.slide_in_left, gui.EASING_OUTQUAD, 0.6, 0)
.back_out(transitions.slide_out_right, gui.EASING_INQUAD, 0.6, 0)
When I run the game, this only shows the first sliding_in transition. If I understood the documentation correctly, I’m supposed to send a monarch.TRANSITION_DONE message back to the sender. How do I do that?
In my on_message function, I’ve tried a bunch of variations of “msg.post(sender, monarch.TRANSITION.DONE);” but they either error out or do nothing. The sender is “splash:/go#splash” and I’ve tried sending it there too with the same success along with hashing the transition.done message.
Any ideas?