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
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,630


Return to How do I....?

Who is online

Users browsing this forum: newt and 23 guests