Commit Graph

10856 Commits

Author SHA1 Message Date
江战 3eee6dfd4b 3.3 js message queue (#8991) 2021-07-16 15:20:31 +08:00
PP 5a4bed2379 support inputManager.frameDispatchEvents() in main loop (#8954)
* support pollEvent() API on pal/input

update

update pal

* support inputManager.frameDispatchEvents() in main loop

* remove event-manager module

* fix CI

* fix _glView

* fix CI

* fix director pause

* update for
2021-07-16 13:45:01 +08:00
ChiaNing a70f818ffa update builtin UI texture wrapMode (#8986) 2021-07-16 11:52:55 +08:00
Leslie Leigh (李的序) bc817790b8 Add flag to indicates if is targeting CCON (#8990)
* Add flag to indicates if is targeting CCON

* Fix

* Fix

* Add case

* Fix __id__: 0
2021-07-16 11:32:12 +08:00
黄森斌 8e03bfea2e V3.3.0 property decorate add group configuration (#8972)
* change decorate tab to group

* fix inspector edit bug on utils prop

* optimize options of 'group' decorate

* group id replace group key
2021-07-16 11:23:19 +08:00
ref-ptr 9fcdad486d webgl fbo copy (#8984) 2021-07-16 11:17:34 +08:00
PP 20bc9e80e4 support fetch ral workflow (#8971)
* remove RAL adapter in engine repo

* support fetch ral workflow

stash

stash

update

* update lock

* update fetch-ral

* support force fetch ral

* remove fetch-ral from npm install work flow
2021-07-16 10:48:36 +08:00
GengineJS d482e113d1 [Fix] the problem that the pipeline scene data switch scene ia is null (#8989) 2021-07-16 09:37:27 +08:00
pandamicro 9849fdd1f4 Add some object flags (#8987)
* Support number key in EventTarget

* Add replicated and clientLoad

* Update main license

* Fix ci

* Fix ci

* Fix ci

* Fix ci

* Move object getter setter to functional style API

* Adjust

* Add SERVER_MODE constant
2021-07-15 19:41:08 +08:00
OnlyKoei bdd789c31a Update button.ts (#8977)
* Update button.ts

fix the button node to continue to play after hiding and then displaying the animation

* Update button.ts
2021-07-15 15:16:25 +08:00
Santy-Wang ebbe8e036c remove dependant info when release asset (#8976) 2021-07-15 15:13:09 +08:00
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
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 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
troublemaker52025 9854f33225 fix shadow problem for v3.3.0 (#8916) 2021-07-14 09:26:38 +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
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
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
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
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
江战 d443ff339d SpriteFrame _serialize Rect & Vec2 (#8922) 2021-07-08 10:38:04 +08:00
PP 8b98be8a7e fix sys.getNetworkType() on native platform (#8941) 2021-07-07 17:13:22 +08:00
Leslie Leigh (李的序) 9ce03e2986 Optimize editor exports (#8943)
* Optimize editor exports

* Update doc
2021-07-07 17:11:52 +08:00
Yun Hsiao Wu 5130002624 sync gfx macros (#8935) 2021-07-06 14:03:06 +08:00
Santy-Wang 79c8366756 fix typo (#8932) 2021-07-05 22:13:33 +08:00
Santy-Wang b48e8c2ed9 still invoke callback even if the event has been emit (#8934)
* still invoke callback even if the event has been emit

* fix format
2021-07-05 16:02:38 +08:00
Santy-Wang e1cf42e775 output more log (#8927) 2021-07-02 14:58:52 +08:00
GengineJS de7039435a Implement native Baked Skinning Model (#8921) 2021-07-01 16:03:32 +08:00
minggo c0ed00c509 Fix memory leak (#8914) 2021-07-01 14:46:28 +08:00
GengineJS d13d782ed0 Change the timing of node destroy (#8925) 2021-07-01 14:45:01 +08:00
江战 af1251493e updte rootbufferdirty (#8919) 2021-06-30 14:04:00 +08:00