Commit Graph

93 Commits

Author SHA1 Message Date
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
jiaxin.lai faa7094cf8 add some typing to interface of INode (#4984)
* add some typing to interface of INode

* fix INode childern typing

* add Mutable type, for change Readonly type

* decouple node with ui relative component

* add missed ui component, and decouple node

* add more typing to IBaseNode and INode
2019-07-26 17:56:55 +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
JoneLau 42cb5950e4 add block-input-events (#4950) 2019-07-23 18:26:08 +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
Yun Hsiao Wu 24fc221fee skeletal bounds (#4891) 2019-07-17 11:28:52 +08:00
Yun Hsiao Wu 6aab2566b4 GPU animation clip (#4890) 2019-07-17 10:19:09 +08:00
Yun Hsiao Wu f03df0bb39 skeletal animation clip (#4882) 2019-07-16 10:36:13 +08:00
JoneLau 6b1b79cc12 replace example (#4846) 2019-07-09 18:10:37 +08:00
jiaxin.lai 2321d6f98d fix function signature of lateupdate (#4837)
* fix function signature of lateupdate

* update api doc
2019-07-08 18:56:17 +08:00
SijieWang dccba47aba Restrict menu locations within scripts (#4839) 2019-07-08 18:30:22 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
Leslie Leigh b5623dee6a add reset() to Mesh and Texture (#4745)
* add reset() to Mesh and Texture

* use tag deprecated

* typo
2019-06-28 16:17:00 +08:00
Leslie a1021e3776 AnimationComponent APIs: remove currentPlaying; add pause(),resume(),stop(); unify the semantic of play() and crossFade() 2019-06-27 15:37:49 +08:00
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +08:00
Leslie Leigh c5b5afc8a7 Category for value-types and animations (#4704) 2019-06-26 09:57:21 +08:00
Leslie Leigh 00d0495eaa bug fix (#4674)
* bug fix

* Update animation-component.ts
2019-06-24 10:17:15 +08:00
Leslie Leigh fac20f8df1 bug fix; typing loadres (#4664) 2019-06-21 09:35:20 +08:00
ChiaNing 408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +08:00
jiaxin.lai 80ff98ef24 Revert the visble vaule to false, this is editor bug fix (#4637) 2019-06-18 09:27:28 +08:00
jiaxin.lai 7e3d099993 Fix component enable property decorator (#4632) 2019-06-17 10:03:29 +08:00
ChiaNing f49bd31a22 Format adjustment for api doc (#4618) 2019-06-14 09:22:43 +08:00
SijieWang 4a39ee361f Generate the actual uuid in the id generator (#4612) 2019-06-13 17:31:04 +08:00
SijieWang babb37de50 支持 EditorExtends 内的 Node 和 Component 管理器 (#4588)
* 支持 EditorExtends.Script  记录脚本内注册的所有 class

* Remove Component._addMenuItem

* 组件和节点支持 EditorExtends
2019-06-12 09:43:00 +08:00
ChiaNing 74fc5b23c3 fix Doc Tag error (#4589) 2019-06-11 16:55:44 +08:00
Leslie Leigh 25660046fb make cubic spline lerp as custom lerp; animation documents (#4577) 2019-06-11 10:23:09 +08:00
ChiaNing fcd6801d4d component doc (#4580) 2019-06-10 18:15:51 +08:00
Leslie Leigh af95f05f31 support all ValueType lerp; fix errors (#4565) 2019-06-10 12:57:06 +08:00
JoneLau 4767be9e82 add ui api (#4567) 2019-06-06 19:25:28 +08:00
jiaxin.lai 7b2a09330a remove this.node.on in animationComponent on func (#4464) 2019-05-21 15:17:09 +08:00
Leslie Leigh 70ee2668c7 fix animation event bug (#4462) 2019-05-21 13:08:43 +08:00
jiaxin.lai 60df1a6da9 Fix animation event (#4452) 2019-05-19 01:37:22 +08:00
Leslie Leigh 7f5d84116f support animation event (#4445) 2019-05-17 16:04:11 +08:00
pandamicro 955f414a60 Fix circular deps (#4427) 2019-05-16 10:30:21 +08:00
gameu3d f7db3108ab 1.fix systemEvent bug and export systemEvent (#4423)
2.fix import problem in ts
2019-05-15 19:07:34 +08:00
pandamicro 449f0f9425 Improve EventTarget to avoid duplicated implementation (#4415)
* Fix  clip type property issue

* Fix small issues

* Improve EventTarget to avoid duplicated implementation

* Fix merge issues
2019-05-15 10:35:58 +08:00
ChiaNing fbbf5366ac Some core code modify to TS(assets/ & components/) (#4418) 2019-05-14 18:37:08 +08:00
JoneLau 5a386147f6 adjust partial ui api (#4385) 2019-05-07 14:14:17 +08:00
SijieWang 6d9d5d1a37 fix component ctor bug (#4375) 2019-05-06 13:11:10 +08:00
Leslie Leigh 3ce0c49632 fix build error; re-create animation states when clips are reset (#4374)
* fix build error

* re-create animation states when clips are reset
2019-05-06 13:05:03 +08:00
Leslie Leigh a692ef793c remove preview of animation-comp; opt anim blend; disable warning 3616 (#4316)
* remove preview of animation-comp; opt anim blend; disable warning 3616

* opt again
2019-04-26 18:35:02 +08:00
Leslie Leigh ac28e13c4b Opt anim (#4278)
* pause and stop

* anim struct opt
2019-04-23 16:31:34 +08:00
Leslie Leigh 91572a616c fix typing problems (#4275) 2019-04-23 16:29:40 +08:00
jerrywwl a7a96e26e1 Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-04-16 11:33:09 +08:00
jerrywwl 009f317c23 fix mesh loading on wechat 2019-04-16 11:33:03 +08:00
Leslie Leigh 6ce01cd0be remove animation-animator; remove pause, resume, stop, setTime, sample API of animation-component (#4212)
* remove animation-animator; remove pause, resume, stop, setTime, sample API of animation-component

* anim preview
2019-04-14 00:59:19 +08:00
Leslie Leigh 19e615f577 Animation weight and blending (#4199)
* remove cc.xx

* animation: weight and blending
2019-04-12 18:29:42 +08:00
Leslie Leigh 7821f8f575 typing (#4182) 2019-04-10 15:42:24 +08:00