Shake Detection
Monkey Forums/Monkey Code/Shake Detection
| ||
As the title says, this will detect a shake. |
| ||
Thanks for this. I'll try it out soon. |
| ||
Its very basic, it could be improved by checking if the last shaken velocity was in the opposite direction, but this seems to work fine. |
| ||
It might be more useful as an importable module/class? |
| ||
yea it probably would, need to work on a gesture module soon but too busy trying to finish my current game. If only I had more me's! :P |