Mobile Vibrate

The Mobile Vibrate plugin is designed to implement vibration and haptics features for both Android and iOS, for games built using Construct 3.


Add advanced vibration features in your Android and iOS mobile application projects.

  • Vibration

  • Vibration patterns


Add iOS haptics features in your mobile application projects.

  • Gesture selection

  • Impact

  • Notification

  • Selection

  • Boom

  • Burst

PlayFab API v2.png

Introduction

Step 1.png

The Construct Master Collection supports the full and easy integration of native mobile Android SDKs and iOS SDKs for both Construct 3 and Construct 2.


Please click here to learn more about Mobile.

Features


The Mobile Vibrate plugin is designed to implement vibration and haptics features for both Android and iOS, for games built using Construct 3.


Add advanced vibration features in your Android and iOS mobile application projects.

  • Vibration

  • Vibration patterns


Add iOS haptics features in your mobile application projects.

  • Gesture selection

  • Impact

  • Notification

  • Selection

  • Boom

  • Burst


Here are some of the native features of the mobile plugin:

  • Vibration

  • Vibration patterns

  • Advanced vibration

  • Duration

  • Stop

  • iOS haptics

  • Gesture selection

  • Notification

  • Impact

  • Selection

  • Unofficial iOS haptics

  • Boom

  • Burst

  • Native mobile debugging features

  • Well maintained and fully tested for production release.


For more information about native mobile or Android and iOS features, please click here to learn the introductory lessons to Mobile.


Platform Integration


Here are some of the platforms that are natively supported:

  • Android

  • iOS

  • Native Android

  • Native iOS


Build Support


Here are some of the supported build options:


Editor Features


Here are some of the features in the Construct editor:

  • Construct 3

 
 

How to use?

It is easy to use the Mobile Vibrate plugin, you will only need to follow the steps below.

1. The first step is to add the Mobile Vibrate object into the project.



2. If the Debug property is checked, the plugin will log information and errors in the console for mobile debugging. Set this unchecked for your production release builds.



 
 

Documentation

There is currently nothing to show, we will add more in the future.

 

Actions, Conditions & Expressions

Actions

press to zoom

press to zoom

press to zoom
1/2

The following action groups:

  • General

  • Pattern

  • iOS

  • Unofficial (iOS)

General

  • Vibrate - Vibrate in a specified duration, in milliseconds.

  • Duration - The vibration duration in milliseconds.


  • Stop - Stop all ongoing vibrations.




Pattern

  • Plan duration - Plan to vibrate for a specified duration, in milliseconds.

  • Duration - The vibration duration in milliseconds.


  • Vibrate in pattern - Vibrate in pattern, from previous planned vibration durations.




iOS

  • Selection - Use selection feedback generators to indicate a change in selection.


  • Notification - Use notification feedback generators to indicate successes, failures, and warnings.

  • Type - The notification feedback vibration type.


  • Impact - Use impact feedback generators to indicate that an impact has occurred. For example, you might trigger impact feedback when a user interface object collides with something or snaps into place.

  • Type - The impact feedback vibration type.


  • Gesture selection - The functions above are great for one-time events, not so much for gestures. Say for instance you want to tie this plugin to a range slider, then you can 'start' the selection first, invoke 'changed' upon changes in the range (there may be many during one gesture), then 'end' when the slider changes are done.

  • Phase - Tell the taptic engine that a gesture for a selection change is 'starting', 'ongoing' or 'ending'. [Note] End phase must always be called lest resources are not properly recycled.




Unofficial (iOS)

  • Boom - This triggers the same effects as the 'Peek & Pop' vibrations. [Warning] Unofficial API - use at your own risk.

  • Effect - "Weak" for the peek effect, a very brief vibration. Or "Strong" for the pop effect, which is a bit more profound than the peek effect.


  • Burst - This triggers the 'Nope' effect you get when fi. force touching a home icon which doesn't have any action. It's a short burst of 3-ish 'weak booms'.


Conditions

1/0

Expressions

1/0

Object   Properties

Plugin Properties

press to zoom

press to zoom
1/1

The following property groups:

  • Configuration

Configuration - The options to set the plugin settings.

  • Debug - If checked, the runtime will log runtime notifications. This should be unchecked on production builds.

 
 

Showcase

There is currently nothing to show, we will add more in the future.

 

Game Projects 

Instructions Kit

Construct 3 Project
Construct 3 Project

press to zoom
Construct 2 Project
Construct 2 Project

press to zoom
Construct 3 Project
Construct 3 Project

press to zoom
1/2

Specifications

  • Instructions - The game project contains instructions and steps on how to use the addon and its features.

  • Action, Conditions and Expressions - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks on the recommended ways of using the addon.

Supporters

Only