![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Cwodo |
Hello,
I have a problem with a simple thing, but I can’t figure out how to fix it.
I’m making a visual novel and i want to have a transition between scenes (fade in/out).
Currently I have three scenes:
VisualNovel.tscn → Main scene
Scena2.tscn–> scene i want to call
global.tscn → transition scene
global.tscn is quite simple, it has a canvas layer, colorRect and animationPlayer.
I made a simple animation to switch from trasparent to color (using Alpha).
global.tscn has a simple script that i’ve found in this video
Then, in project → autoload i load global.tscn.
So theoretically when I click a button it would switch to scene2 with a fade effect. The problem is that it doesn’t recognize any inputs. I’m making an android app and handling input with “_unhandled_input(event)” function and it works perfect until i load , in (project–>)autoload section, global.tscn.
it is as if loading the autoload prevents any input, both as a mouse and as a touch.
What i’m doing wrong?
P.S: I downloaded the project from the video and it works perfectly.
Thanks for your time.