Commit Graph

8384 Commits

Author SHA1 Message Date
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
JoneLau 348dfd60a8 use pixel format in letter-font (#4992) 2019-07-26 15:36:05 +08:00
jiaxin.lai f24afe627c remove some function from cc.misc to cc.vmath (#4989) 2019-07-26 14:23:49 +08:00
jiaxin.lai e6eac2776d fix misc export (#4981)
* fix misc export

* Fix misc function import

* remove clampf、clamp01、lerp、degreesTORadians、radiansTODegrees wrapper
2019-07-26 13:57:42 +08:00
Yun Hsiao Wu 1fd6c04970 batched joints texture (#4988)
* joints texture pool

* batched joints texture
2019-07-26 13:55:20 +08:00
JoneLau fb6ca9f19a modify settings.json (#4986) 2019-07-26 13:47:23 +08:00
jiaxin.lai 5e2deb2a38 add phyiscs framework module, it need run npm build-rollup cmd in engine repo (#4983) 2019-07-26 11:13:50 +08:00
Leslie Leigh b0df97b04c use ESLint + @typescript-eslint instead of deprecated TSLint (#4976) 2019-07-26 10:12:57 +08:00
zxg0622 954025cc06 fix particlesystemcomponent ref error when node disabled (#4979)
* fix particlesystemcomponent ref error when node disabled

* add default value
2019-07-26 10:08:21 +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
Weiliang Wang e8646d4a50 modified some interfaces (#4974) 2019-07-24 20:12:11 +08:00
zxg0622 f7cc0ed701 fix particle init error when node disabled (#4972) 2019-07-24 19:22:17 +08:00
Yun Hsiao Wu 7f141f2a45 minor (#4971) 2019-07-24 18:38:13 +08:00
Yun Hsiao Wu faef51b893 fix skinning batch (#4970) 2019-07-24 17:11:44 +08:00
JoneLau 236f7290b6 fix the deletion error of rendered data when the ui node is deleted (#4960) 2019-07-24 15:26:31 +08:00
Weiliang Wang cdcacebfd2 fix translate() & rotate() bug (#4959)
fix translate() & rotate()
2019-07-24 12:11:24 +08:00
SijieWang 8da6ac6ea6 支持特殊字符 (#4957) 2019-07-24 11:13:01 +08:00
Weiliang Wang d2dee22d06 Merge pull request #4956 from YunHsiao/3d-v1.0.0
UI vertex calc opt
2019-07-24 10:23:48 +08:00
Yun Hsiao Wu 948255083c UI vertex calc opt 2019-07-24 10:17:58 +08:00
Weiliang Wang f20de53c93 implement a texture buffer pool (#4951)
* implement a texture buffer pool

* fix end of chunk
2019-07-23 18:26:30 +08:00
JoneLau 42cb5950e4 add block-input-events (#4950) 2019-07-23 18:26:08 +08:00
Santy-Wang aa94c7db90 encode uri (#4947) 2019-07-23 13:40:05 +08:00
JoneLau 6cd4d39ee5 fix graphics clear bug and mask caculation in onEnable (#4943) 2019-07-23 13:07:37 +08:00
jiaxin.lai 0ad7e4bf1b to decouple tween, for module division (#4939) 2019-07-22 18:16:28 +08:00
Yun Hsiao Wu 2935fc0e35 fix rigging data calculation (#4938) 2019-07-22 18:14:56 +08:00
Leslie Leigh e30883f5ed disallow specify physics module explicitly (#4937)
* disallow specify physics module explicitly

* update

* disable webgl2 if no gfx-webgl2 is found
2019-07-22 18:13:57 +08:00
jiaxin.lai 6bdd48da31 add allowSleep api to rigidbody (#4934) 2019-07-22 11:52:49 +08:00
Weiliang Wang d113447c86 remove useless code (#4936)
* remove useless code
2019-07-22 11:47:12 +08:00
yinkaile 4837a6a0b0 Revert "refine node.updateWorldTransform" (#4931)
This reverts commit 654e850409950651ee49286060794df78ca2edf7.
2019-07-21 16:05:27 +08:00
jiaxin.lai 484c75ed71 Fix build engine on rollup (#4928) 2019-07-21 01:21:31 +08:00
Weiliang Wang 72b1155a02 optimize samplerLib.getSampler() (#4930)
* optimize samplerLib.getSampler()

* fix sampler state value
2019-07-21 01:21:01 +08:00
yinkaile 345ee7ed85 3d v1.0.0 (#4929)
* refine node.updateWorldTransform

* refine sprite simple assembler
2019-07-20 16:50:26 +08:00
pandamicro b1ec962a9b Remove reorder logic during walk (#4926)
* Move _uiComp from base-node to node

* Do not reorder during walk, reorder within ui component

* tweaks
2019-07-20 16:06:58 +08:00
Leslie Leigh 41f82bff48 little optimize (#4927) 2019-07-20 16:02:57 +08:00
Leslie Leigh e561b38ab1 optimize samplerCurves() (#4925) 2019-07-20 14:43:56 +08:00
pandamicro 2763dfc060 Remove 'for of' for array and add node._uiComp for caching (#4923) 2019-07-20 14:17:46 +08:00
ChiaNing 634aefb50f EventManger update (#4919) 2019-07-20 11:23:11 +08:00
Santy-Wang ec61bdc419 avoid reusing scene asset (#4921) 2019-07-20 11:07:14 +08:00
Yun Hsiao Wu 56192c6267 unified default joints texture (#4922) 2019-07-20 11:05:35 +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
Yun Hsiao Wu 68d6ee70fd fix batched skinning model (#4912) 2019-07-18 17:53:59 +08:00
jiaxin.lai 117b76bb35 Fix bug of samepleEvents in animation-state.ts (#4909) 2019-07-18 14:20:42 +08:00
Weiliang Wang 2c366812cc fix null value read when model without bounding box (#4908) 2019-07-18 13:12:50 +08:00
Santy-Wang c5234574d5 store the native file (#4905) 2019-07-18 10:58:18 +08:00
JoneLau bb56b0e316 modify profiler show (#4904) 2019-07-18 10:57:55 +08:00
Weiliang Wang db12f03059 Revert "module division (#4897)" (#4906)
This reverts commit 78247a0d2f.
2019-07-18 10:45:44 +08:00
jiaxin.lai 194125b70f wakeup body if change state of the body (#4902) 2019-07-18 09:27:50 +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 02bdf2f79b simplified approach for rigging data (#4903) 2019-07-18 09:24:03 +08:00
Yun Hsiao Wu 29e93e55fe rigging non-skinning renderables (#4901) 2019-07-17 17:35:21 +08:00