Coder Social home page Coder Social logo

truejasonfans / example-cases Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cocos/example-projects

0.0 1.0 0.0 44.73 MB

Example project to guide users through how to create game with Fireball

Home Page: https://cocos-creator.github.io/example-cases/

JavaScript 93.62% Java 3.30% Objective-C 0.61% Objective-C++ 2.48%

example-cases's Introduction

Cocos Creator 开发范例

本项目同时面向 Cocos Creator 引擎开发人员和最终用户,目的是建立一套贯穿开发、测试、学习使用的完整的功能范例。

https://cocos-creator.github.io/example-cases/

项目结构

assets
  |--cases (范例场景和脚本存放位置)
  |    |--01_graphics (图像相关)
  |    |--02_ui(用户界面相关)
  |    |--03_gameplay(玩法相关)
  |    |--04_audio (音效效果)
  |    |--import(外部数据导入相关)
  |    |--data(用户数据处理)
  |--res(范例使用的资源)
  |   |--atlas(图集资源)
  |   |--font(字体)
  |   |--imported(外部导入资源)
  |   |--textures(贴图资源)
  |--scripts(公共脚本)

每一类范例里可以根据需要再次细分类别,每个范例首先要有一个场景文件,里面包括了范例功能的展示。

在范例场景所在目录下,放置所需要的脚本,外加一个和范例场景同名的md文件,里面是范例功能的使用说明。请参考已有的md文件来书写。

开发者要求

开发者在开发新功能时,请新建一个范例后使用范例作为功能展示和测试用途。在功能开发完成后,书写使用说明,以方便 QA 测试跟进,和最终用户及时准确的掌握用法。

场景名使用驼峰命名,文件夹名使用下划线分割。

范例说明索引

每篇说明文档都和范例场景同名,并且放在同一个目录下。

图像相关 Graphics

界面相关 UI

玩法相关 Gameplay

音效相关 Audio

example-cases's People

Contributors

2youyou2 avatar cocos-robot avatar colincollins avatar drelaptop avatar holycanvas avatar hylthink avatar jareguo avatar javen205 avatar knightli2003 avatar knoxhuang avatar nantas avatar pandamicro avatar pppro avatar raksa avatar sunnylanwanjun avatar visualsj avatar wuzhiming avatar xunyi0 avatar zhifenghu avatar zilongshanren 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.