Commit Graph

7807 Commits

Author SHA1 Message Date
黄家辉 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
yinkaile 0d22c7c504 improve init ttf texture (#2875)
* improve init ttf texture

* fixed richtext undo/redo
2018-06-19 21:14:12 +08:00
Knox f378941da4 fix failed to trigger the audio ended event (#2873) 2018-06-19 18:48:31 +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 1c779c3dd8 Remove eventManager custom event usage (#2876) 2018-06-19 16:36:30 +08:00
pandamicro 5e55976997 Improve Node event emit performance (#2862)
* Improve Node event emit performance

* Simplify Node event emit by removing event obj

* Fix example
2018-06-19 15:34:19 +08:00
pandamicro 2bdd981917 Full screen show all rendering mode (#2874) 2018-06-19 12:10:31 +08:00
yinkaile d8bcdb8f0f define class name (#2872) 2018-06-19 12:04:22 +08:00
pandamicro 3e4171ef63 Fix components undo issue in editor (#2871) 2018-06-19 11:29:20 +08:00
Jare Guo c09cad99b1 Merge 1.9-release 2018-06-19 11:26:16 +08:00
pandamicro 153b4f5867 Merge pull request #2867 from umbrellaPP/next
check whether has editBox module in jsb
2018-06-16 18:23:28 +08:00
pandamicro 02831bdc87 Merge pull request #2870 from pandamicro/merge
Merge master to next
2018-06-15 18:55:14 +08:00
pandamicro 28af367412 Fix var 2018-06-15 18:53:09 +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 01aa472a17 check whether has editBox module in jsb 2018-06-15 16:06:02 +08:00
yinkaile bcec69da50 fixed render error (#2861)
* fixed render error

* refine code

* refine code
2018-06-15 15:42:49 +08:00
pandamicro 843bf0c39d Remove jsb gfx and renderer adapter (#2864)
* Remove jsb gfx and renderer adapter

* Update render engine
2018-06-15 15:13:32 +08:00
PP 4d229b237a add _unregisterAccelerometerEvent (#2865) 2018-06-15 14:45:05 +08:00
minggo a16bde520a add reflection back, only for creator native (#2863)
* add reflection back, only for creator native

* include reflection for all native

* rename file name to have the same style
2018-06-15 11:59:12 +08:00
PP 7e1c5cd669 adapt native editBox (#2859) 2018-06-15 10:49:42 +08:00
pandamicro 2a3a75e7fb Fix unit test and circle ci (#2858)
* fix test-animation bug (#2787)

* fix unit test (#2840)

* Improve Sprite & SpriteFrame impl

* Add Sprite inset function deprecation

* Fix unit tests

* fixed the circleci failed test but still pass the commit problem (#2814)

* CircleCI test failed but build successfully problem fixed (#2816)

* Fix Skeleton require

* Another Skeleton mistyping

* Fix phantom environment issues
2018-06-14 14:32:23 +08:00
Knox fd37907239 fixed opacity bug for fireball/issues/7555 (#2847)
* fixed opacity bug for fireball/issues/7555

* refine code
2018-06-13 18:47:00 +08:00
yinkaile e95575c481 move blend factor to CCRenderComponent (#2854)
* move blend factor to CCRenderComponent

* refine code
2018-06-13 16:17:00 +08:00
pandamicro 2918403348 Fix color overwriting issue when sprite frame change (#2857)
* Fix color overwriting issue when sprite frame change

* Fix _localMatDirty type alter issue
2018-06-13 15:00:31 +08:00
yinkaile 3c70b2396f add ttfTexture for ttf label (#2856) 2018-06-13 11:33:54 +08:00