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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d6d4aeb · May 4, 2024

History

48 Commits
May 4, 2024
May 4, 2024
Mar 3, 2024
May 4, 2024
May 4, 2024
Dec 16, 2023
Dec 16, 2023
May 4, 2024
May 4, 2024
May 4, 2024

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