Commit Graph

65 Commits

Author SHA1 Message Date
Yun Hsiao Wu d8d56d3cbc full audio support (#3948)
* sampler cache

* fix GL availability test

* full audio support
2019-03-02 18:38:53 +08:00
Leslie 9fd96b3ff7 fix preview error 2019-01-28 15:39:26 +08:00
Leslie b9c93ccf64 fix webgl-debug 2019-01-24 17:06:45 +08:00
Leslie a09ecfc89f fix webgl-debug 2019-01-24 16:31:44 +08:00
Leslie 626ebe2b9d add animation support/add webgl debug support 2019-01-24 15:36:54 +08:00
Leslie Leigh 855738d49b Rollup build (#3735)
* rollup-build

rename to ts

* add build-engine-cli

* rename rollup result, because cc can be conflict

* tsc not found
2019-01-10 22:27:43 +08:00
Leslie Leigh 4488d0d363 Vmath (#3700)
* * do not run phy system in editor
* support center of phy shape
* fix setWorldPosition() bug

* add interface pullTransform() for sync dynamic phy body's transform

* rename to ts

* remove type in jsdoc annotation

* set indent to 4

* tslint auto fix

* tslint auto fix

* update bits.ts

* update package.json;update vecs, quat and util.

* correct exporting/importing in index.js/export renderer as non-default because dumplicated Scene export

* components exporting
2019-01-03 18:50:17 +08:00
Leslie Leigh 3ed9edfbc6 phy framework (#3644)
* phy framework

* phy mat

* framework/index.ts

* a node can have more than one collider

* rename physical to physics

* fix

* fix

* support mix ts js

* fix

* fix problems in issue

* fix

* remove RigidBodyType, add DataFlow

* useGravity, freezeRotation, isKinematic

* raycasts

* fit buildin-world raycast options

* add contact material

* lint

* add rigid-body-component.ts

* some improvements

* improvements

* fix bug
2018-12-27 12:03:10 +08:00
Yun Hsiao Wu 1850cabe7b Effect Improvements (#3599)
* default material

* remove effects

* better builtin effects

* builtin primitives

* fix material

* builtin uniforms

* fix percision
2018-12-07 14:38:53 +08:00
Yun Hsiao Wu 58e59701ba Unified effect/shader assets (#3559)
* modify render piplien p1

* new effect format

* minor refactor

* mod render pipelien p1

* process queues and stages offline

* choose tech on load

* fix second pass

* modify render pipeline p2

* minor

* stage item default

* support render queue below opaque constant

* fix shadow stage in new render pipeline

* unified shader assets

* unified shader assets: parser

* add technique lod

* unified shader assets: pipeline

* fix some defect

* fix some defect

* fix effect asset cid

* game init

* minor fix
2018-12-03 13:59:36 +08:00
Yun Hsiao Wu 4d99992908 new material json format (#3422)
* auto-generate shader infos

* remove define jsons

* program-lib

* new effect format

* first working version

* structure adjust, enable type dependency extraction
2018-10-26 11:47:06 +08:00
Yun Hsiao Wu db393560bc refine math lib (#3383) 2018-10-16 11:58:31 +08:00
Yun Hsiao Wu 1943c9eb6d adaptation for editor camera (#3371)
* fix min build

* expose some useful utils

* fix color & node quat
2018-10-11 16:57:08 +08:00
Yun Hsiao Wu 8dda58f16b fix shader & effect build (#3352)
* restore effect

* minor fix

* fix shader & effect build
2018-10-09 11:57:22 +08:00
pandamicro 6282af03ba Fix editor running issues (#3286) 2018-09-20 11:44:57 +08:00
Yun Hsiao Wu 243d645760 ES6 scene-graph (#3234)
* ES6 base-node

* ES6 node

* ES6 node activator

* ES6 component scheduler

* ES6 find

* ES6 scene

* ES6 private node

* fix linter globals
2018-09-13 01:29:59 +08:00
pandamicro 6b1e031dfb ES6 modulize assets (#3221)
* use babel instead of buble

* ES6 modulize assets
2018-09-09 23:49:25 +08:00
pandamicro 11f876f72e Add rollup config and tested commonjs module import (#3220)
* Add basic rollup environment configs

* Fix issues for rollup build

* Import commonjs module, test with assets
2018-09-09 11:32:11 +08:00
pandamicro 2a3a75e7fb Fix unit test and circle ci (#2858)
* fix test-animation bug (#2787)

* fix unit test (#2840)

* Improve Sprite & SpriteFrame impl

* Add Sprite inset function deprecation

* Fix unit tests

* fixed the circleci failed test but still pass the commit problem (#2814)

* CircleCI test failed but build successfully problem fixed (#2816)

* Fix Skeleton require

* Another Skeleton mistyping

* Fix phantom environment issues
2018-06-14 14:32:23 +08:00
minggo ca8eaf10fd remove unneeded package 2018-03-30 10:51:10 +08:00
minggo 02bc807ebf merge and fix conflict 2018-03-30 10:34:50 +08:00
pandamicro 9fdde9f676 Improve aliasify usage 2018-03-29 10:30:44 +08:00
minggo 6e37e154f5 JSB adaption 2018-03-26 10:54:09 +08:00
Jare Guo 6c809263e6 Merge 1.8 2018-02-24 14:58:57 +08:00
Jare Guo 03671db549 lock uglify-es for 1.8 2018-01-26 11:57:47 +08:00
Jare Guo 253b972d19 lock uglify-es 2018-01-25 15:10:29 +08:00
Jare Guo b31566d75f Merge 1.8 2018-01-09 18:40:43 +08:00
Jare Guo 2e2fd59193 add CC_SUPPORT_JIT macro 2018-01-03 22:58:37 +08:00
Jare Guo cc5dcab175 update uglify-es to fix regex problem (mishoo/UglifyJS2#2242) and inline problem 2017-12-30 15:14:55 +08:00
Jare Guo c068b98881 lock uglifyjs to new version 2017-12-28 19:49:39 +08:00
Jare Guo 7834448133 Merge branch 'v1.7'
# Conflicts:
#	cocos2d/core/load-pipeline/loader.js
2017-12-13 14:44:33 +08:00
Jare Guo dc798caa85 bump 2017-11-28 16:30:01 +08:00
Jare Guo e0cf0a1533 refine 2017-10-23 15:35:36 +08:00
Nan Wang f5a2ef50e9 update version to 1.6.0 2017-08-18 10:37:06 +08:00
Jare Guo 384cd9ee39 update gulp-uglify to v3 2017-07-24 16:31:46 +08:00
Jare Guo 35da9b5191 fix ci 2017-06-16 14:50:42 +08:00
Jare Guo 7abd7ebb1d update gulp-uglify 2017-06-14 16:51:11 +08:00
Nan Wang a9b7298e16 update version to v1.5 2017-05-19 10:22:59 +08:00
Nan Wang 32a90f5ad6 update api doc for anysdk and systemEvent 2017-05-16 17:35:38 +08:00
Jare Guo 96de0a1dd9 optimize engine startup time by wrapping IIFE 2017-05-05 13:39:11 +08:00
Nan Wang 9da09ecc1e add tooltips for physics collider and joint 2017-04-27 11:24:00 +08:00
Jare Guo 0bd31f0932 Merge commit 'be31191693322daf4f2cd5c25060502fa2fda0ca'
# Conflicts:
#	cocos2d/core/platform/CCClass.js
2017-04-07 10:37:08 +08:00
Jare Guo 7b660e8c9f add decorators for CCClass, add ES6 support for unit test 2017-04-01 16:27:11 +08:00
Nan Wang d9b5cef497 merge v1.4 2017-03-29 18:16:41 +08:00
pandamicro 133fe73563 Fix package name 2017-03-16 16:38:20 +08:00
Jare Guo 18befd0f5c compatible with gulp 3.9.1 2017-03-15 10:18:15 +08:00
pandamicro d741ec638d Use Uglify harmony instead of Uglify 2017-03-12 15:25:36 +08:00
Jare Guo 1f0b5503f0 Merge commit 'aaa2ac73b9dc0b05bf3d1b05342d10676e0ad432' into temp2
# Conflicts:
#	cocos2d/core/platform/CCClass.js
#	cocos2d/core/platform/CCView.js
#	cocos2d/core/platform/_CCClass.js
#	jsb/jsb-director.js
2017-03-02 14:30:09 +08:00
Nan Wang 36f1c9f174 update version to 1.4.1-beta.1 2017-02-24 15:37:06 +08:00
Nan Wang 62c7aa9440 update engine version 2017-02-17 18:04:34 +08:00