Need help with keyboard to touch

prajpraj Member Posts: 68
edited July 2012 in Working with GS (Mac)
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.

Comments

  • master200012master200012 Member Posts: 372
    Not sure exactly what you want, but it looks like you want to see if keyboard input works in ios too. In that case, yes.

    If you were looking for something else, just test it on the GS viewer.

    Please be more specific in your questions.

    Hope this helps!
  • DanDaMan123DanDaMan123 Member Posts: 216
    I think what he wants to know is if a rule like the following would work on ios:
    if>actor receives event>key>(key)>is down

    It would use the OS keyboard but I'm not sure if it would work.
  • prajpraj Member Posts: 68
    ok in more specific details...

    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.
  • jn2002dkjn2002dk Member Posts: 102
    No need for an invisible actor, just make a shoot button and have a on touch rule to trigger the missiles
Sign In or Register to comment.