Commit Graph

99 Commits

Author SHA1 Message Date
Leslie Leigh 397168d122 update gen decls (#5166) 2019-08-16 00:34:25 -05:00
ChiaNing e5b875da28 build-api-default delete (#5107) 2019-08-06 18:39:38 +08:00
ChiaNing fa46670fda typedoc plugin update (#5095) 2019-08-05 19:07:38 +08:00
Yun Hsiao Wu c100ad41e9 fix node dirty bit (#5083) 2019-08-05 14:52:16 +08:00
Leslie Leigh b0df97b04c use ESLint + @typescript-eslint instead of deprecated TSLint (#4976) 2019-07-26 10:12:57 +08:00
pandamicro 1380e46c34 Unittest (#4973)
* unit test for ts

* Fix ts-jest warnings

* Remove puppeteer for now

* fix physics define and jest config for windows

* Replace Node ref with INode ref

* Fix ci issue

* Fix

* tweak

* tweak

* Fix vscode launcher

* now physics framework export all physics component (#28)

* tweaks
2019-07-25 17:15:20 +08:00
Leslie Leigh c17f28201d module division 2 (#4907)
* module division

* update

* update

* small fix

* allow co-existing of physics modules

* update

* upgrade rollup-plugin-node-resolve

* refine build engine cli

* fix

* upgrade rollup plugin commonjs

* fix

* mark physics module as required
2019-07-19 16:12:45 +08:00
Weiliang Wang db12f03059 Revert "module division (#4897)" (#4906)
This reverts commit 78247a0d2f.
2019-07-18 10:45:44 +08:00
Leslie Leigh 78247a0d2f module division (#4897)
* module division

* add animation component

* fetch changes

* dev

* typo
2019-07-18 09:27:02 +08:00
jiaxin.lai fc178a2fdd Add cc tween (#4847)
* add tween.js

* add CCTween
2019-07-10 09:52:38 +08:00
Leslie Leigh 9a958514a0 manually sync 3d-v1.0.0 from 3d (#4817) 2019-07-04 16:06:43 +08:00
Leslie Leigh a3ce76271f update tfig (#4785) 2019-07-02 11:17:56 +08:00
Leslie Leigh 4b802a9273 sync ccclass from creator v2.2.0 (#4719)
* sync ccclass from creator v2.2.0

* ccclass fixes
2019-07-01 14:54:15 +08:00
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