Make Actor react If iphone is left (inactive) HELP
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
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
Maybe a simple Yes it can be done or No it Cant.
Thanks
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.