Commit Graph

6472 Commits

Author SHA1 Message Date
pandamicro dbb8dc4c90 Merge remote-tracking branch 'origin/master' into next 2018-05-29 18:59:36 +08:00
Knox db5da9e13f improve EditorBox to wxgame for fireball/issues/7385 (#2759) 2018-05-29 18:30:07 +08:00
Knox ac9923359f fix fireball/issues/7405 (#2754)
* fix fireball/issues/7405

* refine code
2018-05-29 17:23:51 +08:00
Knox 0ea8ec2932 fixed webview and video-player display err for fireball/issues/7410 (#2756) 2018-05-29 17:20:07 +08:00
Jare Guo 85f3603546 Merge branch 'v1.9-release'
# Conflicts:
#	cocos2d/audio/CCAudioEngine.js
2018-05-29 16:45:35 +08:00
Jare Guo 3afbc28577 Merge branch 'v1.9' into v1.9-release 2018-05-29 15:26:53 +08:00
PP 6fc2df6f89 simplify audioEngine resume (#2752) 2018-05-29 15:10:54 +08:00
Knox 225ff11b75 add EditorBox to wxgame for fireball/issues/7385 (#2755) 2018-05-29 14:29:52 +08:00
Knox c50ad3f079 fix Label + LabelOutline display error for fireball/issues/7398 (#2748)
* fix Label + LabelOutline display error for fireball/issues/7398

* refine code
2018-05-29 10:57:25 +08:00
PP 9e8e43c2ff pause animation playing when unenabled (#2718)
add animation warn id
fix animation bug
添加注释
英文注释
2018-05-29 10:02:02 +08:00
Jare Guo 92e99f3038 new instantiated nodes should clean it's fileId before adding to other prefabs. (#2753) 2018-05-29 09:27:29 +08:00
James Chen 4e6de2b894 Handle all keyboard events. (#2751) 2018-05-28 23:34:06 +08:00
pandamicro 2e05573876 Issue fixes and upgrade version (#2749)
* Remove cc.create3DContext

* Check LabelOutline to avoid issue when module absent

* Update to 2.0.0 preview

* Fix AnimationState event API issues
2018-05-28 18:53:59 +08:00
pandamicro 5b99f8cdfa Fix API doc configs (#2750) 2018-05-28 18:22:37 +08:00
Jare Guo c263ed7795 Merge branch 'v1.9' 2018-05-28 10:36:34 +08:00
Knox 9029fe0447 fix fireball/issues/7369 (#2741) 2018-05-27 23:00:25 +08:00
Knox 2b35813c26 fix fireball/issues/7368 (#2743) 2018-05-25 18:19:10 +08:00
Knox 0c0716671c fix EditorBox unable to input Chinese for fireball/issues/7286 (#2732) 2018-05-25 15:30:54 +08:00
Knox 82eb89f4e7 add _calculateSlicedUV to SpriteFrame for fireball/issues/7354 (#2737)
* add _calculateSlicedUV to SpriteFrame for fireball/issues/7354

* refine code
2018-05-25 15:09:38 +08:00
James Chen 0a15ee7d4f Supports keyboard event. (#2734) 2018-05-25 14:59:35 +08:00
PP 5217d2af1c remove useless code in EditBoxImpl (#2738) 2018-05-25 14:41:19 +08:00
Jare Guo c951d8c620 VideoPlayer should accpet asset object (#2722) 2018-05-25 13:51:12 +08:00
pandamicro e5707d5a45 Fix modules.json (#2736) 2018-05-25 10:59:27 +08:00
pandamicro 0c0d8fe515 Merge pull request #2735 from pandamicro/next
Merge master to next
2018-05-24 19:15:14 +08:00
pandamicro c498b8092e Remove compatibility code 2018-05-24 19:13:30 +08:00
pandamicro efaf0c5d4d Merge remote-tracking branch 'fireball/master' into next 2018-05-24 19:04:55 +08:00
pandamicro bbf047f574 Improve particle sys performance by pre fill uv datas (#2733) 2018-05-24 18:06:42 +08:00
pandamicro ecf9a540d1 Fix rotated sprite frame in sliced mode (#2731) 2018-05-24 17:12:45 +08:00
pandamicro acb08dcab5 CPU based ParticleSystem implementation (#2730)
* Add RenderComponent markForCustomIARender

* CPU based ParticleSystem implementation

* Remove GPU based ParticleMaterial
2018-05-24 16:05:15 +08:00
pandamicro 8aea3b8be6 Small fixes for ParticleSystem reimplementation (#2729)
* Refactor vfmtPosColorUv to vfmtPosUvColor

* Fix Node getNodeToWorldTransform

* Reset quad buffer during walker reset

* Fix affine transform api doc

* Remove useless uintbuf
2018-05-24 15:57:43 +08:00
James Chen 3c5f779606 Cache supported extensions and support to get compressed texture extension object. (#2725)
* Empty implementation for Node.insertBefore and Node.replaceChild.

* Mouse event should contain `button` & `which` & pageX & pageY properties.

* Removes insertBefore assignment in HTMLElement.js.

* Cache supported extensions and support to get compressed texture extension object.

* Return an empty object if we found the extension but it's not in extensionMap.
2018-05-24 10:08:55 +08:00
PP 112f8a4e9d fix tiledMap relative texture path (#2724) 2018-05-23 18:19:45 +08:00
yinkaile 22948c2081 fixed canvas render flow (#2721) 2018-05-23 14:49:30 +08:00
PP 820f22f32d load spine url with hashValue (#2711) 2018-05-23 11:51:07 +08:00
黄家辉 a80b52c37c correct the support of webgl for UC browser (#2706) 2018-05-23 10:06:01 +08:00
yinkaile 7158d8635a fixed motions streak set texture to null (#2714) 2018-05-23 10:03:10 +08:00
Knox 81f35845fc Improve checking whether is a subdomain method (#2719) 2018-05-23 10:00:59 +08:00
pandamicro 45cf7dc1e1 Fix issues of animation state and private node (#2717)
* Fix private node position update issue

* Fix animation state event API issues

* Remove useless constant

* Improve PrivateNode doc and fix its zIndex
2018-05-23 09:56:36 +08:00
James Chen 58e360ac89 Supports mouse event for desktop platforms. (#2713)
* Supports mouse event for desktop platforms.

* Adds MouseEvent.js
2018-05-22 20:11:09 +08:00
黄家辉 3926c447d4 correct the note of getManifold function (#2708) 2018-05-22 19:53:40 +08:00
Jare Guo 94be219810 Merge branch 'v1.9'
# Conflicts:
#	cocos2d/audio/CCAudio.js
2018-05-22 19:47:56 +08:00
pandamicro 9706bcdbcc Upgrade render engine (#2716) 2018-05-22 16:44:28 +08:00
Knox fae2cfceab fix fireball/issues/7323, loading image should return an image resource (#2712) 2018-05-22 15:42:15 +08:00
Knox 29fa51c47b fix audio bug in wxgame for fireball/issues/7325 (#2709)
* fix audio bug in wxgame for fireball/issues/7325

* update CC_WECHATGAME and CC_QQPLAY value

* refine CCAudio code
2018-05-22 10:20:09 +08:00
minggo 02c0153554 fix crash when parsing Effect property (#2710) 2018-05-22 09:41:01 +08:00
Jare Guo 5e24ddb8c5 Merge pull request #2704 from pandamicro/next
Add Texture premultiply alpha serialization support
2018-05-21 16:55:20 +08:00
pandamicro 950a68d164 Improve texture2d deserialize 2018-05-21 15:14:46 +08:00
chenxianyin bc42a8a7cf Issue fixes for audio preload and Scale9Sprite.FillType (#2707)
* fix audio reload error, more preload call won't create more WebAudioElement yet.

* fix JSB cc.Scale9Sprite.FillType error.
2018-05-21 14:09:43 +08:00
James Chen 2d7e3ade55 Reverts HTMLCanvasElement change in PR #2684. (#2700)
* Reverts HTMLCanvasElement change in PR #2684.
It's a bug of alignment value while reading texture. Adds _alignment variable in HTMLCanvasElement.

* Default value of width& height of Canvas is 0.

* Call PixelStorei before texImage2D in C++.
2018-05-21 09:54:36 +08:00
pandamicro 92865d88da Add Texture premultiply alpha serialization support 2018-05-18 17:04:39 +08:00