Skip to content

Commit

Permalink
update: build system from webpack to rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
doubleactii committed May 4, 2024
1 parent 7509b44 commit 36f0588
Show file tree
Hide file tree
Showing 21 changed files with 64,976 additions and 64,791 deletions.
10 changes: 3 additions & 7 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MobileHandler is free software, available under the terms of a MIT style License.
MIT License

Copyright (c) 2022 Evitca Studio
Copyright (c) 2024 Evitca Studio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -12,14 +12,10 @@ furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

This software cannot be sold by itself. It must be used in a project and the project itself can be sold. In the case it is not, you the "user" of this software are breaking the license and agreeing to forfeit its usage.

Neither the name “EvitcaStudio” or "MobileHandler" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# MobileHandler
# 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

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

### IIFE (Immediately Invoked Function Expression)

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

### CommonJS (CJS) Module

```js
const { MobileHandler } = require('./mobile-handler.cjs.js');
```

### Global Dependency

MobileHandler relies on the `VYLO` variable being globally accessible.
33 changes: 0 additions & 33 deletions add-banner-script.js

This file was deleted.

20 changes: 0 additions & 20 deletions add-version-script.js

This file was deleted.

Loading

0 comments on commit 36f0588

Please sign in to comment.