Can i use my pc local storage to save high score in my browser game?

Godot Version

3

Can i use my pc local storage to save high score in my browser game?

When you say “my pc” i assume you mean the players pc.

I’ve not done much with Godot web so far, but I know there’s a javascript interface, which you should be able to use to store data via local storage or a cookie.

Yeah i mean players pc, as i understand i need to code that in java script?

There might be a built in way, like i said I’ve not done any web stuff so it’d be something to check into. But the javascript interface would certainly work, and would give you quite a bit of flexibility.

1 Like

Okay,thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.