CTNTVirtualPad.new
From GiderosMobile
Revision as of 05:03, 3 December 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2019.4<br/> '''Class:''' VirtualPad<br/> === Description === Creates a new TNT Virtual Pad object. <source lang="lua"> CTNTVirtua...")
Available since: Gideros 2019.4
Class: VirtualPad
Description
Creates a new TNT Virtual Pad object.
CTNTVirtualPad.new(parent, texturePack, padSticks, padButtons, borderSpace, layerIndex, vBorderSpace, restrict)
Parameters
parent: (Sprite) the parent of the TNT Virtual Pad
texturePack: (TextureBase) the texture pack of the TNT Virtual Pad
padSticks: (number) width of pixel TO DO...AND BELOW AS WELL :-)
padButtons: (number) height of pixel optional
borderSpace: (number) hex value representing color optional
layerIndex: (number) alpha value from 0 to 1 optional
vBorderSpace: (number) width of pixel optional
restrict: (number) height of pixel optional
- CTNTVirtualPad:free
- CTNTVirtualPad:setAlpha
- CTNTVirtualPad:setColor
- CTNTVirtualPad:setDefaultButtonSprites
- CTNTVirtualPad:setDefaultJoySprites
- CTNTVirtualPad:setHideDelay
- CTNTVirtualPad:setHideMode
- CTNTVirtualPad:setJoyAsAnalog
- CTNTVirtualPad:setJoyStyle
- CTNTVirtualPad:setMaxRadius
- CTNTVirtualPad:setPosition
- CTNTVirtualPad:setScale
- CTNTVirtualPad:setTextures
- CTNTVirtualPad:start
- CTNTVirtualPad:stop