-
Hi I developed a web shooter on my site. For a upcoming "update" to my game I was thinking of supporting saving the player's score. So to start I hit the Kaboomjs docs on all things kaboom, and saw getData() and setData(). My confusion is the docs refer to getData() and setData() as accessing local storage, but what does that mean? (server-side or client-side?) If it's server-side I can make a global high-score board then, but if it's client-side I'd only track that client/player. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
getData()
andsetData()
are local, you can storage things in the browser, for use multiplayer save of data, you can use Replit DB, Mongo, or like it.