Skip to content

hellozhangran/engine

Folders and files

NameName
Last commit message
Last commit date
Apr 1, 2017
Aug 30, 2017
May 16, 2017
Dec 28, 2015
Aug 25, 2017
Jun 12, 2017
Jul 25, 2017
Aug 28, 2017
Mar 1, 2016
Jul 27, 2017
Aug 24, 2017
Sep 22, 2016
Jul 27, 2016
Jul 4, 2016
Feb 3, 2016
Mar 24, 2016
Aug 18, 2017
Aug 2, 2017
Dec 5, 2015
Aug 18, 2017
Jul 7, 2017
Aug 5, 2016
Jun 8, 2016
Mar 14, 2016
Jun 23, 2017
Jul 25, 2017
Aug 22, 2017
Jul 11, 2017
Aug 18, 2017

Repository files navigation

Cocos Creator Engine Framework

This repo is the engine framework for Cocos Creator, Cocos Creator is a game development tool focused on content creation, which has realized features like thorough scriptability, componentization and data driven, etc. on the basis of Cocos2d-x.

Cocos Creator's in-editor scene view and web runtime share the same framework, which is the content of this repo. It's originally forked from Cocos2d-html5, we build up an Entity Component architecture on it to meet the needs of Cocos Creator.

This framework is a cross-platform game engine written in Javascript and licensed under MIT. It supports major desktop and mobile browsers, it's also compatible with Cocos2d Javascript Binding engine to support native platforms like iOS, Android, Win32, Mac OS X.

The framework is naturally integrated with Cocos Creator, so it's not designed to be used independently.

Developer

Prerequisite

Install

In cloned project folder, run the following command to setup dev environment:

# Initialize gulp task dependencies
# npm is a builtin CLI when you install Node.js
npm install

This is all you have to do to set engine development environment.

Build

gulp build

Test

Prerequisite

Unit Test

Test in CLI
npm test
Test in browser
  1. Build for testing.

    gulp build-test
  2. Start express in cloned project folder.

    node test/qunit/server.js
    
  3. Open http://localhost:8511/bin/qunit-runner.html in your browser.

Visual Test

  1. Build for testing.

    gulp build-test
  2. Start express in cloned project folder.

    node test/visual-tests/server.js
    
  3. Open http://localhost:8512/test/visual-tests/index.html in your browser.

Links

About

The engine for Cocos Creator

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.0%
  • Other 1.0%