data saved on preview mode persist after to export nwjs

Bugs will be moved here once resolved.

Post » Sun Jun 12, 2016 3:09 pm

Problem Description
When I test my games some data is saved as names, highscore etc. After the export the game with Node Webkit and make a release, data from testing is there. I can make a cleanup manually, sure, but, I think the data must clean from local storage before export the game automatically, 'cause probably this data keep in another projects because it is the same nwjs window preview and export, I think.

Steps to Reproduce Bug
  • Run preview
  • Create new Highscore
  • Export project

Observed Result
LocalStorage generated on preview mode persist after export

Expected Result
LocalStorage empty after export

Affected Browsers
  • Chrome: (NO)
  • FireFox: (NO)
  • Internet Explorer: (NO)
  • Node WebKit: (YES)

Operating System and Service Pack
Windows 10 Home

Construct 2 Version ID
Release r229
B
29
S
10
G
1
Posts: 41
Reputation: 2,446

Post » Sun Jun 19, 2016 4:29 am

It might just be your own browser doing that. do you have a buddy computer to test the theory out try to get him to play test the game to see if it saved on his?
B
51
S
24
G
6
Posts: 391
Reputation: 7,820

Post » Mon Jun 20, 2016 2:23 pm

I think NW.js uses the project name as the storage key. I've made it different in preview mode for the next build which should fix this.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests