Create haptic effects (vibrations) on Android with this easy to use asset. You can set your Android device to vibrate for a specified amount of time or through patterns of varying lengths. Simple demo is included. Since this asset relies on a native Android extension, the haptic effects will not work when running or debugging, you need the create an apk to test the functionality.

Please note: Set minimum sdk to 11, otherwise build will fail.


  • Haptics_HasVibrator()
  • Haptics_Vibrate(milliseconds) // Set argument to -1 to vibrate indefinitely
  • Haptics_VibrateIntensity(milliseconds, intensity) // Intensity can be the values 1 to 5, set first argument to -1 to vibrate indefinitely
  • Haptics_Pattern2(vibrate1_ms, pause1_ms, vibrate2_ms)
  • Haptics_Pattern3(vibrate1_ms, pause1_ms, vibrate2_ms, pause2_ms, vibrate3_ms)
  • Haptics_Pattern4(vibrate1_ms, pause1_ms, vibrate2_ms, pause2_ms, vibrate3_ms, pause3_ms, vibrate4_ms)
  • Haptics_PatternString(pattern_string) // Comma delimited string for longer and more advanced patterns
  • Haptics_PatternStringRepeat(pattern_string) // Like the function above, but pattern will be repeated indefinitely
  • Haptics_StopVibration() // Stop vibration, use when device has been set to run indefinitely using any of the functions above

You are allowed to use this asset in any game you make, commercial or free, but you are not allowed to include this asset in other assets on the Gamemaker Marketplace.

End User Licence Agreement (EULA).

Changes in 1.2.0

  • Some vibration methods can be set up to repeat/run indefinitely.
  • Added a function to stop vibration.

Version 1.2.0. Published November 16, 2017

Created with GameMaker: Studio v1.4.1772

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Winter T 17 November 2017

Great product

Great extension, absolutely worth the $2. It's such a shame that vibration effects are no longer natively included in GM:S.


Chris C 31 October 2017


Extremely easy to use! Works with GMS2 - great extension.

This review was left for a previous version of this asset.


Anonymous 24 July 2017

This review was left for a previous version of this asset.


nam i 21 May 2017

Worked successfully on GMS2

Additionally, It works in upper than sdk 11.

This review was left for a previous version of this asset.

Package contents

Total size 4.59 KB

What is the issue?

Back to Top