cancel
Showing results for 
Search instead for 
Did you mean: 

If i have an app in FF Market how can i save when user get achivments from my app...

Highlighted
New Contributor

If i have an app in FF Market how can i save when user get achivments from my app...

so, i made an app on FF market called R.C.P. (rock paper scissors) but i want if player won 5 times, 50 times, 500 times etc, to get an achivment BUT when he run again the app he can see his achivments.. if he restart the application the achivments will dissapeard....

Tags (1)
1 REPLY
Site Moderator

Re: If i have an app in FF Market how can i save when user get achivments from my app...

hello, use a technology like localstorage to save the achievements and/or other settings: https://developer.mozilla.org/en-US/docs/Web/Guide/DOM/Storage

some general ressources for webapp developers:
https://developer.mozilla.org/en-US/docs/Web/Apps
https://marketplace.firefox.com/developers/docs/game_apps