Commit Graph

697 Commits

Author SHA1 Message Date
jiaxin.lai 4f142eea67 fix splash screen for webgl2 (#6064)
* fix splash screen webgl for webgl2

* setup attribute for webgl context

* copy from bug fix for xiaomi (#6067)
2020-01-10 21:33:14 +08:00
ChiaNing c55a382a82 bug fix for xiaomi (#6067) 2020-01-09 17:59:53 +08:00
jiaxin.lai 24102ee8cc splash screen webgl impl (#6058)
* splash screen webgl impl

* rename initRenderer2 to initRenderer
2020-01-08 19:09:14 +08:00
zxg0622 fe92dfe151 fix editor scene window is black before scene loaded (#6059) 2020-01-08 18:45:52 +08:00
zxg0622 7e26112852 fix modelcomponent attach scene bug (#6056) 2020-01-08 15:50:14 +08:00
JoneLau 7e5bfd67d5 recalculate when camera is updated (#6048) 2020-01-08 12:59:54 +08:00
Leslie Leigh (李的序) bdcc94bd33 Circular reference (#6050) 2020-01-08 12:38:40 +08:00
Yun Hsiao Wu b251999511 swap chain consistency before pause (#6047) 2020-01-08 11:31:40 +08:00
Yun Hsiao Wu f5652eee61 cleaner audio types (#6037)
* cleaner audio types

* clear unused binding
2020-01-06 16:51:54 +08:00
Yun Hsiao Wu 4c87e45539 fix stencil mask default constant (#6032) 2020-01-05 16:40:28 +08:00
JoneLau 2f22deca33 fix wrong spelling and remove repeat code (#6030) 2020-01-04 14:47:54 +08:00
JoneLau ea700afb50 fix coordinate replace function (#6025)
save
2020-01-04 11:22:14 +08:00
Yun Hsiao Wu 88dac32d85 fix skel anim bounds reuse (#6028) 2020-01-04 08:34:01 +08:00
Yun Hsiao Wu 6f37ef31a9 fix profiler init proc (#6009) 2019-12-31 09:59:00 +08:00
pandamicro f9f7171c4c Fix director.root not initialized in splash image (#6006) 2019-12-30 17:50:59 +08:00
JoneLau 5d0506b443 fix spriteframe code behavior inconsistencies and adjust code (#6003) 2019-12-30 17:13:42 +08:00
Yun Hsiao Wu 997bb7edd3 better profiler size calculation (#5998)
* better profiler size

* restore batching status when destroying model
2019-12-30 16:06:05 +08:00
pandamicro ad8bce8b2a Correct fix to renderbufferStorage depth format (#5996)
remove
2019-12-28 17:01:38 +08:00
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 845871214c fix circle code (#5991) 2019-12-28 14:06:22 +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 (李的序) 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
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
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
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
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
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
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