When you making your game in Clickteam, you may use these transitions to open your frame or end it
Well, I can learn and explain how to make fade in/fade out effect without these !!!
1ST STEP
OBJECT
First thing you need to do, is to create an active object, make it frame-size and paint black
You can place it on another layer, it doesn't really matter
2ND STEP
FADE EVENT
Next thing you have to do, is to create an event which give this object a fade effect!
Create a condition for our "Fade" object, which compares one of the alterable values
You can choose any Alterable Value, it doesn't matter at all
Put "Equal" in the "Choose comparison method"
And then write 0 in that value!
Then you do the same things with new condition again, but instead of 0 in value, put a 1
Going next, you do an effect event on "Fade object", and choose "Set alpha-blending coefficient" there !
Then you write in value AlphaCoef("Name of your object
") + 5
With condition, where your Alterable Value is equals 1, instead of + put -
and yes...
THEORY TIME
Why does when value is equals 0, we adding 5, but when 1 then substract???
Let me show it simple
We see that Clickteam in every case have 255 maximum value of coefficient
That means, when coefficient bigger, than it more stinky and worse
And by this I mean, it gets more transparent
3RD STEP
DO ANYTHING YOU WANT WITH THAT
So, we did a conditions where Alterable Value = 0 means it disappears with fade in, but if it equals 1, then it coming back with also fade out!
What's next?
wellll
DO ANYTHING YOU WANT
To make this fade in and fade out anytime you want, create a condition with any action you want, and then do Timer event and pick "Fire event after given delay"
In your condition, put your Fade object Alterable value to 1
Then create another condition with timer, and choose "On event", and so put then name of event you did
And so, do any event to this condition you'd like to! :D
And so, I guess you have question...
WHY WE CAN'T USE JUST NORMAL CLICKTEAM'S TRANSITIONS TO THAT?!
Well, let me explain simple
If you doing start or end of frame with these transitions, then everything freezes and won't freeze until transition ends
But with our method I showed before...
See? They start moving instantly!
LAST THINGS I CAN SAY
I did this tutorial for people who don't really like these preset clickteam transitions, so you can use that method I learned!
THANK YOU VERY MUCH FOR READING THAT, HAVE A GOOD LUCK IF YOU ARE BEGINNER GAME DEV!!!
#clickteam #tutorial #simple #gamedev #games #dev #developer #transition #example #developing #gaming
2 comments