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
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
hi guys am making auto runing game style but i can't make the power up function disactive after an x of time <img src="smileys/smiley5.gif" border="0" align="middle" />
the function called (X2)
here is the capx
player on collision powerup:
[add powerup effects (like activating your group)]
[start timer "powerup" for 5 seconds once]
player on timer "powerup"
[remove powerup effects (like deactivating your group)]
i already done that but still not work
Develop games in your browser. Powerful, performant & highly capable.
Well because your "on timer"-event is empty and the start of your timer is deactivated. Also you try to run "every tick" in a function, which is run only when called (so if you call it once, the stuff in "every tick" will only run once).
You try to deactivate the group "timer" which doesn't exist in your project. If think you need to clean up some stuff there ^^.
ok i active time
put power up effect on timer
disactive every tick
still not disactivating