iTGB 1.5 - keyboard binding issue ( RainyDay tutorial)
by guillaume letaeron · in iTorque 2D · 11/30/2011 (8:35 pm) · 4 replies
Hello everybody,
my first post, would have preferred it less noobish...
OK well I am starting to play with iTGB and I naturally get through the tutos from the docs, with the rainy day one i get a problem for the keyboardBehavior.cs
I double check the code, console error etc.. and well I do not get any input at all when running the game on the mac.
So i wonder if there is something that may not have been explain in the tutorials or something i did miss.
I tested this behavior code in TGB on my PC and it work perfectly, i see in game.cs that there is 2 line about direct input :
is there is anything different to do in Mac case ?
thanks for any help, I tried to lookup this issue in forum, but lot of topic are for TGB not iTGB..
thanks !
my first post, would have preferred it less noobish...
OK well I am starting to play with iTGB and I naturally get through the tutos from the docs, with the rainy day one i get a problem for the keyboardBehavior.cs
I double check the code, console error etc.. and well I do not get any input at all when running the game on the mac.
So i wonder if there is something that may not have been explain in the tutorials or something i did miss.
I tested this behavior code in TGB on my PC and it work perfectly, i see in game.cs that there is 2 line about direct input :
// Enable DirectInput for Windows development $enableDirectInput = true; activateDirectInput();
is there is anything different to do in Mac case ?
thanks for any help, I tried to lookup this issue in forum, but lot of topic are for TGB not iTGB..
thanks !
#2
here the link to paste bin :
pastebin.com/qtztPmU8
12/01/2011 (3:59 pm)
Hi michael , thanks for reply, here the link to paste bin :
pastebin.com/qtztPmU8
#3
any clue on this ? still stuck with this , ah and i also test on PC with iTGB for windows, and in fact i get the exact same type of issue.
so it seem that keyboard is fine with TGB desktop, but that the issue pop only when i am using iTorque with this particular behavior.
for now i will use button ^^
12/03/2011 (11:00 pm)
hi !any clue on this ? still stuck with this , ah and i also test on PC with iTGB for windows, and in fact i get the exact same type of issue.
so it seem that keyboard is fine with TGB desktop, but that the issue pop only when i am using iTorque with this particular behavior.
for now i will use button ^^
#4
12/06/2011 (7:21 am)
Hm, are you using the stock keyboard behavior or did you rewrite it? It would help if I could see the behavior code.
Employee Michael Perry
GarageGames