Game Development Community

1.5 RainyDay tutorial

by teo kok kiang · in iTorque 2D · 12/09/2011 (2:56 am) · 2 replies

Good day,

There is no problem using the mouse to drag the cloud in the scene. However, the cloud will not move if I press the keyboard direction keys. Adding echo at the respective function yields no response at all.

Does 1.5 support keyboard binding?

About the author

Recent Threads


#1
12/09/2011 (5:54 am)
There is no keyboard on iOS that can be used for game input and iTorque does not support desktop targeting (for windows / osx games use T2D / TGB)
#2
12/11/2011 (7:49 pm)
Thanks

So this code (found under keyboardBehavior.cs within the rainyday tutorial) will not worked in desktop environment for testing?

moveMap.bindObj(getWord(%this.leftKey, 0), getWord(%this.leftKey, 1), "moveLeft", %this);