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
Currently I have this :
A = 1
set box.opacity to 0
wait 0.1 seconds
set box.opacity to 1
and it's working fine.
But I would like to replace it with Repeat
I tried this :
Repeat 3 times
set box.opacity to 100
but it doesn't work, opacity stays at 0. I also tried by adding trigger once here and there and it doesn't work either. What is the proper way to use repeat ?
I think the wait tutorial shows a similar example but this would work:
repeat 3 times
--- wait loopindex*0.2 seconds
--- set opacity to 0
--- wait loopindex*0.2+0.1 seconds
--- set opacity to 100
Develop games in your browser. Powerful, performant & highly capable.
Ok ok, I read the repeat tutorial but I wasn't using the wait with repeat, I think I understand how it works now.
Thank you very much !