保护HTML5游戏的来源 [英] Protecting the sources of HTML5 game

查看:68
本文介绍了保护HTML5游戏的来源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

人们对HTML5说了很多好话,但我最关心的一个问题是如何保护我的游戏的源代码。



基本上......


  1. 如何防止其他人使用我们自己开发的游戏引擎(这是一个庞大的资产)

  2. 以防止其他人下载游戏并将其托管在其他平台中

  3. 如何隐藏源服务器API调用详细信息,例如我们自己的记分牌API,虚拟货币API等。
  4. 所有3个问题的答案。你可以做的唯一的事情就是减慢那些对你的代码感兴趣的人,但最终,如果有人想使用你的代码,那么你就无能为力。


    People have been saying so many good words for HTML5, but one of my main concern is how to protect the source code of my game.

    essentially..

    1. How to prevent other from using our own developed game engine (that's a huge assets)
    2. How to prevent other from downloading the game and host it in other platform
    3. How to hide the server API calls detail in the sources, e.g. our own scoreboard API, virtual currency API etc.

    解决方案

    "You can't" is the answer to all 3 questions. The only thing you can do is to slow down whoever's interested in your code by ofuscating it, but ultimately, if somebody wants to use your code, there's nothing you can do about it.

    这篇关于保护HTML5游戏的来源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆