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 Scirra people!
Im having a problem in my game, when the player is touching objects to fast.
Is there a way to dissable the touch object if it gets abused? ie when a player touches the objects in the game too fast.
Any help would be apreciated!
Maybe only allow Touch when a variable is equal to 0.
So on each Touch you set the variable to 1 and start a timer (e.g. for 0.5 seconds) and when the timer finishes set the variable back to 0 allowing Touch again.
That way the player can only Touch every half second.
Touch->Is touching object
System->Compare TouchVariable = 0
Do touch action
System->Set TouchVariable = 1
System->Compare TouchVariable = 1
System->Wait 0.5 seconds
System->Set TouchVariable = 0
Develop games in your browser. Powerful, performant & highly capable.
Good idea, thanks for it.. I should have thought of that!
i tried it, but it didnt really work with my setup, because i use a picking sensor system.
Any other ideas out there?