Maybe this is stupid question, I can’t understand anything.
I read this page.
First, where I put Trasition Gui?
1.Like other monarch collection, proxy on main collection?
2.Or directly on main collection?
3.Or Evety Collection has unique transition gui?
I think 3 is correct, but not work. transtion not move and not change scene.
I’m sorry for the vague information, but I can’t understand anything so I don’t know what to say.
You put those code in your screen init function. As you can see in the example, it uses root node for transitions (fade in, fade out… the node). You can also use other nodes depending on your need.
Ah, you will need a gui for transitions if you follow the example. Create a gui file, add root node to it. After that, add the gui as a component of a game object in your collection.
Not move and change scene.
I changed “root” and “foobar” to my own gui name.
But
Debug script shows “DEBUG:SCRIPT: notify_transition_listeners() hash: [monarch_screen_transition_in_finished]”
but Did’t get monarch.TRANSITION.DONE message.
I misunderstand. It need to registered first in gui file.
It works maybe. Thanks.
But Its move is so different from I imagined.
I wanted to cover screen when transition.
But with it, can do it but seem hard work.