Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
In the introductory post for this blog, I mentioned the fact that there's a long-term game project in the works to go along with our new dev streams. Well, in t...
Here is how to do a simple transition using the fade behavior. There is a transition object on layer 'transitions' in each layout.
+ System: On start of layout
-> Functions: Call Transition (State: "In")
| Local number Fade_Time = 1.5
* On function 'Transition'
* Parameter 'State' (String)
----+ System: State = "In"
-----> Transition: Fade: set fade-out time to Fade_Time
-----> Transition: Fade: start fade
----+ System: State = "Out"
-----> System: Create object Transition on layer "Transitions" at (0, 0)
-----> Transition: Set size to (ViewportWidth("Transitions"), ViewportHeight("Transitions"))
-----> Transition: Fade: set fade-in time to Fade_Time
+ Transition: On Fade fade-out finished
-> Transition: Destroy
+ Transition: On Fade fade-in finished
-> System: Signal "LayoutChange"