Commit Graph

17466 Commits

Author SHA1 Message Date
PP 81182a87f8 adapt videoPlayer on OPPO (#8013) 2020-12-25 09:55:17 +08:00
JoneLau fc62709146 remove padding display, and fix safeMeasureText code hint (#8012) 2020-12-24 19:23:07 +08:00
echoooooo dabc6f2188 fix: _initEvents() called twice (#8010) 2020-12-24 19:12:04 +08:00
Santy-Wang ad4bff3988 Restructure Module (#7968)
* module restructure

* refine

* restructure module

* merge

* revert

* fix ci

* update import path of unit-test

* split 2d and ui

* add more module

* change audio adapter

* rename primitive

* config wechat plugin

* merge

* add category config

* merge

* merge
2020-12-24 19:07:26 +08:00
Cocos Robot 4a1c358001 [ci skip][AUTO]: updating jsbinding automatically (#3143)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2020-12-24 16:28:00 +08:00
cary f15be6fe1e Modify the forward rendering process and remove UIFlow. (#7940) 2020-12-24 16:09:31 +08:00
cary cc6aea86fd Modify the forward rendering process and remove UIFlow. (#3117) 2020-12-24 16:09:06 +08:00
Cocos Robot ff3795927f [ci skip][AUTO]: updating jsbinding automatically (#3142)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2020-12-24 15:47:40 +08:00
江战 ec990052b1 bugfix: detect changed files (#3141) 2020-12-24 15:36:26 +08:00
jiaxin.lai 0dc393b884 3d physx (#8005)
* support physx physics engine

* tweaks

* stash contact event

* update @cocos/physx

* basic event impl

* stash

* support BYTEDANCE

* stash

* stash

* fix inertia

* PhysX mesh collider

* PhysX static trimesh geometry

* PhysX terrain collider

* add kinematic

* bytedance plane collider

* bytedance v2

* support trigger

* bytedance triangle mesh support

* raycast filter

* raycast support

* stash all

* stash

* center of mass

* stash

* stash fixed joint

* stash

* stash

* physx hinge joint

* physx distance joint

* tweaks

* tweaks

* bytedance raycast

* tweaks

* update mass

* tweaks

* tweaks

* joint

* stash

* bytedance adapters

* tweaks

* stash

* apply force/impulse

* add updateEventListener

* Fixed some loose usage

* add getShapeFlags/getShapeMaterials

* tweaks

* optimize bytedance adapter

* fix isStaticsOrKinematic

* support cylinder & cone

* contact normal

* update @cocos/physx to 1.0.0-beta.5

* rigid body tweaks

* add syncAfterEvents

* hinge constraint

* filter static - static

* ammo refactor

* cannon refactor

* ammo p2p constraint refactor

* update @cocos/ammo to 1.0.8

* lint ammo

* more lint

* docs

* tweaks

* avoid direct use globalThis
2020-12-24 13:45:03 +08:00
owen f811378b7f 3.0 spine native sdk adapter (#7999) 2020-12-24 10:25:34 +08:00
owen ab49c62d0f 3.0 spine native sdk (#3136) 2020-12-24 10:14:18 +08:00
troublemaker52025 8a57007acb fix repeatedly created camera errors (#8006)
* fix repeatedly created camera errors

* protected map.geter()

* update
2020-12-23 19:17:50 +08:00
Leslie Leigh (李的序) a069eeca2f Optimize shader sources build (#7998)
* Optimize shader sources build

* Linting

* HTML5, WeChat branch

* Comment
2020-12-23 16:29:58 +08:00
江战 fe0d1c65f4 Update config.json (#3139)
Recompile SPIRV-Cross for Mac X86_64
2020-12-23 15:57:08 +08:00
Leslie Leigh (李的序) aa3cf70c04 Fix @cocos/build-engine: enumerate-dependent-chunks error (#8004) 2020-12-23 15:36:25 +08:00
Leslie Leigh (李的序) 1c9f4b44f7 Optimize ESLint CI: exclude deleting changes and non code file (#8003) 2020-12-23 13:31:53 +08:00
troublemaker52025 17c4946b66 Canvas split 2D camera (#7987)
* update

* update

* update

* update

* fix eslint error

* update

* update

* Add protection mechanism

* fix pr

* fix pr

* createCamera() changed public

* revert

* revert

* update

* fix  remove camera component error

* update

* update
2020-12-22 18:36:30 +08:00
pandamicro 9b75d50b1b Improve game mainLoop safety (#7796)
* Improve game mainLoop safety

* Fix ci

* Fix ci

* Fix game pause state set

* Fix game init timing

* Fix camera component imports

* Fix eslint warnings

* allow dangling underscores

* Fix more warning
2020-12-22 18:19:40 +08:00
Knox d05857f68e fix video player resume invalid (#3138) 2020-12-22 17:31:17 +08:00
minggo b78d759b6a get video properties in gl thread to avoid dead lock (#3137)
ui thread may wait for gl thread to enter pause state, if the same time gl thread get video properties in ui thread and wait for it, then dead lock happens
2020-12-22 14:34:53 +08:00
江战 59edc786df [3.0] holder_convert_to should return reference (#3132) 2020-12-22 14:27:46 +08:00
yeshao2069 9c61746852 fix bug : when the page window changes, the content in the widget will not change (#7988)
* fix bug :

when the page window changes, the content in the widget will not change

* update

when the page window changes, the content in the widget will not change

* update

fix error

* update

Optimized writing
2020-12-22 11:48:54 +08:00
Knox 9a85d48a37 improve onLoadedMetadata in jsb-videoplayer (#7993) 2020-12-22 11:43:59 +08:00
Santy-Wang c92fe2d81e fix release issue in editor (#7997) 2020-12-22 11:27:47 +08:00
吴智明 7d55ad729a 3d gfx add orientation change event (#3135) 2020-12-22 10:59:18 +08:00
cary db5eafc4a9 Fix the problem of inaccurate calculation of curve interpolation. (#7994)
* Fix the problem of inaccurate calculation of curve interpolation.

* fix eslint error
2020-12-22 10:31:37 +08:00
PP aa631d81b2 support loading subpackage on Bytedance platform (#7995) 2020-12-22 10:24:08 +08:00
黄森斌 8f84a26320 update terrain doc link (#7985) 2020-12-21 15:57:41 +08:00
PP 06559c8494 print less simulator compile details (#3133) 2020-12-21 15:22:36 +08:00
江战 601c2f43a5 [3.0] Mac: build metal by default (#3134) 2020-12-21 15:21:14 +08:00
Santy-Wang e141dd2537 Revert "Optimize wasm fetching (#7979)" (#7992)
This reverts commit 52c710934e.
2020-12-21 15:19:18 +08:00
媛媛 22343ac441 change the default value of multi in render config from true to false (#7991) 2020-12-21 15:01:56 +08:00
PP c2ac849d31 update config.json parsing && remove view menu for simulator (#3131)
* update config.json parsing

* remove setupUI

* synchronous change on win32 platform
2020-12-19 13:38:44 +08:00
江战 7c543a5def [3.0] Support Apple Silicon (#3130) 2020-12-19 13:37:30 +08:00
Leslie Leigh (李的序) 52c710934e Optimize wasm fetching (#7979) 2020-12-18 18:33:50 +08:00
江战 1bff13636c [3.0] rename dragonbones to dragon-bones (#7984)
* rename dragonbones -> dragon-bones

* add files
2020-12-18 18:29:03 +08:00
minggo 049ac5edc2 receive mouse move events correctly (#3129) 2020-12-18 18:14:06 +08:00
Santy-Wang 477ca2cb5f Revert "Canvas split Camera (#7955)" (#7983)
This reverts commit d0e7e6d9a4.
2020-12-18 14:47:09 +08:00
JoneLau e267479e41 optimized layout (#7970)
* optimized layout

* type If none, do nothing
2020-12-18 14:08:21 +08:00
Leslie Leigh (李的序) 6e547e22fb Revert spine's export; optimize StatsQuery (#7982)
* Revert spine's export; optimize StatsQuery

* Update version
2020-12-18 11:48:21 +08:00
Cocos Robot ae6be66a80 [ci skip][AUTO]: updating jsbinding automatically (#3128)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2020-12-18 11:26:57 +08:00
troublemaker52025 d0e7e6d9a4 Canvas split Camera (#7955)
* revert

* fix eslint ci

* fix ci

* update

* update
2020-12-18 11:12:53 +08:00
黄森斌 a803f7e618 update some internal asset files version (#7981) 2020-12-18 10:53:06 +08:00
Knox 3bcd7b339b improve video player code (#7980)
* improve video player code

* refine code
2020-12-18 10:51:18 +08:00
江战 7c8fd18aec fix base repo (#3127) 2020-12-18 10:47:28 +08:00
PP 14f55649af support simulator waiting for debugger connect (#3125) 2020-12-18 10:19:03 +08:00
PP 55bf3c5e2e fix simulator unfocused (#3124)
* fix simulator unfocused
2020-12-17 21:11:28 +08:00
江战 16fa4fb591 remove env (#3126) 2020-12-17 20:30:37 +08:00
Leslie Leigh (李的序) 5b5ac79798 Suggested lint changes (#7778)
* lint

* Update

* Update

* Update

* Doc

* Update
2020-12-17 20:28:35 +08:00