00:00
00:00
3p0ch
If you like hard games try my Daxolissian System series

plasmid @3p0ch

Cat

Scientist

Read the manual & try stuff

So Cal

Joined on 2/13/10

Level:
13
Exp Points:
1,622 / 1,880
Exp Rank:
38,652
Vote Power:
5.47 votes
Audio Scouts
1
Rank:
Portal Security
Global Rank:
23,939
Blams:
50
Saves:
367
B/P Bonus:
8%
Whistle:
Normal
Medals:
4,584
Supporter:
3y 1m 21d

Save progress in PuzzleScript games on NewGrounds

Posted by 3p0ch - May 8th, 2022


For anyone using PuzzleScript, it will probably not save players' progress if you upload your game to NewGrounds. Fortunately there's a very easy fix. After you generate the .html file for your game, open it in a text editor to find/replace

document.URL

and replace it with

"a_key_unique_to_your_game_WhichCouldBeInCamelCase or have spaces"


Make sure to include quotes around the thing you replace it with, and use a replacement string that no other game on NewGrounds is likely to use (maybe "your username_your game's name" or something). Then your game should save fine.


Tags:

1

Comments

Comments ain't a thing here.