Commit Graph

17466 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) f3c0ffbcf4 Fix compiled deserialize (#8983) 2021-07-15 15:02:27 +08:00
黄森斌 e4c5e354fe modify hideInEditor to editor.hide (#8979) 2021-07-15 14:56:55 +08:00
黄森斌 712ce4c79a update internal db prefab meta (#8980) 2021-07-15 14:51:07 +08:00
zxx43 6b6ce3085d V3.1.2 particle2d bug fix (#8924)
* fix particle 2d bugs

* fix arc spread & arc speed bug

* fix textureModule switch bug

* hide set get color & formerlySerialize preview

* revert blend factor

* remove _dict

* revert _updateWorldAlpha
2021-07-15 12:12:09 +08:00
cary 72cd90d8de Fix lighting error of deferred pipeline. (#3719) 2021-07-15 11:20:37 +08:00
mmyduckx 042149da3b Spine z rotation (#3717) 2021-07-15 10:38:19 +08:00
ref-ptr d7181c8dc2 Add api to copy texture to cpu memory (#3710) 2021-07-15 10:26:50 +08:00
Leslie Leigh (李的序) 705c977fc9 Binary serialization (#8946)
* Binary serialization

* Update snapshots

* Update

* rename option ccon -> useCCON

* Missing script

* encodeCCONJson: chunks -> chunkURLs

* Update

* (de)serializeSymbol -> (de)serializeTag;

* CustomizedSerializable -> CustomSerializable

* _deserializePrimitiveObject -> _fillPlainObject

* Unify CCClass CCClassConstructor

* encodeCCONJson -> parseCCONJson

* Custom serializable

* Move (de)serializeSuper(This) from context into global

* property -> read(write)Property; (de)serializeThis(Super) -> (read)writeThis(Super)

* CI and lint

* Mock cc env
2021-07-15 10:21:25 +08:00
cary 5b9211b0d4 Fix some issues of deferred pipeline. (#3716) 2021-07-14 17:10:13 +08:00
cary cc9b75eaad Add custom material processing and pipeline type for pipeline. (#8418)
* Add custom material processing and pipeline type for pipeline.

* fix ci

* delete pipelinetype and add deferred pipeline scene data

* rename mat

* fix forward error

* modify native adapter
2021-07-14 17:08:04 +08:00
Cocos Robot 75c7819ade [ci skip][AUTO]: updating jsbinding automatically: fcb82a20 (#3712)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-07-14 10:21:31 +08:00
江战 fcb82a20d6 Add BigInt to se::Value (#3706) 2021-07-14 09:48:52 +08:00
Cocos Robot cad7c02a67 [ci skip][AUTO]: updating jsbinding automatically: 3e568df2 (#3711)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-07-14 09:35:15 +08:00
troublemaker52025 9854f33225 fix shadow problem for v3.3.0 (#8916) 2021-07-14 09:26:38 +08:00
troublemaker52025 3e568df2ed fix shadow problem for v3.3.0 (#3674) 2021-07-14 09:26:23 +08:00
zxx43 c8c8072c87 V3.3 fix physics debug drawing (#8968)
* modify physics debug to UI_2D

* add import
2021-07-14 00:09:40 +08:00
minggo 9fffa5d782 get delta time from cc.game (#8967) 2021-07-13 15:17:22 +08:00
Yun Hsiao Wu 87f62fcbd3 fix buffer resize (#3709) 2021-07-13 14:51:38 +08:00
Cocos Robot bd2e134954 [ci skip][AUTO]: updating jsbinding automatically: 5c88f24b (#3708)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-07-13 14:18:28 +08:00
Yun Hsiao Wu 5c88f24b3f misc gfx & fg improvements (#3703) 2021-07-13 14:07:47 +08:00
minggo 9bbf667568 remove typo (#3704) 2021-07-13 13:50:38 +08:00
troublemaker52025 a2e3831839 fix instance vb memory leak for v3.3.0 (#3695) 2021-07-13 11:02:36 +08:00
minggo 43c288196e Merge v3.1.2 (#3691)
* add jsb binding for v3.1.2 (#3611)

* update (#3615)

* optimize cleanTracks method (#3620)

* Fix setMaterial memory leak (#3622)

* fix RenderAdditiveLightQueue memory leaks for v3.1.2 (#3616)

* fix shadows GFXBuffer memory leaks for v3.1.2 (#3630)

* [ci skip][AUTO]: updating jsbinding automatically: dea52c7b (#3633)

Co-authored-by: cocos-robot <engine-deploy@cocos.com>

* fix erase shared body (#3635)

* Native PCF change sync to native-engine for v3.1.2 (#3652)

* support getAABB and getBoundingShpere (#3563) (#3671)

* fix compiling error

Co-authored-by: troublemaker52025 <troublemaker52025@outlook.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: wangyuzhi233 <78699242+wangyuzhi233@users.noreply.github.com>
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
Co-authored-by: jiaxin.lai <goodlaijiaxin@qq.com>
2021-07-13 09:43:25 +08:00
mmyduckx 8af153d002 add ios M1 simulator support (#3702)
* add ios M1 simulator support

* update clear-platform command

* update clear-platform command for win64
2021-07-13 09:38:36 +08:00
jiaxin.lai b1add01db9 fix calculate local inertia (#8956) 2021-07-12 19:16:36 +08:00
Santy-Wang 4550f40f22 Merge pull request #8961 from holycanvas/v3.3-merge
sync v3.1.2
2021-07-12 17:47:48 +08:00
santy-wang 69441c14b9 update effect 2021-07-12 17:46:08 +08:00
santy-wang 4c92a4ba5e Merge branch 'v3.1.2' of https://gitlab.cocos.net/publics/engine into v3.3-validate 2021-07-12 17:42:21 +08:00
troublemaker52025 2714fe6dbe fix low phone do not support vector property self-multiplication for… (#8957)
* fix  low phone do not support vector property self-multiplication for v3.1.2

* update
2021-07-12 17:06:24 +08:00
黄森斌 c74b511686 optimize calculate speed edit multiple materials (#8959) 2021-07-12 16:58:34 +08:00
Santy-Wang b48baac045 no need to validate animation-clip (#8958) 2021-07-12 16:58:16 +08:00
zxx43 146385bdfb V3.1.2 physics rotation fix (#8938)
* modify euler to quat

* rename output vec3
2021-07-12 16:42:53 +08:00
GengineJS 9991987f5b [Fix] the problem of instancing bake animation not working (#8952) 2021-07-12 10:45:48 +08:00
江战 1b02d913d1 3.3 fix android polling interval (#3694) 2021-07-12 09:57:19 +08:00
PP d7067c29c8 deprecate interface in View module && support pal/screenManager (#8836)
* remove BrowserGetter

* deprecated view.adjustViewportMeta

* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled

* remove view._adjustSizeKeepCanvasSize

* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale

* remove view._originalDesignResolutionSize

* deprecate cc.winSize and cc.visibleRect

update

* access local winSize

* access local visibleRect

* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel

* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"

This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.

* Revert "deprecate cc.visibleRect"

* optimize screen module

update

* update

update

* optimize deprecation info

* rename pal/system to pal/systemInfo

* update pal/systemInfo access in engine layer

* support pal/screenManager

* update pal/screenManager access in engine layer

* fix bug

* optimize deprecation info

* fix auto fullscreen

* fix ci

* fix ci

* update change request

update

update

* fix CI
2021-07-09 18:57:03 +08:00
pandamicro 09a2eb2d2e Move director delta time to game and remove deprecated APIs (#8913)
* Move director delta time to game and remove deprecated APIs

* Small ts fixes

* Fix ci

* Fix module import

* Adaptation

* Improve usage

* Improve deprecation

* Fixes and improve setFrameRate logic

* Move game's time control functions to timer class

* Fix frame time counter

* Tweaks

* Tweaks

* Revert timer
2021-07-09 17:27:52 +08:00
GengineJS e0c8544c13 [Fix] Crash caused by real-time mesh generation on the native side (#8942)
* [Fix] Crash caused by real-time mesh generation on the native side

* According to the index removeModel
2021-07-09 16:20:50 +08:00
GengineJS 2fbcd31513 [Fix] Crash caused by real-time mesh generation on the native side (#3697) 2021-07-09 16:20:13 +08:00
Zeqiang Li 63ca1034a9 reduce persistent memory (#3662) 2021-07-09 16:00:42 +08:00
Santy-Wang 9d23637f06 delete useless code (#8601)
* delete useless code

* refine format and fix typo
2021-07-09 14:38:04 +08:00
PP fe213e7881 remove note on audioClip (#8950) 2021-07-09 11:21:07 +08:00
Leslie Leigh (李的序) ac53e5e60e Fix dynamic deserialize error when build (#8948) 2021-07-09 11:18:32 +08:00
PP e556ac0b99 fix EventMouse.movement on native and minigame platform (#8947)
update
2021-07-08 23:00:28 +08:00
jiaxin.lai b1f0802a5f let game run in test environment (#8906) 2021-07-08 22:33:08 +08:00
jiaxin.lai 0c321baba6 fix obb overlap with obb (#8928)
* fix obb overlap with obb

* fix lints

* fix lints
2021-07-08 22:26:05 +08:00
ref-ptr 34521945db fix vulkan-backend crash on android (#3700) 2021-07-08 16:52:59 +08:00
cary d895a93529 Fix the render error when multi-pass. (#3699) 2021-07-08 16:43:28 +08:00
江战 ba644b3988 3.3 ZipUtil threadsafety (#3689) 2021-07-08 16:39:32 +08:00
PP 6487e67b36 optimize enum type in SystemEvent module (#8912)
* export KeyCode

* rename to SystemEvent.EventType

remove legacy import

update pal

* systemEventType =value type, SystemEvent.EventType =enum type

* support KEY_PRESS KEY_RELEASE, deprecate KEY_UP event

* add back Event.NO_TYPE

* update pal/input interface

* fix ci

* Revert "support KEY_PRESS KEY_RELEASE, deprecate KEY_UP event"

This reverts commit 623385e5f8e6c133f287753654b21a5bb7adafee.

# Conflicts:
#	pal/input/minigame/keyboard.ts

* remove KEY_PRESS event

* remove legacy usage of macro.KEY

* fix KeyCode spell
2021-07-08 16:39:03 +08:00
Leslie Leigh (李的序) 34ae92c933 Optimize loader (#8945)
* ss

* Cleaner asset manager implementation
2021-07-08 14:51:01 +08:00