Make Actor react If iphone is left (inactive) HELP

VoiceExpressVoiceExpress Member, PRO Posts: 102
edited November -1 in Working with GS (Mac)
Hi Guys,

Is there any way I can make the actor move or shake or play sounds if the iPhone users leaves the iphone app running without playing for say 30 seconds. (inactive) so Gamesalad detects that the game hasnt been touched and "Plays Sound" saying where have you gone ...ETC

Hope you get what i mean.

Thanks

V.E

Comments

  • VoiceExpressVoiceExpress Member, PRO Posts: 102
    Any Suggestions Welcome

    Maybe a simple Yes it can be done or No it Cant.

    Thanks
  • PhoticsPhotics Member Posts: 4,172
    It's not a yes or no question. The question is... can it be done well? HA HA.

    You can detect if the screen has been touched and you can detect accelerometer data. So, combine all this data and look for changes. If no changes occur, then you can run certain behaviors.

    If you're not familiar with working with accelerometer data, The Unofficial GameSalad Textbook has some useful information about it. Basically, the book has information about accelerometer based controls, but I'm thinking that knowledge could be applied in this scenario.

    Instead of looking for constant change in accelerometer data - you'd be looking for ANY change in accelerometer data.
  • JadarStudiosJadarStudios Member Posts: 264
    Umm, the hyperlink isn't working...
  • PhoticsPhotics Member Posts: 4,172
    jrhoda1 said:
    Umm, the hyperlink isn't working...

    Fixed! :)
  • diyajeediyajee Member Posts: 15
    ou can detect if the screen is touched, and can detect acceleration sensor data. So, combine all this data and display the changes. If there are no changes, so you can perform certain behaviors.
Sign In or Register to comment.