Commit Graph

6632 Commits

Author SHA1 Message Date
pandamicro 077dbfd1ad Fix editor cannot open scene while inner asset missing (#2945)
* Fix editor cannot open scene while inner asset missing

* Improve code
2018-07-05 14:48:48 +08:00
Knox 5e643f0a3a fix button bug for fireball/issues/7826 (#2943) 2018-07-05 11:18:33 +08:00
PP 24893f4db0 fix scrollView bug (#2939) 2018-07-04 11:43:23 +08:00
pandamicro e96770a22d Fix render engine issue in strict mode (#2941) 2018-07-04 11:18:31 +08:00
yinkaile 59402c0e5e fixed render TiledTile (#2936) 2018-07-03 13:46:17 +08:00
pandamicro 2b4b5f390a Emit dependency errors to show real loading result (#2935) 2018-07-02 16:34:25 +08:00
PP 87545510d2 fix particleSystem load bug (#2932) 2018-07-02 13:33:41 +08:00
PP 0b8f0eddf4 fix ccgame bug (#2930) 2018-07-02 11:11:37 +08:00
pandamicro 5c84433546 Merge pull request #2928 from pandamicro/next
Merge master into next (subpackage support)
2018-07-02 10:34:49 +08:00
pandamicro f1cc4bd5aa Merge remote-tracking branch 'fireball/master' into next 2018-07-02 10:27:46 +08:00
PP 13bc21dd1b fix vec2 signAngle func (#2925) 2018-07-01 17:50:42 +08:00
pandamicro 93e115ebdd Add runtime parameter and disable CC_SUPPORT_JIT (#2926) 2018-07-01 01:51:00 +08:00
黄家辉 ecc8bb0599 test (#2910) 2018-06-30 20:29:00 +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
yinkaile 48496e6975 refine loadSubpackage (#2924) 2018-06-29 12:34:47 +08:00
Jare Guo 1d30cf8736 fix merge issue (#2923) 2018-06-29 10:21:07 +08:00
Jare Guo 142646de80 Merge 1.9
# Conflicts:
#	cocos2d/core/videoplayer/CCSGVideoPlayer.js
2018-06-28 18:35:37 +08:00
Jare Guo 3025da37aa Merge pull request #2921 from knoxHuang/fix_bug
fix fullScreen and videoplay bug for wxgame
2018-06-28 18:27:38 +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
yinkaile 13f46cd3ce add loadSubpackage api (#2914)
* add loadSubpackage api

* refine code

* refine code
2018-06-28 16:46:46 +08:00
Knox 93804c9f00 fix _unregisterAccelerometerEvent err (#2918) 2018-06-28 15:58:43 +08:00
PP 8299a9052f remove jsb && jsb_polyfill (#2913) 2018-06-28 09:27:45 +08:00
pandamicro 1f94f812a3 Fix typo in VideoPlayer (#2917) 2018-06-27 16:43:11 +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
黄家辉 42fe5c3eac add progress param to the preloadScene (#2907) 2018-06-27 09:52:17 +08:00
Knox f38ed3675f fixed editorbox stayOnTop exTxt value error (#2905) 2018-06-26 18:34:20 +08:00
Knox a4eb3ba811 fix dragonBones parseDragonBonesData bug in jsb (#2892)
* fix dragonBones parseDragonBonesData bug in jsb

* refine code
2018-06-26 16:42:39 +08:00
pandamicro 8ebb2bb9dd Fix recycle one audio object multiple times issue (#2903) 2018-06-26 15:24:49 +08:00
pandamicro 2bb675522e Refactor engine boot process (#2902)
* Wrap cc._initDebugSettings & cc._getError to debugUtil module

* remove CCDebugger require

* Refactor engine boot process

* Issue fixes

* Remove duplicated ENGINE_VERSION define

* Encapsulate cc.debug with debug related APIs

* Expose cc.debug

* Fix editor require issue

* Add API deprecations
2018-06-26 15:12:26 +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
Jare Guo e5309dab41 Merge commit v1.9-release
# Conflicts:
#	cocos2d/audio/CCAudio.js
#	cocos2d/core/CCGame.js
#	cocos2d/core/assets/CCSpriteAtlas.js
#	cocos2d/core/label/CCSGLabel.js
#	extensions/dragonbones/ArmatureDisplay.js
#	extensions/dragonbones/CCTextureData.js
2018-06-26 10:41:57 +08:00
Knox 6853a42082 fix dragonbones texturedata clear error (#2901) 2018-06-25 18:10:07 +08:00
Knox 8238e0d306 fix dragonBones parseDragonBonesData bug in jsb (#2890)
* fix dragonBones parseDragonBonesData bug in jsb

* remove code comments
2018-06-25 16:30:44 +08:00
pandamicro fbed0720ec Reuse Audio object and DOM element to improve AudioEngine performance (#2899)
* Reuse dom audio element

* Reuse Audio object to improve AudioEngine performance

* Reuse cc.Audio after setting src to null

* Fix cc.Audio unbindEnded
2018-06-25 16:23:42 +08:00
King Wang 86dd4aa72a Bug Fixed:onLostFocusInEditor被错误触发的问题 (#2897) 2018-06-24 22:12:54 +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 b0aec71174 Fix parentOpacity mistake (#2888) 2018-06-22 14:37:10 +08:00
pandamicro 5b0b7953ce Migrate data from color.a to opacity (#2886)
* Migrate data from color.a to opacity

* Simplify opacity calculation in render flow
2018-06-22 14:08:07 +08:00
Jare Guo 306bb943be fix api (#2887) 2018-06-22 13:49:09 +08:00
子龙山人 a94e1f29a8 fix label rendering issue (#2880) 2018-06-21 14:52:14 +08:00
Knox 980640814f remove CCAudio redundancy code (#2884) 2018-06-21 14:51:52 +08:00
pandamicro cd4d20b355 Update engine version (#2883) 2018-06-21 13:26:00 +08:00
pandamicro 19886c92fb Fix audio engine leak in stop & ended callback (#2882)
* Improve cc.Audio.play

* Fix AudioEngine end/stop callback issue

* Improve logic
2018-06-21 13:22:29 +08:00
minggo cc14f04779 adapt editbox for mac (#2879) 2018-06-21 09:57:11 +08:00
kenshin 6c3f32669d Fix wechat game issues (#2869)
Fix wechat game upload texture with data issue
2018-06-20 15:53:21 +08:00
黄家辉 832c3f93ce fixed the game EVENT_HIDE and SHOW callback twice issue (#2878) 2018-06-20 14:06:07 +08:00