Skip to content

仿写微信小游戏「跳一跳」,使用白鹭引擎

Notifications You must be signed in to change notification settings

wswei99/tiaoyitiao

Repository files navigation

tiaoyitiao

仿写微信小游戏「跳一跳」,使用白鹭引擎 运行步骤

PC端展示:

  • 下载源码后使用wing打开(直接将'跳一跳白鹭源码'文件夹拖到wing编辑器中即可)
  • 点击调试运行(左上方小火箭左边的小爬虫按钮)或者直接在当前文件目录下使用命令:egret run

微信开发工具展示

  • 首先修改'跳一跳白鹭源码'下index.html中的一行代码

    data-scale-mode="showAll"
    修改为:
    data-scale-mode="fixedWidth"
    
  • 修改 egretProperties.json(也可以去EgretLauncher项目下去直接设置发布模式,下面代码会自动修改)

    "target": {
        "current": "web"
      },
    修改为
    "target": {
        "current": "wxgame"
      },
    
  • 之后在当前目录下使用命令:egret run

  • 此代码版本可能过低,请核对版本进行运行。

About

仿写微信小游戏「跳一跳」,使用白鹭引擎

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages