Commit Graph

9116 Commits

Author SHA1 Message Date
pandamicro 276a7f200a Partial API translation for core and related tweaks (#6534)
* Event api translation

* Event manager API translation

* Macro cleanup and API doc improve

* Code cleanup and API translation in core/platform,

* Use macro.ENABLE_WEBGL_ANTIALIAS for initialization

* tweak

* Improve singleton ref in view

* Fix ci

* Export sys without default
2020-04-16 11:38:24 +08:00
zheng han 12e1e20fb3 1. emit node removed event after component removed event (#6557) 2020-04-15 21:39:58 +08:00
cary 0802dd38d0 Modify the size module of GPU particles to be discrete. (#6535)
* Modify the size module of GPU particles to be discrete.

* add multipler

* fix editor error

* commit effect.ts
2020-04-15 21:32:33 +08:00
ChiaNing 8c41b79aec label baseline add (#6526)
* label baseline add

* baseline change in runtime
2020-04-15 17:55:11 +08:00
jiaxin.lai 0fe353c517 enable retina & resize for splash screen (#6547)
* enable retina & resize for splash screen

* using user settings if exist
2020-04-15 17:44:40 +08:00
JoneLau 61a5a07051 fixed a bug where clicking to change color did not work (#6558)
Fixed bug where you could click to directly modify the “_val” property of color and skip detection of UI rendering data changes
2020-04-15 17:43:46 +08:00
King Wang 3ceb44b347 Mask isHit issue when type===GRAPHICS_STENCIL (#6548) 2020-04-15 17:42:23 +08:00
cary 217989fd33 Fix multi touch disable is invalid when touch event on SystemEvent. (#6551) 2020-04-15 17:41:55 +08:00
Yun Hsiao Wu fe46a6c973 should trigger camera matrix update onEnable (#6561) 2020-04-15 17:02:47 +08:00
Yun Hsiao Wu 3bedccdeaa fix skinning model type when not enabled immediately (#6542)
* fix skinning model type update

* unbatch util

* camera property display order

* fix model type order
2020-04-14 12:47:58 +08:00
ChiaNing ec34f5970b multi touch bug fix (#6541) 2020-04-13 21:24:58 +08:00
Santy-Wang dde8ae72f3 fix format error of compressed texture (#6538)
Co-authored-by: pandamicro <lphuabin@gmail.com>
2020-04-13 21:24:15 +08:00
jiaxin.lai 5530c72706 minor refactor physics framework (#6518)
* refactor framework

* tweaks
2020-04-13 16:25:55 +08:00
Yun Hsiao Wu 9e7c3097ba unified gfx base class (#6521)
* unified gfx base class

* restore base virtual functions
2020-04-13 10:36:00 +08:00
Leslie Leigh (李的序) 4120d6d2cb Fix that manually set .playOnLoad takes on effect under some case (#6514) 2020-04-12 20:00:42 +08:00
jiaxin.lai e68bee6cc7 en api docs of tween (#6468)
* rebase

* fix comma
2020-04-12 19:59:08 +08:00
jiaxin.lai 0f422bdc8e fix type of ITweenOption (#6533) 2020-04-12 19:36:21 +08:00
Leslie Leigh (李的序) 94a59d9afb Suppress some run-time warns (#6524) 2020-04-10 18:19:04 +08:00
cary a2d1784df3 Fix uimodel error and some editor problems. (#6511)
* Fix uimodel error and some editor problems.

* delete max and min count

* mask trail mode field

* add enable detection

* add deprecated
2020-04-08 22:15:27 +08:00
Yun Hsiao Wu 34686586b1 update skybox effect (#6509) 2020-04-08 16:33:13 +08:00
pandamicro 57dac135c3 Merge pull request #6508 from cocos-creator/3d
Merge terrain fixes
2020-04-08 14:13:47 +08:00
pandamicro 2c0ecdd87d Fix typo when modify component scheduler (#6505)
* Fix typo in node activator

* Cleanup game.ts
2020-04-08 10:44:46 +08:00
cary cc015e746e Add GPU particle renderer. (#6462)
* Add GPU particle renderer.

* refine code

* fix ci

* optimize the code

* refine code

* delete some if judgments

* fix strength billboard

* modify uniform update

* update uniform in editor

* fix api and some code specification

* fix uniform set
2020-04-08 10:44:08 +08:00
Leslie Leigh (李的序) 6f377ab517 Animation bug squash (#6498)
* Animation bug squash

* Fix

* Update animation-component.ts
2020-04-07 20:56:11 +08:00
ChiaNing 7bd26dc52f subpack bug fix (#6504) 2020-04-07 20:15:55 +08:00
Leslie Leigh (李的序) e6817a19aa Optimize animation (#6502)
* Optimize animation

* Update

* Update
2020-04-07 20:15:03 +08:00
媛媛 3ed2403151 fix serialize of spriteFrame in compress mode (#6499) 2020-04-07 18:16:44 +08:00
Yun Hsiao Wu d9ebca6ed7 should update FOV when set FOV axis (#6503) 2020-04-07 18:13:49 +08:00
Yun Hsiao Wu 89a43b50e8 camera FOV axis (#6501)
* fov axis

* deprecation
2020-04-07 17:49:52 +08:00
Yun Hsiao Wu 69559edb79 misc skinning model fixes (#6497)
* disable the source node after static batching

* disable the components instead

* fix joint texture release
2020-04-07 16:51:04 +08:00
jiaxin.lai d78e1018e7 capsule collider refactor (#6484)
* capsule collider refactor

* add deprecated
2020-04-07 11:42:23 +08:00
Yun Hsiao Wu 9925844829 better docs (#6496) 2020-04-07 11:36:12 +08:00
Leslie Leigh (李的序) b63bc2cb54 Optimize constant curve cache (#6489) 2020-04-05 16:26:40 +08:00
Leslie Leigh (李的序) 3d6d172a56 Optimize when cross fade from "initial pose" (#6488) 2020-04-05 16:23:24 +08:00
cary 6b98b1f41b Fix gl crash caused by Model destruction. (#6482)
* Fix gl crash caused by Model destruction.

* refine code

* add semicolon
2020-04-05 16:22:24 +08:00
jiaxin.lai 7bcb4cc352 en api docs of physics (#6467)
* add en api docs of  physics module

* docs for physics

* docs

* tweaks

* tweaks

* wording
2020-04-05 16:20:11 +08:00
Myway 7ab3ca9284 修复插值计算的错误 (#6490) 2020-04-05 16:18:59 +08:00
pandamicro 85e1fc4b37 Improve component scheduler performance (merge from 2.x) (#6481)
* Improve component scheduler performance (merge from 2.x)

* Fix ci

* Improve component scheduler logic
2020-04-05 14:19:13 +08:00
Leslie Leigh (李的序) 40dfc01a98 Animation state bug fix (#6478) 2020-04-03 19:04:54 +08:00
Yun Hsiao Wu 172ab2fde7 don't restrict UBO update to once per frame (#6485) 2020-04-03 16:57:35 +08:00
Leslie Leigh (李的序) 90064d6759 Update built-in effects (#6469) 2020-04-02 23:11:36 +08:00
Yun Hsiao Wu 5267f8bf68 simpler animation clip hash (#6479) 2020-04-02 23:03:13 +08:00
ChiaNing 6eb83e0d88 node event bug fix (#6473) 2020-04-02 11:55:34 +08:00
Myway 64a98c1a69 修复资源导出时,重复创建layer问题 (#6457) 2020-04-01 13:47:59 +08:00
jiaxin.lai 30ed2e3d34 webgl splash screen adapt for xiao mi (#6455)
* splash screen adapt for xiao mi

* adapt for native ios & mac

* revert
2020-04-01 13:42:30 +08:00
ChiaNing 194c1ae08c sys.os match bug fix (#6463)
* sys.os match bug fix

* update
2020-04-01 13:17:20 +08:00
Leslie Leigh (李的序) aba3d15953 Reduce @babel/plugin-transform-classses (#6465) 2020-04-01 12:52:39 +08:00
Yun Hsiao Wu d8c16d72fb better anim data prep (#6460) 2020-04-01 12:15:51 +08:00
jiaxin.lai febd4971d0 Fix cannon body aabb update (#6450)
* fix cannon body aabb update

* tweaks
2020-03-31 16:53:11 +08:00
Yun Hsiao Wu 1b365e7698 fix joint texture layout (#6453) 2020-03-31 16:50:34 +08:00