Git Product home page Git Product logo

gamemodel's Introduction

游戏模板

项目文档 栗子参考 gameManager

项目开发

_ 安装开发时所需依赖 _

    $ npm i # 安装所有依赖

cocos creator 版本 2.4.2 (引擎有问题,尽快升级)

目录结构

.
├── asset                   资源
   ├── resource            需要代码加载的资源文件(音频、图片等)
   ├── Scene               场景文件
   ├── Script              代码文件
      ├── common          项目公共文件
      ├── game            游戏组件文件
      ├── utils           工具库文件
   └── Texture             图片文件(不需要代码加载)
├── build                   编译完成文件
├── build-templates         编译模板
├── library                 不用管
├── local                   本地creator配置
├── node_modules            node依赖文件
├── settings
├── temp
├── editorconfig.js
├── eslintrc                代码格式化规则
├── tsconfig                typescript配置文件
├── package.json            项目依赖配置
├── project.json            项目配置
└── README.md               项目说明

项目发布及部署

_ 图片记得压缩 _

creator -> 项目 -> 构建发布 发布平台 Web Mobile 初始场景 loading.fire 设备方向 Portrait 竖屏

构建完成 将 build/web-mobile 里文件复制到服务器路径

gamemodel's People

Contributors

renznn 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.