minggo
98c2fb3158
fix device resolution ( #7856 )
...
* fix device resolution
* only use device resolution on native
2020-11-24 18:24:51 +08:00
PP
a598a9f0cf
support linksure and QTT platform ( #7800 )
...
* fix undefined toDataURL on linksure platform
* update platform
* add platform info
2020-11-18 20:20:38 +08:00
Jare Guo
b5ba2e5dbe
fix texture preloading (sync #7581 ) ( #7802 )
...
* fix texture preloading (sync #7581 )
* fix prefab revert problem for render component (sync #7385 )
* tweak API docs (sync #7525 )
* Update Readme (sync from 2D)
Co-authored-by: Nisar Hassan Naqvi <syednisarhassan12@gmail.com >
2020-11-18 10:47:23 +08:00
PP
55689f1d80
add HuaWei broswerType ( #7779 )
2020-11-15 12:57:08 +08:00
Santy-Wang
95b2c2ad5a
fix imageBitmap auto premultiply alpha ( #7761 )
2020-11-11 18:55:29 +08:00
pandamicro
b162e21a93
Update license and API language declaration ( #7750 )
...
* Update licenses
* Update license for audio
* Update license for core/3d
* Update license for animation, assets, asset-manager, components, data
* update license for event, geometry, gfx
* update license for core modules
math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types
* Update license for core
* Update license for particle and particle-2d
* Update license for particle part2
* Update license for physics and physics-2d
* Update license for all modules in cocos
* Update license for exports
* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Yun Hsiao Wu
32598c25cb
switch to eslint ( #7727 )
...
* switch to eslint
* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
yufang.wu
623ef85041
Sync the PR of 2D. ( #7730 )
...
* Sync the pr #7262 and #7315 of 2D.
* Commit changes
2020-11-08 22:43:51 +08:00
ChiaNing
9de860f409
layer Changed event add ( #7729 )
2020-11-07 17:52:12 +08:00
JoneLau
b2a001a21b
move SubContextView to ui ( #7699 )
2020-11-05 17:22:51 +08:00
Santy-Wang
eca57fdca8
sync 2d ( #7703 )
...
* sync 2d
* fix ci
* refine
2020-11-05 15:51:51 +08:00
Jare Guo
47e11ac836
ensure canvas size the same as screen size during scene initialization (sync #6308 ) ( #7685 )
2020-11-04 22:15:31 +08:00
GengineJS
0c42a3d14e
[Feature] profiler adapts to gameView ( #7695 )
2020-11-04 17:53:02 +08:00
pandamicro
e4c1c9add1
Merge remote-tracking branch 'origin/3d-v1.2' into 3d
...
# Conflicts:
# editor/assets/default_prefab/ui/ScrollView.prefab
2020-11-02 12:51:34 +08:00
Santy-Wang
7b025ff721
sync 2d ( #7658 )
...
* sync
* sync 2d
* refine
2020-10-31 18:12:10 +08:00
Jare Guo
e2b740dd15
Finally merge runtime deserializer & asset manager ( #7648 )
...
* sync asset-manager
refine
refine
refine
* change director
* refine
* fix bugs
* commit
* refine and fix bugs
* refine docs
* fix bugs
* merge
* fix bugs
* fix bugs
* merge
* sync jsb-adapter
* fix ci
* adapt preloading process for new Deserializer
* adapt preloading process for new Deserializer
* fix bugs
* minor fix
* dump dependency of SpriteFrame explicitly (sync #6938 )
* dump dependency of SpriteFrame explicitly (sync #6938 )
* remove unused variable
* exporting should trigger uuid compression in serializer
* refine
* fix ci
Co-authored-by: Santy-Wang <wh19930829@qq.com >
2020-10-30 20:51:58 +08:00
pandamicro
0e1a5b9f10
Make ENABLE_WEBGL_ANTIALIAS as true by default ( #7632 )
2020-10-30 11:05:41 +08:00
Leslie Leigh (李的序)
1cc61ca0b0
Promisify game.init and game.run ( #7612 )
...
* Promisify `game.init` and `game.run`
* Export some debugging API
* Update
* Update
* Fix
* Rename
2020-10-30 10:25:34 +08:00
Knox
37fec6341f
sync 2d (Update the url links) ( #7613 )
2020-10-28 17:06:27 +08:00
pandamicro
983b994e43
Merge 2.x commits ( #7600 )
2020-10-27 09:13:33 +08:00
PP
2304ce20a0
change OPPO/Vivo quick game to mini game ( #7589 )
2020-10-23 11:29:50 +08:00
GengineJS
f07f05205b
[v1.2.1] Terrain layer and GameView ui event response modification ( #7582 )
...
* [Modify] GameView ui event response modification
* [Modify] Terrain addLayer function modification
2020-10-22 20:35:08 +08:00
pandamicro
f31968e999
Merge remote-tracking branch 'origin/3d' into 3d
...
# Conflicts:
# cocos/core/platform/sys.ts
2020-10-22 11:52:25 +08:00
Knox
4a062a4013
sync 2d sys browserType and browserVersion ( #7578 )
2020-10-22 10:34:11 +08:00
pandamicro
6101d772a2
Merge remote-tracking branch 'origin/3d-v1.2' into 3d
...
# Conflicts:
# EngineErrorMap.md
# cocos/core/3d/builtin/effects.ts
# cocos/core/data/decorators/property.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/ui/mesh-buffer.ts
# cocos/core/renderer/ui/ui-vertex-format.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# cocos/ui/assembler/graphics/webgl/graphics-assembler.ts
# cocos/ui/components/graphics.ts
# editor/assets/default_prefab/3d/Capsule.prefab.meta
# editor/assets/default_prefab/3d/Cone.prefab.meta
# editor/assets/default_prefab/3d/Cube.prefab.meta
# editor/assets/default_prefab/3d/Cylinder.prefab.meta
# editor/assets/default_prefab/3d/Plane.prefab.meta
# editor/assets/default_prefab/3d/Quad.prefab.meta
# editor/assets/default_prefab/3d/Sphere.prefab.meta
# editor/assets/default_prefab/3d/Torus.prefab.meta
# editor/assets/default_prefab/Camera.prefab.meta
# editor/assets/default_prefab/Terrain.prefab.meta
# editor/assets/default_prefab/effects/Particle System.prefab.meta
# editor/assets/default_prefab/light/Directional Light.prefab.meta
# editor/assets/default_prefab/light/Sphere Light.prefab.meta
# editor/assets/default_prefab/light/Spot Light.prefab.meta
# editor/assets/default_prefab/ui/Button.prefab.meta
# editor/assets/default_prefab/ui/Canvas.prefab.meta
# editor/assets/default_prefab/ui/EditBox.prefab.meta
# editor/assets/default_prefab/ui/Label.prefab.meta
# editor/assets/default_prefab/ui/Layout.prefab.meta
# editor/assets/default_prefab/ui/Mask.prefab.meta
# editor/assets/default_prefab/ui/ProgressBar.prefab.meta
# editor/assets/default_prefab/ui/ScrollView.prefab.meta
# editor/assets/default_prefab/ui/Slider.prefab.meta
# editor/assets/default_prefab/ui/Sprite.prefab.meta
# editor/assets/default_prefab/ui/Toggle.prefab.meta
# editor/assets/default_prefab/ui/ToggleContainer.prefab.meta
# editor/assets/default_prefab/ui/Widget.prefab.meta
2020-10-21 18:35:11 +08:00
Knox
280723ea6b
update mini game platform tag ( #7571 )
...
* update mini game platform tag
* refine code
2020-10-21 16:53:24 +08:00
Jare Guo
0319477911
fix decorator warning of ValueTypes ( #7553 )
...
* fix decorator warning of ValueTypes (sync #6285 )
* refresh copyright
2020-10-21 16:31:41 +08:00
Knox
f33a928e0b
sync 2d sys ( #7568 )
...
1. update platform
2. sync lanuageCode
2020-10-21 14:13:55 +08:00
Jare Guo
2cdc3d1b8b
Refine EngineErrorMap and sync 2D changes ( #7542 )
...
* refine Color.toCSS/toHex (sync #6216 #6207 )
* refine component.resetInEditor (sync #6244 )
* Revert "Improve error maps (#5527 )"
This reverts commit 224cea23ab .
# Conflicts:
# EngineErrorMap.md
# cocos/core/assets/sprite-frame.ts
* Revert "Component rename for new standard and 2d compatibility (#7103 )"
This reverts commit 3240dba206 .
# Conflicts:
# EngineErrorMap.md
* Remove some old deprecations (sync #6271 )
2020-10-16 10:55:32 +08:00
Jare Guo
a0a992de5d
remove asserts from addChild & sync 2D changes ( #7479 )
...
* remove asserts from addChild
* expose js._registeredClassIds & js._registeredClassNames (sync #3174 )
To unload scripts dynamically.
Also revert part of changes from https://github.com/cocos-creator/engine/pull/3204/files#diff-cabe5229c3c6e31339220008e54fe853L421
* remove unused code (sync #3174 )
* minor tweak (sync #3421 )
* should not invoke component if destroy() called before node activating (sync #3430 )
* node should removed and destroyed with scene (sync #3456 #3483 )
* fix WebGL detection on Android browsers (sync #3510 )
* remove redundant right shift for bitwise operation (sync #3754 )
* fix label blur when using dark font color (sync #3949 )
* refine tooltip of Block Input Event (sync #4053 )
* fix IE/Edge exception when output log/warn before engine initialization(sync #4447 , #4500 )
* sync class, attribute (#4689 , #4712 , #4781 , #4712 )
* fix loading unknown texture format (sync #4820 )
* prefer toLowerCase to toLocaleLowerCase + sync #5114
* optimize bezier calculation (sync #5155 )
* fix potential memory leak in scene-editor (sync #5643 )
* fix _posDirty error of Mask on native platform (sync #6168 )
2020-10-15 17:28:14 +08:00
PP
73be65cd31
support new SubContextView ( #7303 )
...
* support new SubContextView
* update
* add type property when postMessage
2020-10-08 23:57:03 +08:00
pandamicro
7481303268
Merge branch '3d-v1.2' into 3d
...
# Conflicts:
# cocos/core/3d/framework/camera-component.ts
# cocos/core/assets/mesh.ts
# cocos/core/components/component-event-handler.ts
# cocos/core/game.ts
# cocos/core/gfx/webgl/webgl-commands.ts
# cocos/core/gfx/webgl2/webgl2-commands.ts
# cocos/core/pipeline/define.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/instanced-buffer.ts
# cocos/core/pipeline/render-pipeline.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/scene/skybox.ts
# cocos/core/splash-screen.ts
# cocos/ui/components/button.ts
# cocos/ui/components/editbox/edit-box-impl.ts
# editor/assets/primitives.fbx
# package-lock.json
# package.json
2020-09-30 18:01:33 +08:00
ChiaNing
15a1806d18
API doc format change ( #7456 )
2020-09-28 16:52:52 +08:00
Knox
fbcd5be93c
improve video player ( #7304 )
2020-09-04 15:54:59 +08:00
Yun Hsiao Wu
39eac4646f
texture unit opt ( #7298 )
...
* texture unit opt
* type checks
* circular ref fix
* plane as vec4 compatible
* cache IA cross render passes
2020-09-04 14:07:49 +08:00
pandamicro
1d2a82d957
Merge branch '3d-v1.2' into merge1.2
...
# Conflicts:
# cocos/core/3d/framework/mesh-renderer.ts
# cocos/core/components/ui-base/ui-renderable.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/pipeline/render-additive-light-queue.ts
# cocos/core/pipeline/render-stage.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/core/memory-pools.ts
# cocos/core/renderer/scene/camera.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/particle/billboard.ts
# cocos/terrain/terrain.ts
# cocos/ui/components/button.ts
# package-lock.json
# package.json
# tests/general/sealed-global-variables.json
2020-09-02 18:39:09 +08:00
Knox
3d9cd319ee
add video player component ( #7226 )
...
* add video player component
* refine code
* refine code
* refine code
* refine code
* refine code
* refine code
* refine code
2020-09-02 15:42:33 +08:00
pandamicro
3240dba206
Component rename for new standard and 2d compatibility ( #7103 )
...
* Rename ui related components
* Rename files
* Remove Useless errors
* Fix sealed names
* Fix sealed global variables
* Fix circular reference
* Refactor more component names
* Rename particle and animation related component
* export scene and models sub module in renderer
* Rename ModelComponents to Model
* Refactor LightComponents to Light
* Refactor CameraComponent to Camera
* Refactor ConstraintComponents to Constraint and rename physics comps
* Cleanup and fix issues
* Small fixes
* Refactor Model to MeshRenderer
* Final touch
* Fix data class export
* Better deprecation to cover all old usage
* Simpler and better deprecation with js.setClassAlias
* Fix ci
* Fix editor issue
2020-09-02 15:31:49 +08:00
Leslie Leigh (李的序)
bc5b531191
Add decorator @editable @serializable ( #7178 )
2020-09-02 11:44:12 +08:00
JoneLau
2fab58c210
fixed single touch,always keeping only one finger message ( #7230 )
...
* fixed single touch,always keeping only one finger message
* updated
2020-08-31 19:14:25 +08:00
PP
b738d9b78c
sync bug fix for Button component from 2d branch ( #7179 )
...
* reset to normal data when change button transition
* support color changed event on Editor
update
# Conflicts:
# cocos/core/components/ui-base/ui-render-component.ts
* refine button target
update
* refine button zoomScale tip
* unregister event listeners on old target when target changed
* check button._originalScale validity
* update originalScale when target transform chanaged
* do finishing transition after update finished
* fix button state setting
* udpate
2020-08-31 12:26:08 +08:00
Knox
b8d0026694
sync #3d-tasks/issues/3962 ( #7232 )
...
* sync #3d-tasks/issues/3962
https://github.com/cocos-creator/engine/pull/5598
https://github.com/cocos-creator/engine/pull/6575
https://github.com/cocos-creator/engine/pull/6333
https://github.com/cocos-creator/engine/pull/4003
https://github.com/cocos-creator/engine/pull/4240
https://github.com/cocos-creator/engine/pull/5444
https://github.com/cocos-creator/engine/pull/5178
https://github.com/cocos-creator/engine/pull/5656
https://github.com/cocos-creator/engine/pull/5672
https://github.com/cocos-creator/engine/pull/3515
https://github.com/cocos-creator/engine/pull/3617
https://github.com/cocos-creator/engine/pull/3802
https://github.com/cocos-creator/engine/pull/4152
* refine code
2020-08-27 19:51:43 +08:00
PP
cd03651bc4
remove jsb module declaration in engine repo ( #7143 )
...
* remove jsb module declaration in engine repo
* ignore jsb check
* space
2020-08-21 18:50:28 +08:00
PP
37b1671bce
sync bug fix for EditBox from 2d branch ( #7071 )
...
* add type definition for setter in EditBox
* support browser type EDGE
* hide clear button of input on Edge Browser
* sync label node scale to dom input fontSize
* refine editbox placeholderLabel css-in-js
* refine editbox begin editing callback
* extend some method from parent class
update
* fix not resize browser size when editbox end editing
* fix editbox doesn’t fire ‘compositionend’ event on mobile
* fix maxLength for input of number type
* update
* remove some useless private properties
* use scale instead of _scale private property
* Revert "add type definition for setter in EditBox"
This reverts commit cdde7340e238925468381c20ca77b2d28699d627.
2020-08-19 14:34:16 +08:00
JoneLau
2f9e094581
fixed multi-touch finger number distribution error ( #7162 )
2020-08-19 11:07:32 +08:00
ChiaNing
1df7992abb
runtime bug fix & vivo loadRuntime function remove ( #7151 )
2020-08-17 16:31:21 +08:00
PP
fceab6782d
remove platform related code from engine ( #7140 )
2020-08-16 23:05:34 +08:00
JoneLau
7ce7f6854e
Revert "fixed multi-touch finger number distribution error ( #7134 )" ( #7144 )
...
This reverts commit 02c6fbd083 .
2020-08-15 17:11:58 +08:00
ChiaNing
bdb39fbe65
runtime platform fix ( #7139 )
2020-08-14 15:17:02 +08:00
JoneLau
02c6fbd083
fixed multi-touch finger number distribution error ( #7134 )
2020-08-14 10:24:40 +08:00