Code Monkey home page Code Monkey logo

shadowhealer's Introduction

游戏地址

https://sh-1302744707.cos.ap-beijing.myqcloud.com/lastest/index.html

环境搭建

安装 IDE-vscode, vscode 中安装以下插件

  • Prettier (代码格式化)
  • Volar (vue 辅助)
  • ESLint (代码错误检查)
  1. 安装 node
  2. 安装 yarn 执行 yarn --version 有结果即为成功
  3. 在本目录,执行 yarn install 安装依赖
  4. 执行 yarn dev 开启 vue 调试, chrome 访问 http://localhost:3000/ 即可开始调试.
  5. yarn publish-vue <version> <passwd> 发布游戏

tips

调试模式中, 可以通过在加入一行debugger, 即可添加断点

目录说明

  • src 游戏主入口, 使用 vue
  • phaser 游戏画面部分, 承载在 canvas,opengl 上.
  • core 游戏逻辑
  • core/data 游戏数据部分,数据采用 ts 编写, 编写规则等同于 json(附带类型检测)

相关学习链接

shadowhealer's People

Contributors

kyasever avatar

Stargazers

编程鼠鼠 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.