How can I make shaking iphone increase the energy bar.?

greedydadygreedydady Member Posts: 35
edited June 2012 in Working with GS (Mac)
Anyone knows how to make the function as my title?
Thanks.

Answers

  • greedydadygreedydady Member Posts: 35
    edited June 2012
    I want to make an energy bar. It keeps charging from 0-100 like in 10 sec.
    But if i shake the machine. This charging time decrease from 10sec to 3 sec which mean i can faster the charging time by shaking my iphone.

    Can anyone give me some suggestion?
    Thanks!
  • HapiappsHapiapps Member Posts: 373
    Accepted Answer
    There is a video by tshirtbooth on how to make a health bar.
  • greedydadygreedydady Member Posts: 35
    i am sorry....but? what is that answer?
  • HapiappsHapiapps Member Posts: 373
    Yes it was, here is the video if you couldn't look it up:

  • greedydadygreedydady Member Posts: 35
    i mean how to use the accelerometer combine with the energy bar incresing speed.
    Thats all, thanks.
  • HapiappsHapiapps Member Posts: 373
    You just had a question about that, no need to make another thread.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Look at the video on how to use the accelerometer and combine the two. This is how you learn GS by watching videos and learning how to combine techniques.
Sign In or Register to comment.