Skip to content

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.

License

Notifications You must be signed in to change notification settings

EvitcaStudio/MobileHandler

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published