Well, that all depends on the platform, if you want it mobile CocoonJS, IntelXDK or NodeWebkit, you can check put their respective plugins, they probably have some kind of quit trigger
A possible way would saving when loosing focus
Hi Whiteclaws,
Sounds like a great idea - how would I go about checking respective plugins? I've just had a look but I can't see a manual entry on that...
>
> > When do you change the score?
> >
>
> Hi Newt!
>
> The user score changes literally all the time. Its a kind of banking app, so the user score is always going up.
>
> Any clues?
>
It was a rhetorical question.
As in the the obvious thing you missed.
I've really thoroughly thought about this and I'm just not seeing it? Maybe I'm just being an idiot! The score changes every tick...and surely I cant write to web storage every tick - that's going to be much worse more taxing on the hardware than writing every minute?
Sorry if I've totally misunderstood!
Hi, nice question
I wonder how to do this too since lot of users exit with home button, open the task manager and swipe the app
How about saving every tick but I think that will make the phone work very hard, isn't it?
Hi ijoin,
Thanks - yeah this has been something that's been bugging me for a while! I steered clear of saving every tick - I try to keep the number of every tick actions to a minimum anyway as they can be pretty hard on the limited resources on mobile - never mind if your actually writing to web storage.
Thanks everyone!