|
5 | 5 | -----
|
6 | 6 | Author: [Clay.io](http://clay.io/devlanding) - Tools for HTML5 game developers
|
7 | 7 |
|
8 |
| -**[[DEMO]](http://clay.io/plugins/controller-demo.html)** - be sure to have touch enabled! This game isn't the most efficient on |
9 |
| -mobile devices in it's current state, but iOS Safari should handle it. |
10 |
| - |
11 | 8 | This library is for easy integration of a virtual game controller overlay for HTML5 games. With HTML5, it's easy to
|
12 | 9 | get your game to run on touch-screen devices like phones and tablets, but user-input is a whole different story. With
|
13 | 10 | just the accelerometer and touch to work with, it makes it hard to have a game's input pair well with the desktop version.
|
14 | 11 |
|
15 |
| -The controller will only be shown in touch is enabled on the device. |
16 |
| - |
17 | 12 | The HTML5 Virtual Game Controller aims to alleviate the problem with a super-simple, yet customizable option for adding a
|
18 |
| -touch-based gamepad to your game. |
| 13 | +touch-based gamepad to your game when touch is enabled. The controller will *only* be shown in touch is available on the device. |
19 | 14 |
|
20 |
| -See a demo [here](http://www.youtube.com/watch?v=XQKRYMjrp2Q), or [try the game](http://clay.io/plugins/controller-demo.html) out in Chrome with touch events enabled (ctrl+shift+i, |
21 |
| -then click the settings icon on the bottom right. Select the "Overrides" tab, and check "Emulate touch events" at the bottom). |
| 15 | +Watch a demo video [here](http://www.youtube.com/watch?v=XQKRYMjrp2Q), or [try the game](http://clay.io/plugins/controller-demo.html) out. |
| 16 | +In Chrome, you can enable fake touch events with: ctrl+shift+i, then click the settings icon on the bottom right. |
| 17 | +Select the "Overrides" tab, and check "Emulate touch events" at the bottom). The demo game isn't the most efficient on |
| 18 | +mobile devices in it's current state, but iOS Safari should handle it. |
22 | 19 |
|
23 | 20 | As of January 20th 2013, tested in Chrome, Firefox, IE10, and Mobile Safari.
|
24 | 21 |
|
|
0 commit comments