Commit Graph

805 Commits

Author SHA1 Message Date
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
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
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
PP 4d229b237a add _unregisterAccelerometerEvent (#2865) 2018-06-15 14:45:05 +08:00
yinkaile 303f20653b add debug camera (#2853)
* add debug camera

* refine code
2018-06-13 11:30:20 +08:00
Jare Guo 36382cffd6 revert cc.inputManager for 1.10 2018-06-08 15:31:28 +08:00
PP f1f2ce4868 add inputManager into _cc (#2836) 2018-06-08 15:09:24 +08:00
PP c70f6de4b8 move inputManger into _cc namespace (#2832) 2018-06-08 13:02:43 +08:00
Jare Guo e018939977 load native asset from raw-assets after build (#2830)
* remove some init code about raw assets

* load native asset from raw-assets after build
2018-06-08 11:05:06 +08:00
PP 148680aec7 move inputManager into namespace _cc (#2825)
simplify _cc.inputManager
2018-06-08 10:32:02 +08:00
pandamicro 1decb6c5ad Do not set retina in view (#2823)
* Do not set retina in view

* Deprecated view.g|setTargetDensityDPI
2018-06-07 17:55:29 +08:00
pandamicro 56a78dde98 Update version and fix small issues (#2809)
* Update version and fix small issues

* Fix issues reported by gcc
2018-06-06 11:57:59 +08:00
Jare Guo 60bcb42d32 support dirtyRegion and retina on UC browser (#2794) 2018-06-05 11:07:18 +08:00
PP ec3798b097 exchange x y axis if view is rotated on DeviceMotionEvent (#2788)
fix babel


commit
2018-06-01 16:09:09 +08:00
Knox c8b9a3c40a fix Accelerometer for fireball/issues/7433 (#2777) 2018-05-31 14:39:28 +08:00
Knox a3b23d033b fix Accelerometer for fireball/issues/7433 (#2774)
* fix Accelerometer for fireball/issues/7433

* refine code
2018-05-31 14:11:34 +08:00
Jare Guo a58c18d5a9 Merge branch 'master' into next
# Conflicts:
#	cocos2d/core/platform/CCSys.js
2018-05-30 21:53:45 +08:00
Jare Guo 9e246f7682 fix uglify-es (#2771) 2018-05-30 21:39:59 +08:00