How do I Store Player high-score on Nodewebkit

Just started using Construct 2? Post your questions here

Post » Fri May 09, 2014 5:37 pm

I have read tutorial on Arcade Style highscore, and used webstorage for high score save but as a fact that web storage works in web-view. I am exporting my game for windows and want that feature. Also i want to cosider this for other export options like android and ios.

Can any one help me

Thanks
Every Game is a Good Game it's just few people like and few does not! Keep coding people some day you will be a "NOTCH".
B
21
S
6
G
3
Posts: 85
Reputation: 4,607

Post » Fri May 09, 2014 8:37 pm

It should work. have you actually tried it?
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Sat May 10, 2014 1:15 pm

Sorry my bad it did work.

Mistake - I was resetting the global variables before score can be stored in web-storage so technically it was storing "0" every time. I rectified that it works. and thanks once again @TheDom :)
Every Game is a Good Game it's just few people like and few does not! Keep coding people some day you will be a "NOTCH".
B
21
S
6
G
3
Posts: 85
Reputation: 4,607

Post » Mon Dec 08, 2014 3:43 am

Have you tested it on ios? I have a game on ios using that same tutorial and it is hit or miss on writing over the high score if u beat it.

Just wonder if you noticed that
B
10
S
2
Posts: 22
Reputation: 651


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests