Suspended

Get help using Construct 2

Post » Thu Apr 19, 2012 9:42 am

Is there an event to check if c2 is suspended/resumed in phoneGap?

Thanks
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Thu Apr 19, 2012 10:49 am

I don't think such a condition would ever run, because events stop running when the app is suspended! What were you planning to use it for? Is there a trigger or something that runs while suspended?
Scirra Founder
B
366
S
217
G
82
Posts: 23,214
Reputation: 183,416

Post » Thu Apr 19, 2012 11:22 am

@Ashley
I'm using the Low Latency audio plugin and on android the music keeps playing even when the application is not on screen, I need something like what you've done for the native audio plugin of phonegap.

Thanks
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Thu Apr 19, 2012 11:46 am

I've added some on suspend/resume triggers to my todo list, but it should be fixed from the plugin really.
Scirra Founder
B
366
S
217
G
82
Posts: 23,214
Reputation: 183,416


Return to How do I....?

Who is online

Users browsing this forum: ChesVCF, Google [Bot], SoldjahBoy and 5 guests