How to implement the shake device feature

big12isu

  • Posts: 19
Hi I am making an iphone app and I have some code I want to implement when the user shakes their iphone. I know there is a shake feature that you can use on xcode, but I can't find one on stencyl. Is there a way to do this?

JensWinterstein

  • *
  • Posts: 433
Hey ho,

I just came across the same problem and only found your thread :/
But fortunately I found an answer (EDIT: I mistyped "threshold", shame on me :( ):



Set the tHreshold up if you want the user to shake harder.
Cheers

PS: I'm not making a porn game :P

« Last Edit: July 10, 2012, 03:52:32 pm by JensWinterstein »
Get 100 Chambers for Android / iOS
Get Cubus Velox for Android / iOS or play it on Flash

- Portfolio