File: mobile_gamepad.md

package info (click to toggle)
surgescript 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,200 kB
  • sloc: ansic: 15,748; sh: 61; javascript: 38; makefile: 13
file content (30 lines) | stat: -rw-r--r-- 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
MobileGamepad
=============

The mobile gamepad is a virtual gamepad that appears on the screen when the engine is launched in [mobile mode](/engine/surgeengine#mobilemode).

*Available since:* Open Surge 0.6.1

Properties
----------

#### visible

`visible`: boolean, read-only.

Whether or not the mobile gamepad is visible.

Functions
---------

#### fadeIn

`fadeIn()`

Makes the mobile gamepad appear smoothly.

#### fadeOut

`fadeOut()`

Makes the mobile gamepad disappear smoothly.