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
Can you tell an object to fade in and out on touch/click release?
You can give the object the fading behaviour and restart the fade if needed
I've got a fade on an object but every time I load a preview it plays on start up. I want it to play on button press?
You are right, it fades once at start up, but if I am not mistaken, the object has the method "restart fade", does it not?
It does and I would want it to restart the action but it needs to be on button press! How come fade only has one option?
What other option than restart do you need?
On press --> Fade out
Then after fade out --> Restart Fade
So its continuous every button press!
<img src="http://quak.laurig.de/restartFade.PNG" border="0" />
if you want to stop the fade behavior you can set the object's timescale to 0
Set it to 1.0 and restart fade to fade.
Where's this time-scale?
Develop games in your browser. Powerful, performant & highly capable.
Scrap that! Found it and got it working! Thx again Yann! :)