It looks like you're new here. If you want to get involved, click one of these buttons!
local function rightJoy(e) if e.data.selected then print(e.data.state) carro:rotateCannone(e.data.angle) end if e.data.state == "PAD.STATE_END" then print("Ended") end end |
Comments
check as soon as possible... ;;)
www.tntengine.com
anyway PAD.STATE_END (only for pad) is not working on v1.10 fixing now tomorrow i'll update! (Buttons events are working btw)
sorry for the inconvenience! :P
www.tntengine.com
TNT Virtual PAD is FIXED NOW
i'll update tomorrow!
thanks for support!.
ciao.
www.tntengine.com
Good new, thanks!
Another question on Virtual Pad...
Is there any way to define the area which the pad registers a touch. To be able to say set a max radius, outside of which the pad is not active?
Thanks - I think this is a fantastic tool by the way!
no... with current version...
maybe i can add in next version...
a command like this should be fine for example ?
www.tntengine.com
it's fixed now...
an update will come soon (with setMaxRadius) suggested by you.
thanks.
www.tntengine.com
a little update for my TNT Virtual PAD.
This is a BUG Fix Release
Fixed Events Release for Virtual PADS
Fixed GFX Layer Error on Virtual PAD
Add a new Touch modality based on radius
so now Virtual pad can handle touches also on user defined radius. (see docs and examples for more infos)
Thanks to @Tom2012 for Bug reports and suggestions.
and thanks to all peoples that support my work with donations! (thanks guys!)
www.tntengine.com
Likes: ar2rsawseen
www.tntengine.com
"error loading module 'tntvpad64' from file './tntvpad64.lua':
./tntvpad64.lua: bad header in precompiled chunk
stack traceback:"
Thanks
Tom