Skip to content

MobileHandler v1.0.0

Latest
Compare
Choose a tag to compare
@doubleactii doubleactii released this 04 May 11:47
· 1 commit to main since this release

Initial Release

MobileHandler Module

The MobileHandler module provides a user-friendly interface for game developers to integrate touch-based controls for their game characters on mobile devices. It offers features for creating a visual joystick on the screen and facilitates mobile device interaction, including accessing device information and triggering device vibrations.

Installation

ES Module

import { MobileHandler } from './mobile-handler.mjs';

IIFE (Immediately Invoked Function Expression)

<script src="mobile-handler.js"></script>;
// ...
window.MobileHandlerBundle.MobileHandler;

Global Dependency

MobileHandler relies on the VYLO variable being globally accessible.