Hi! guys!
just an update for my upcoming framework for Gideros Mobile "TNT Virtual PAD"
it's a "virtual" pad/Joystick totally programmable and customizable!
you can have one/two digital/analog pad and 1,2,3 or 4 buttons.
three pad mode (default-fixed, movable and follow finger)
three hide mode (no-hide, Ghost, hide)
more to come...
all event driven.
here is an early video!
stay tuned!!!!
Comments
https://sites.google.com/site/xraystudiogame
would you also have a functionality to lock the joysticks in place rather than move all over the screen?
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
PADSTYLE.CLASSIC and lock the joysticks in place
PADSTYLE.MOVABLE joysticks move when player touch the screen
PADSTYLE.FOLLOW joysticks move and follow player finger (as in the video)
ciao ciao
Gianluca.
Likes: hgvyas123, gorkem
www.tntengine.com
www.tntengine.com
as said on my blog (little update):
...development of virtual pad is growing slow but fine!
it's almost done...
now i need some beta tester... before public release!!!
if you have in development a game and you need virtual pads or you are interested in "deep" testing my engine
and want to be a beta tester
please contact me (remember to leave your email)!!!
ciao!!!
Gianluca. gregbug (at) gmail (dot) com
little new video with "events working":
Likes: OZApps, gorkem, avo, pmanna
www.tntengine.com
Do you have my email address?
@ar2rsawseen
@magnusviri
@gorkem
i'll send you the sources tonight (when i go home)
thanks
www.tntengine.com
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
ok.! new official beta tester
@ar2rsawseen
@magnusviri
@gorkem
@scouser -->> please send me you emails (gregbug at gmail dot com)
i'll send you the sources tonight (when i go home)
thanks
www.tntengine.com
Likes: vdavi81
how could I say no to the daddy of Gideros? :P
[re-update]
official beta tester : (in alphabetical order)
@ar2rsawseen
@atilim
@magnusviri
@gorkem
@scouser
[BETA TEST PROGRAM NOW CLOSED]
www.tntengine.com
beta1 just sent to beta tester ! :bz
Likes: avo
www.tntengine.com
beta2 of new framework (TNT Virtual PAD) just sent to beta Testers!!!
ciao ciao
Gianluca.
stay tuned!!!!
www.tntengine.com
just a test run...
.apk example 2 and 3 of TNT Virtual pad library (only Android device... sorry)
feedback are welcome!
(this examples are VERY limited examples)
now virtual pad is totally customizable...
layers added
more robust event management
and optimizations...
source of example 2...
www.tntengine.com
hope you like it!
hey beta tester no bugs found ? ;;)
www.tntengine.com
On which iDevice is that demo running on?
I noticed that if I press and hold the fire button then press the protection button nothing happens until I release the fire button. I tracked this down the a "break" statement in a for loop in CTNTVirtualPad:onEnterFrame. If the break is removed then it works.
I've modified my iCade plugin to work interchangably with this. I added this to the bottom of example2 and that's all it takes to add iCade support to a project using TNT Virtual Pad.
When using the TNT Virtual Pad and the iCade at the same time, the joysticks add up, which can produce some unintended side effects (moving twice as fast or canceling out the movement). Shooting can be achieved twice as fast as well. I'm not sure how to handle this.
Obviously there is no iCade right pad and it supports 8 buttons and right now it isn't really configurable. I don't believe there is even anything to configure...
I did notice some stuttering with my plugin (didn't happen with plugin removed) so maybe I need to optimize it a bit.
One other annoyance is that when the iCade is connected to the iOS device the keyboard shows then hides. I am not sure how to get around that.
I'll post a download for the iCade plugin tomorrow.
My apps: http://www.yummyyellow.com
it's running on iPod 2^gen and iPad 1^Gen.
www.tntengine.com
looking at the code and try to optimize.
maybe i can add the 2 missing buttons in Virtual PAD ?
nice!
www.tntengine.com
My apps: http://www.yummyyellow.com
Either way, my iCade plugin just produces events with data that looks exactly like TNT Virtual Pad events. The iCade events are named differently though, because I don't want to trigger events twice. I suppose I could name them the same but I think it's better not to.
This is how I'm deciding to avoid simultaneous input from the on virtual pad and iCade. I added an iCade table field to all iCade generated events. If the event is a Virtual Pad event I record the os.time() and wont evaluate any iCade events if a Virtual Pad event happened in the last second.
This is the modified example 2.
My apps: http://www.yummyyellow.com
and if i add in Virtual Pad a function like "useIcadeHardware(OnOff)"
and if user set true (so use icade hardware) virtual pad will not show pad on screen and not release events...
what do you think ?
www.tntengine.com
just sent to you a new version of virtual pad
with this new functions:
simply Virtual pad not showen on screen and not release any event...
the second release true or false if ICade is used or not...
i think you need to use the same name of TNT Events for you ICade events...
so the user simply use vPad:setICade(true) and use ICade
or vPad:setICade(false)
and use virtual pad...
not tested however...
can you test it ?
ciao
gianluca.
EDIT: in the sources that i sent to you please correct:
function CTNTVirtualPad:getICaseUse()
with
function CTNTVirtualPad:getICadeUse()
sorry.!
www.tntengine.com