Commit Graph

86 Commits

Author SHA1 Message Date
JoneLau 2b56b8c37b adjust core to avoid babel packing errors (#4731) 2019-06-27 17:56:54 +08:00
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +08:00
Leslie Leigh a5955b1c70 update tfig (#4702) 2019-06-25 17:25:58 +08:00
jiaxin.lai cb2786a789 Physics enegine event refactor (#4675)
* update cannon.js & cannon.js declaration

* plugin cannon.js collsion event & provide contacts(testing for now)

* wrap cannon body impl

* add linear\angular factor to rigidbody component

* add awake sleepy sleeping state query get property

* add apply local force/impulse function to rigidbody component

* add builtin macro protection

* add linear/angular veloctiy function to rigidbody component

* delete some unneed code, enable allowSleep by default

* event refactor, trigger emit by shape, collision emit by rigidBody

* Builtin system also need 'beforeStep'
2019-06-24 18:32:00 +08:00
ChiaNing 8eb45b5819 typedoc-plugin update (#4662) 2019-06-20 16:18:39 +08:00
Leslie Leigh c8aa3e560c rename EventType to SystemEventType; optimize EventListener's method … (#4496)
* rename EventType to SystemEventType; optimize EventListener's method declarations in derived class

* fix

* line break

* line

* update tfig
2019-05-24 16:56:40 +08:00
Leslie Leigh 3b887c202f remove unused setter (#4471)
* remove unused setter

* fix import

* update tfig
2019-05-22 13:32:51 +08:00
Yun Hsiao Wu 2985392d34 fix pass (#4435) 2019-05-16 17:44:25 +08:00
gameu3d 6447713586 export macro (#4429)
* export macro

* upgrade tfig version
2019-05-16 11:35:23 +08:00
Arsen Huang d7b678f777 增加生成 d.ts 到 declarations 目录 (#4398) 2019-05-09 18:09:13 +08:00
Leslie Leigh 594f151f16 export animation, update gift (#4379) 2019-05-07 14:12:43 +08:00
Leslie Leigh 91be7ed497 .d.ts bundle (#4376) 2019-05-06 14:48:12 +08:00
JoneLau cbeec544be adjust code and fix error in document creation (#4368) 2019-05-06 12:59:11 +08:00
ColinCollins 1ea12992e4 adjust 3d-api-docs generate function name and content (#4360) 2019-05-05 09:59:45 +08:00
ColinCollins 4927584e45 fixed catch grammar error and increase a default build command (#4333) 2019-04-28 17:44:44 +08:00
ColinCollins a2d9dbff38 3d-docs building workflow (#4300) 2019-04-26 14:17:26 +08:00
Leslie Leigh 91572a616c fix typing problems (#4275) 2019-04-23 16:29:40 +08:00
Yun Hsiao Wu 2e27981e35 misc fix (#4269) 2019-04-22 14:51:07 +08:00
ColinCollins 78e9a3d13f create the docs-3d build workflow (#4232) 2019-04-17 19:29:38 +08:00
Leslie Leigh 086aab4614 use build engine cli instead of config.js (#4230) 2019-04-17 14:48:15 +08:00
Leslie Leigh d7aaaa7397 remove webgl-debug (#4083) 2019-03-22 10:44:47 +08:00
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