Detect shakes

itosvita

  • *
  • Posts: 9
How do you detect shakes in Stencyl for game in mobile?

Luyren

  • *
  • Posts: 2747
http://www.stencyl.com/help/view/mobile-accelerometer/
Check the accelerometer values when you perform your desired motion, and use those values on the accelerometer check to determine if a "shake" ocurred or not.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter