i am trying to create iphone game. but i did some of the things using key. is it possible to make sure it is playable in ios? for example insert the key on the screen. thx.
at the moment,for eg- i programmed when key-space is pressed, spawn actor (missile). timer 0.5sec. but i am having difficulties to establish it using touch as iphone does not have a keyboard.... if i create actor and put it invisible on top of 'shoot button'(red at bottom of screen), nothing happens.
Comments
If you were looking for something else, just test it on the GS viewer.
Please be more specific in your questions.
Hope this helps!
if>actor receives event>key>(key)>is down
It would use the OS keyboard but I'm not sure if it would work.
at the moment,for eg- i programmed when key-space is pressed, spawn actor (missile). timer 0.5sec. but i am having difficulties to establish it using touch as iphone does not have a keyboard.... if i create actor and put it invisible on top of 'shoot button'(red at bottom of screen), nothing happens.