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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
Hi guys, i want to make an android phone vibrate.
im using the web object to do it, but it doesnt work.
Im exporting to cocoonJS, if anyone knows why is not working i will be very thankful.
Develop games in your browser. Powerful, performant & highly capable.
as far as I know the browser events doesn't work on cocoonJS due canvas+ isn't a complete browser. Maybe it works if you choose WebView+ instead of Canvas+
I know there is a plugin from cranberrygame for Vibration. This works for Intel XDK and the new CocoonIO, but not for CocoonJS.
Haarp, from what I recall, exporting to Android via XDK at least, you need to all the permissions for your app to USE the vibrate function, I found that I needed to specify this in the XDK setup/config even though I had already specified (permitting) it in C2 when exporting.