Commit Graph

8903 Commits

Author SHA1 Message Date
pandamicro 4cddf3af3d Fix depth component constant not exist in WebGL issue (#5995) 2019-12-28 16:33:31 +08:00
ChiaNing d0cb5a8be3 engine load fix (#5993)
* engine load fix

* renderPipeline config fix

* bug  fix

* event remove
2019-12-28 16:14:55 +08:00
zxg0622 24e8103051 fix render pipeline init error (#5994) 2019-12-28 16:12:12 +08:00
JoneLau 1d09097b41 migrate editbox from creator (#5992) 2019-12-28 15:57:42 +08:00
JoneLau 845871214c fix circle code (#5991) 2019-12-28 14:06:22 +08:00
JoneLau 098e72b8c9 fix bad usage in label canvas pool (#5984) 2019-12-27 21:41:49 +08:00
pandamicro efd8cfe388 Update engine version (#5989) 2019-12-27 21:30:04 +08:00
Yun Hsiao Wu 5cc98d91f4 log about texture buffer pool format (#5988) 2019-12-27 19:21:53 +08:00
Leslie Leigh (李的序) f2f8da8cbb Special process for implementation of animation of uniform component (#5980)
* Special process for implementation of animation of uniform component

* Fix serialization issue
2019-12-27 18:50:39 +08:00
Leslie Leigh (李的序) eaf1e84870 Optimize partial object animation (#5981) 2019-12-27 18:50:25 +08:00
jiaxin.lai 21cc4351c6 builtin_capsule_collider (#5970)
* add bouding capsule

* add builtin capsule collider

* add apater for capsule shape

* fix circular dependency

* fix typing

* fix capsule_capsule algorithm

* api doc tweaks

* fix ci
2019-12-27 18:11:44 +08:00
zxg0622 cd777802f8 add static batch (#5976) 2019-12-27 18:10:09 +08:00
pandamicro 2198ee72d6 Fix animation data decode with ArrayBufferView (#5977) 2019-12-26 20:38:12 +08:00
JoneLau d78c914b71 fix cannot set property color of graphics which has only a getter (#5972) 2019-12-26 18:12:22 +08:00
JoneLau 077cc5e5bc support invert mask (#5961)
* support invert mask

* fix bug

1. fix stencil no effect in material instance
2. fix the value of hit area
2019-12-26 17:31:22 +08:00
zxg0622 395ab9fb41 fix some bug (#5974) 2019-12-26 16:59:47 +08:00
pandamicro 7a26eb2150 Merge pull request #5973 from cocos-creator/3d-v1.0.2
Merge 3d-v1.0.2 to 3d
2019-12-26 15:53:06 +08:00
Leslie Leigh (李的序) 5af34b3a1b Add build-engine options --watch-files (#5966) 2019-12-26 15:44:04 +08:00
Leslie Leigh (李的序) afd62241c4 Support of partial property animation. (#5818)
* Partial property animation

* Optimize easingMethods storage

* Fix

* Fix CI error
2019-12-26 15:04:46 +08:00
JoneLau 24c849ea52 fix elastic failure (#5958) 2019-12-26 14:32:16 +08:00
zxg0622 39a7fbdd89 refactor material instance (#5910)
* refactor material instance

* revert setMaterial signature

* fix some defects

* material instance using inheritance (#5)

* material instance using inheritance

* renderable component

* more fixes (#6)

* more fixes

* minor

* fix some defects

* fix batching (#7)

* better format (#8)

* fix

* fix batching & skybox (#9)

* fix skinning (#10)

* change sharedMaterial decorator

* add modelcomponent property deprecated

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2019-12-25 17:41:04 +08:00
jiaxin.lai 87c6b9bda4 Ammo-Wrapper (#5954)
* basic physics abstract spec

* spec tweaks

* stash

* cannon refactor

* builtin refactor

* cannon wrapper & framework tweaks

* hiding, wait for 1.0.3

* delete unneed code

* export CANNON

* rebase

* rename stash

* rename I-rigid-body to i-rigid-body

* stash

* stash

* cannon refactor

* cannon wrapper & framework tweaks

* remve unneeded code

* wrap,....hack

* demo impl

* stash

* stash, complete dynamics update

* dynamic update center

* stash, size + center

* tweaks, fix share trigger shape

* tweaks

* stash

* ammo events stash

* tweaks

* stash

* complete ammo events

* tweaks

* stash

* body property, stash

* body , stash...

* tweaks

* tweaks

* tweaks

* ammo tweaks

* stash

* stash

* tweaks

* tweaks

* stash,complete tirgger,body、 ghost etc.

* tweaks

* remove unneeded code

* fix api of angluar velocity

* physic material for single body for now

* ray test stash

* stash

* update ammo version

* impl raycast

* impl group mask

* update ammo version

* update ammo package

* add onDestroy to ammo rigid body

* add protected for temporary

* fix allow sleep

* remove unneed code

* shape tweaks

* stash

* rename spahe to shape

* tweaks

* fix damping

* adapt

* reset state after disable & enable

* export ammo.js

* Revert "cannon wrapper & framework tweaks"

This reverts commit e59ea98c0bd8c23b23e9ee428ddce45d0271f1eb.

* update @cocos/ammo version

* fix applyLocalTorque

* tweaks

* beta version

* fix import i-rigid-body

* delete unused file

* Specification function name
2019-12-25 17:34:12 +08:00
jiaxin.lai f27d80d337 update cannon version to 1.0.5 (#5955) 2019-12-25 12:27:51 +08:00
Leslie Leigh (李的序) 7e2ec4f0f8 Fix that Quat constructor misbehaves when argument w is 0 (#5957) 2019-12-25 12:27:29 +08:00
ChiaNing b6985161fa add cocosplay for build (#5959) 2019-12-25 11:11:13 +08:00
GengineJS 7f982324d5 [Feature] Remove the condition judgment of isbuffer from cocos/core/data/deserialize class (#5934) 2019-12-24 16:18:53 +08:00
Myway fcc773db71 Terrain fix and lod (#5939)
* 修复地形显示bug及一些规范

* 实现lod算法
2019-12-24 11:01:51 +08:00
ChiaNing 51d9286f2a add JSB_AUDIO type in audioType (#5949)
* add JSB_AUDIO type

* change audio type
2019-12-24 10:57:26 +08:00
JoneLau 1f88eb3251 effect clearColor in alpha channel (#5941) 2019-12-23 23:49:15 +08:00
JoneLau 7fc9bdefc0 add file of additional properties and transparency downward (#5948)
* add file of additional properties and transparency downward

* remove unless function
2019-12-23 23:46:59 +08:00
jiaxin.lai 1d14c0bc93 refactor_tween (#5794) (#5943)
* refactor_tween (#5794)

* copy from master branch cocos2d actions

* tweaks & stash

* tweaks

* stash

* stash

* tweaks

* fix repeatForever init

* fix repeat、repeatForever、reverseTime

* add elastic out in to easing

* add typing

* add adapter & checker;
add api doc;

* tweaks

* fix tween number

* tweaks

* tweaks

* remove tween.js

* rename actions to tween

* export Tween

* allow mutiple remove action

* using new api

* remove deprecated from tween

* add deprecated to tweenUtil

* fix ci test
2019-12-23 16:22:48 +08:00
Yun Hsiao Wu 3513319c1e copyBuffersToTexture using ArrayBufferViews (#5945) 2019-12-23 16:10:46 +08:00
JoneLau 25636a620b fix text width larger than actual width in shrink mode (#5887) 2019-12-20 16:39:44 +08:00
ChiaNing eee70ff5cb open VAO for CocosPlay (#5935)
* open VAO for CocosPlay

* fix CI

* loadRuntime  fix
2019-12-20 16:08:08 +08:00
Leslie Leigh (李的序) 65254f2026 Fix bug when reset ImageAsset with raw data (#5933) 2019-12-20 16:05:47 +08:00
JoneLau 5de46c1ede auto require uitransform (#5925) 2019-12-20 16:04:57 +08:00
Leslie Leigh (李的序) c394f27923 Fix compatibility with old-school cc.Class() (#5936) 2019-12-20 15:01:59 +08:00
Yun Hsiao Wu 6edf4123ef shader version should be specified inside gfx (#5932) 2019-12-20 11:50:17 +08:00
ChiaNing 5ed3467910 Add the switch of multi-touch (#5928) 2019-12-19 19:21:07 +08:00
JoneLau 12aca7d4a4 convert coordinate from 3d camera to ui (#5896) 2019-12-19 15:05:37 +08:00
Yun Hsiao Wu 0cd08e8441 fix web audio stop before play (#5927) 2019-12-19 15:02:28 +08:00
JoneLau dfd752b8ce add compEventType in component (#5894) 2019-12-19 15:00:11 +08:00
Leslie Leigh (李的序) 86636442cf Kill INode & IBaseNode (#5893)
* Remove INode, IBaseNode

* Fix

* Fix types error

* Update
2019-12-19 14:17:14 +08:00
JoneLau 6779889729 add type in rendertexture (#5918) 2019-12-18 22:00:08 +08:00
JoneLau 18acba1d0e fixed image gap in scrollview (#5911) 2019-12-18 21:26:56 +08:00
Leslie Leigh (李的序) cdaa8e3c3a Typo correctness for some UI files (#5845) 2019-12-18 21:26:31 +08:00
Yun Hsiao Wu 0f12fb11e4 move data conversion out of animation clip (#5922)
* move data conversion out of animation-clip

* pre sample switch on skeletal anim comp
2019-12-18 18:47:45 +08:00
pandamicro b5cb873e48 Revert "Remove Buffer usage in editor (#5919)" (#5923)
This reverts commit c77a63dd99.
2019-12-18 16:11:28 +08:00
JoneLau aa8e38b05c support for graphics mask (#5913) 2019-12-18 15:58:31 +08:00
ChiaNing 70f13f7cb6 api doc update (#5909) 2019-12-18 15:42:26 +08:00