FoxInABox

Any way to protect the Spine files when working with JavaScript?

Or should I use something else to make browser games with Spine?
FoxInABox
  • Posts: 15

Mario

As with all assets served over the web to a browser client, there's really no way to protect the contents (save for DRM as found in videos, but that only works for videos). Eventually, the client needs to decode the json or binary payload in an unencrypted form. Since there's no way to prevent a user to pause the JavaScript VM and inspect its contents, there's no way to project assets.
User avatar
Mario

Mario
  • Posts: 2836

FoxInABox

Hm, that's pretty bad ..thank you for confirming it, wasn't lucky getting an answer in any JS discord channels.

The only other browser option would be AS3 then?
FoxInABox
  • Posts: 15

Mario

Flash would be a way to protect the assets, but barely any browser wants to touch Flash anymore, and neither do users.

Note that this is not a Spine issue, but an issue with how the web works.
User avatar
Mario

Mario
  • Posts: 2836

FoxInABox

It will have to do for now ^^ just wanted to display some minigames ideas without the need for people to install.. Thanks for the answers.
FoxInABox
  • Posts: 15


Return to Editor