changing an image on keyboard key pressed then back to original when released??

APPlauseAPPlause Member Posts: 29
edited July 2012 in Working with GS (PC)
Is there a way to make my actor's image change while a key is being pressed and then revert back after the key is released? I want to have a head's mouth open to fire a missile upon pressing space bar and then the mouth closed after space bar is released. Doable?

Best Answers

  • J_PANJ_PAN Posts: 140
    Accepted Answer
    i think so, you can create the rule, when space button is pressed, change image to open mouth. in otherwise, put change image to close mouth
  • J_PANJ_PAN Posts: 140
    Accepted Answer
    your welcome
  • GLGAMESGLGAMES SingaporePosts: 988
    Accepted Answer
    Yes using when spacebar down , change self image to "mouth open" otherwise self image = "mouth close" should work. It's the same for button pressed and release image changes.

Answers

  • APPlauseAPPlause Member Posts: 29
    I'll give it a shot. Thanks!
  • APPlauseAPPlause Member Posts: 29
    Appreciate the feedback. I"m still trying to find my way around on the basics for GameSalad. Once I figure it out I'll be dangerous and you can say "Heah , I knew that guy when he was quite helpless" :-)
Sign In or Register to comment.