Background mode plugin (Tools)

Discuss Scirra's 2D Asset Store

Post » Thu Jul 30, 2015 9:58 am



Background mode plugin — Now for sale in the Scirra Store!
https://www.scirra.com/store/game-making-tools/background-mode-plugin-1174

This plugin can make your game run constantly in background! This is a must have for Tamagochi game.



Use this topic to leave comments, ask questions and talk about Background mode plugin
Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
78
S
17
G
4
Posts: 197
Reputation: 7,738

Post » Sun Sep 13, 2015 4:06 am

If this were 50 $ or less, I'd actually buy. Not really worth more than that.
ImageImage
B
49
S
15
G
2
Posts: 268
Reputation: 6,617

Post » Tue Sep 15, 2015 1:40 pm

KTML5 wrote:If this were 50 $ or less, I'd actually buy. Not really worth more than that.

@KTML5
Thanks for the suggestion!

I'm updating this plugin and will release the update with discount soon.
By the way, the discount will be held with my new product --

[eBook] Generate Android APK with Your Own Windows PC
- get rid off Intel XDK
Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
78
S
17
G
4
Posts: 197
Reputation: 7,738

Post » Sun Sep 20, 2015 1:21 pm

Just bought the Plugin!
Very happy :-)
B
59
S
21
G
14
Posts: 779
Reputation: 13,927

Post » Sun Sep 20, 2015 2:46 pm

Savvy001 wrote:Just bought the Plugin!
Very happy :-)


Thanks for your support! :D
Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
78
S
17
G
4
Posts: 197
Reputation: 7,738

Post » Sun Sep 27, 2015 5:01 am

Excited to see the price drop! :) I'll be buying soon!
ImageImage
B
49
S
15
G
2
Posts: 268
Reputation: 6,617

Post » Fri Nov 06, 2015 10:33 am

Hi guys~

I just tested the new Crosswalk 15 with this plugin. It works fine, but it looks that Crosswalk 15 will disable your audio if your game is suspended for a long time.

So, for everyone who uses this plugin, please revert back to <CLI 4.1.2> + <Crosswalk 14>.
Image
Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
78
S
17
G
4
Posts: 197
Reputation: 7,738

Post » Thu Nov 26, 2015 4:04 pm

--
Last edited by TMAJA on Thu Nov 26, 2015 4:06 pm, edited 1 time in total.
B
13
S
6
Posts: 130
Reputation: 1,553

Post » Thu Nov 26, 2015 4:05 pm

jomo wrote: - Snip -


Hey Jomo,

Does this actually allow an app to run in the background - or does it just emulate that action?

I need a plugin which will allow my app to constantly monitor the phones GPS and then reopen the app if the GPS stays in the same place for some time. Will this plugin do that?

If so you've got a sale :P
B
13
S
6
Posts: 130
Reputation: 1,553

Post » Thu Nov 26, 2015 6:34 pm

TMAJA wrote:
jomo wrote: - Snip -


Hey Jomo,

Does this actually allow an app to run in the background - or does it just emulate that action?

I need a plugin which will allow my app to constantly monitor the phones GPS and then reopen the app if the GPS stays in the same place for some time. Will this plugin do that?

If so you've got a sale :P


To understand the concept we'll need to explain the "life cycle" of an app. Taking Android as a example, when you minimize the app, it will go to Pause state. In Pause state, your app still runs but you can't see it. So putting a app to Pause state is similar to the traditional concept of "background". We can bring it to Resume state and everything goes like before.

But, if you didn't bring the app to foreground for some period, Android will bring your app to Stop state. This is what we don't want to see because Stop state released almost every resources. So when you bring an app from Stop state back to Start state, you'll see the splash screen again and all your game data will be lost.

Now the problems are:
1. Typically, Android automatically kills your app in Pause state if it has been paused for several minutes.
2. If you installed some memory management app like CleanMaster, sometimes it will kills your apps in Pause state.

So the conclusion is: We need to keep our app in Pause state and Avoiding it being killed(stopped) by Android or other memory management apps.

========

And secondly, this plugin brings back your game to foreground when user touching corresponding notification bar(like the notification bar for un-read SMS). I'm sorry this plugin can't automatically bring your game to foreground. Alternatively, it can add a notification bar or play alarm sounds in background.
Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
78
S
17
G
4
Posts: 197
Reputation: 7,738

Next

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 2 guests