Commit Graph

820 Commits

Author SHA1 Message Date
Jare Guo bd29a6db8c Merge 2.0-release
# Conflicts:
#	predefine.js
2018-09-06 10:41:21 +08:00
pandamicro f1c49a59f8 remove sys.dumpRoot & cleanScript (#3192) 2018-09-04 22:22:03 +08:00
pandamicro 8e5edcc421 Remove JSB sys functions (#3188) 2018-09-04 10:14:22 +08:00
Knox 61df6b8636 update qqplay get version code (#3182) 2018-09-03 15:09:04 +08:00
Knox c0509efb9a fix convertToLocationInView calculation bug for fireball/issues/8300 (#3166) 2018-08-30 16:30:01 +08:00
yinkaile a33be26b1a support skeleton animation (#3151)
* support 2.5D

* refine code

* refine code

* refine code

* refine code

* refine code

* refine code

* update

* support skin mesh

* add is3DNode property

* add comment

* update

* update

* update

* fixed test

* refine code

* update

* refine code

* refine code

* refine code
2018-08-30 14:56:18 +08:00
ColinCollins 0707b1c177 modify touch event listener clear touches preTouchPool (#3162) 2018-08-30 13:37:23 +08:00
Jare Guo a0087103d4 Merge v2.0-release
# Conflicts:
#	predefine.js
2018-08-29 20:03:38 +08:00
wdzhangchukong 2ddba1da00 Remove some name about Cocos (#3145)
* Rename __ccgl and __cccanvas

* Remove __jsc__

* Make CC_RUNTIME be true in runtime

* Judge loadRuntime with function
2018-08-27 15:54:09 +08:00
pandamicro 2791fda517 Fix cc.view._resizeWithBrowserSize typo (#3130) 2018-08-23 10:40:59 +08:00
Jare Guo 426f809c32 Merge branch 'v2.0-release' into next
# Conflicts:
#	cocos2d/core/renderer/render-engine.js
2018-08-14 16:00:50 +08:00
Knox c70d7d6f61 Improve android p system detection in qqplay for fireball/issues/8126 (#3086) 2018-08-14 15:55:14 +08:00
pandamicro 411e52b580 Fix user reported issues (#3081)
* Upgrade render engine to fix some issues

* preserve drawing buffer in qqplay

* Fix label issue when using system font and fontFamily is not set

* Secure Editbox _impl access

* Fix Joint.getReactionForce

* Remove cc.director.getProjection usage

* Fix particle system color type issue in editor

* Apply Skeleton frame when changing animation in editor

* Fix docs, improve deprecation
2018-08-14 10:25:21 +08:00
pandamicro 18fbcbb6d2 Add WXSubContextView to control sub context viewport (#3079)
* Add WXSubContextView to control sub context viewport

* Ignore WXSubContextView in other platform and provide docs
2018-08-13 21:07:40 +08:00
PP 5114513bed fix macro type (#3070) 2018-08-10 18:51:31 +08:00
Jare Guo 51b68523ac Merge commit v2.0-release into next
# Conflicts:
#	cocos2d/core/components/editbox/CCEditBox.js
2018-08-10 13:39:24 +08:00
ColinCollins 6a3c4576c0 Modify the create.d.ts (#3059)
1. fixed the problem that CCDebug doesn't contain cc.debug.DebugMode.
2. adjust the marco file, forbid the user to use the cc.KEY straightly
2018-08-09 16:29:59 +08:00
yinkaile 44d068bea8 support compress texture (#3039)
* support compress texture

* add cc.macro.SupportTextureFormats

* fixed texture test

* update api comment

* reverse texture size

* refine code

* refine code

* refine data
2018-08-06 14:22:43 +08:00
pandamicro e1333e29ed Fix show all adaptation not compatible with 1.x 2018-08-02 13:40:01 +08:00
pandamicro 3cb3eae1fe Revert "Fix viewport result for SHOW ALL mode"
This reverts commit f0c979da4a.
2018-08-02 13:40:01 +08:00
pandamicro f0c979da4a Fix viewport result for SHOW ALL mode 2018-07-31 01:40:59 +08:00
pandamicro c9a21d77b0 Improve convertToLocationInView memory usage 2018-07-31 00:35:21 +08:00
pandamicro 9144cc9f67 Improve wechat old version compatibility 2018-07-30 22:59:17 +08:00
pandamicro fb9fc0ff7b Forbid sub context to use webgl context 2018-07-30 22:59:17 +08:00
pandamicro 1ec38cc239 Fix beta user reported issues (#3004)
* Fix doc, error & cleanup code

* Fix render component nested in mask issue

* Fix multiple spine textures rendering issue

* Box2d stability

* Upgrade renderer.js to 1.8.6

* Avoid particle default values override custom issue

* Fix ParticleSystem restore issue in editor

* Fix enumerate scene.active issue

* Fix error map with new ids
2018-07-23 17:25:54 +08:00
pandamicro 61c5fb8174 Fix request buffer issue & JSB cc.game.frame (#2999)
* Fix request buffer cause flush while not visiting scene

* Fix JSB cc.game.frame issue
2018-07-19 23:31:08 +08:00
pandamicro 1102e50750 Fix user reported issues (#2995)
* Cleanup code & fix api doc

* Fix plist parser require issue

* Fix spine null material issue

* Fix Sprite null material issue

* Fix uninit editbox updateString issue
2018-07-19 00:01:20 +08:00
pandamicro e9be28d94e Add CLEANUP_IMAGE_CACHE macro to clear image src after loading (#2993)
* Add CLEANUP_IMAGE_CACHE macro to clear image src after loading

* Fix API doc
2018-07-18 17:12:32 +08:00
Jare Guo f8d38f4adf optimize construction and serialization performance for wechat mini games (#2970)
* optimize instantiate for platform whose CC_SUPPORT_JIT disabled

* optimize instantiate for platform whose CC_SUPPORT_JIT disabled

* optimize object construction for platform whose CC_SUPPORT_JIT disabled

* optimize deserialization for platform whose CC_SUPPORT_JIT disabled
2018-07-13 10:48:17 +08:00
Jare Guo 3d5e88d2c1 optimize performance of object construction on wechat platform (#2965)
* optimize destruct for platform whose CC_SUPPORT_JIT disabled

* define __values__ to replace __props__ used in serialization
2018-07-11 16:25:02 +08:00
Knox 7396874344 fixed isMobile value error to wxgame devtools (#2959) 2018-07-10 15:07:31 +08:00
Knox 53f8b64379 fix fireball/issues/7847 (#2956) 2018-07-09 17:36:04 +08:00
Knox a445600d7f fix Build unchecked md5 will report an error for issues/7845 (#2955) 2018-07-09 15:46:03 +08:00
Jare Guo b30c9e3118 lookup md5 by uuid to reduce size of settings.js (#2947) 2018-07-06 18:02:11 +08:00
pandamicro f1cc4bd5aa Merge remote-tracking branch 'fireball/master' into next 2018-07-02 10:27:46 +08:00
pandamicro c7603a1c63 Refactor engine & game scripts loading process (#2922)
* Remove cc.game.CONFIG_KEY

* Remove cc.game.CONFIG_KEY

* Refactor engine and game scripts loading process

- Make cc.view & cc.director ready when engine loaded
- Load game script before renderer initialize
- Emit EVENT_ENGINE_INITED instead of EVENT_RENDERER_INITED

* Remove cc.macro. ENABLE_GC_FOR_NATIVE_OBJECTS

* Remove cc.loader.resPath usage in VideoPlayerImpl

* deprecated cc.director.getWinSize

* Improve game doc
2018-06-29 16:37:06 +08:00
Jare Guo 142646de80 Merge 1.9
# Conflicts:
#	cocos2d/core/videoplayer/CCSGVideoPlayer.js
2018-06-28 18:35:37 +08:00
knox 85d5ad0683 fix fullScreen and videoplay bug for wxgame 2018-06-28 18:13:42 +08:00
Jare Guo 1441673314 Merge pull request #2919 from cocos-creator/v1.9-release
sync branch
2018-06-28 17:44:56 +08:00
Knox 93804c9f00 fix _unregisterAccelerometerEvent err (#2918) 2018-06-28 15:58:43 +08:00
pandamicro a89af08a6b Improve android p system detection in wechat (#2915) 2018-06-27 15:37:47 +08:00
黄家辉 c632073018 modfity the creator.t.ds (#2912) 2018-06-27 12:55:21 +08:00
pandamicro 698086046f Small issue fixes and modifs (#2904)
* Fix ttf font loading issue

* Avoid update hash for sprite material if not needed

* Small improvements

* Fix director event register issue

* Fix wechat game issue on Android P (no env.system)
2018-06-27 10:30:07 +08:00
Jare Guo e2bc641920 Merge branch 'master' into next
# Conflicts:
#	cocos2d/core/label/CCSGLabel.js
#	cocos2d/core/platform/CCSys.js
#	cocos2d/core/textures/CCTexture2D.js
2018-06-26 11:37:11 +08:00
黄家辉 16e140f118 modify the engine identify function about UCbrowser (#2881) 2018-06-22 19:25:24 +08:00
pandamicro 96e482bd74 Fix view canvas-resize event emit (#2893) 2018-06-22 18:51:14 +08:00
pandamicro 1f39837ac1 Remove cc.Class.isInstanceOf usage (#2877)
* Remove cc.Class.isInstanceOf usage

* Remove check jsb instanceof task
2018-06-19 17:54:48 +08:00
pandamicro 2bdd981917 Full screen show all rendering mode (#2874) 2018-06-19 12:10:31 +08:00
pandamicro b6ad346693 Fix merge issues 2018-06-15 18:46:39 +08:00
pandamicro 03e2af76a5 Merge remote-tracking branch 'fireball/master' into merge 2018-06-15 18:37:33 +08:00