Commit Graph

748 Commits

Author SHA1 Message Date
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 efaf0c5d4d Merge remote-tracking branch 'fireball/master' into next 2018-05-24 19:04:55 +08:00
黄家辉 a80b52c37c correct the support of webgl for UC browser (#2706) 2018-05-23 10:06:01 +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
pandamicro a7a566ff2a 2.0 alpha 11 issue fixes (#2694)
* Fix variable leak to global scope

* Fix Texture update issue

* Fix video player _playing state setting issue

* Improve macro doc
2018-05-16 17:00:31 +08:00
James Chen fa3783a991 Minor JS logic fixes in CCSys.js and MediaError.js. (#2676) 2018-05-14 15:26:33 +08:00
James Chen cd07d03b7d Removes wx API invocations for JSB projects. (#2668)
* Removes wx API invocation for JSB projects.

* sys.openURL fix for JSB.

* touches, mouse, keyboard capabilities check.
2018-05-11 18:00:40 +08:00
Jare Guo ebf7d7d730 register component to scene after ctor (#2661) 2018-05-10 17:00:59 +08:00
Jare Guo 04d8a432f6 fix _id in editor (#2658) 2018-05-09 19:31:34 +08:00
Jare Guo 550e85b9e2 update _id management (#2648) 2018-05-09 09:58:51 +08:00
pandamicro 8a92606e29 Fix _id reset issue 2018-05-08 19:05:12 +08:00
Jare Guo 35b253c852 Merge branch 'v1.9'
# Conflicts:
#	CCBoot.js
#	cocos2d/audio/CCAudio.js
#	cocos2d/core/sprites/CCScale9Sprite.js
2018-05-08 15:28:58 +08:00
Knox f4568fada0 optimization audio label texture2d , fix sprite bug (#2631)
* optimization audio label texture2d , fix sprite bug

* refine code
2018-05-07 14:24:41 +08:00
黄家辉 4d3a921116 add a new judgement about mobile platform type in wecaht devtools (#2623) 2018-05-07 11:46:38 +08:00
Jare Guo 32205ee27b define apisrc.json in this repo 2018-05-05 18:07:40 +08:00
Jare Guo b24b5c0bfd Merge branch 'v1.9' into master 2018-05-05 14:54:11 +08:00
pandamicro e597e34f4f Remove __instanceId from Node and Component (#2627)
* Add Scheduler.enableForTarget and change to use  _id

* Use _id instead of __instanceId in Texture2D

* Fix ParticleSystem __instanceId usage

* Use _id instead of __instanceId in ActionManager

* Fix usage of Scheduler in InputManager

* Use _id instead of __instanceId in EventManager

* Totally remove ClassManager and __instanceId

* Fix initialization process

* Fix touch & mouse listener off check issue

* Fix id not generated issue

* Fix touch & mouse listener being removed by rejected persist node

* Improve logic
2018-05-04 13:51:21 +08:00
pandamicro 6b655b3717 Merge pull request #2619 from knoxHuang/v1.9-release
Fix qqplay Blue Screen bug when ios version is less than 10,
2018-05-04 10:09:58 +08:00
knox d9a6cd746c improve code 2018-05-04 10:07:38 +08:00
knox 8e45081cab add osMainVersion and supportArrayBuffer to qqplay 2018-05-03 10:03:14 +08:00
knox 1116f8e9d2 Fix qqplay Blue Screen bug when ios version is less than 10, 2018-05-02 16:32:28 +08:00
Jare Guo c47f5aa68e Merge branch 'v1.9'
# Conflicts:
#	cocos2d/actions/CCActionInterval.js
#	cocos2d/audio/CCAudioEngine.js
2018-04-27 14:20:10 +08:00
pandamicro 38c61c70b4 Refactor EventTarget: remove hasListenerCache, move dispatch APIs to Node (#2595)
* Improve node property setter performance

* Avoid physics sync trigger events

* Improve callbacksHandler.has performance

* Use flag instead of hasListenerCache in animation state

* Remove hasListenerCache, add event target APIs for dispatch

* Fix some issues

* Fix event target has check

* Expose EventType and LocalDirtyFlag

* Move dispatch related APIs to Node and fix issues

* Refactor event target

* Fix sub listener usage for event target

* Improve code

* Remove callbacksInvoker.has
2018-04-26 21:50:27 +08:00
PP aa5c9bba27 set event.detail as null (#2589)
Release event.detail before put to pool & fix wx.getOpenDataContext issue
2018-04-24 22:26:04 +08:00
pandamicro 7b98f49cd6 Fix updateWorldVerts based on worldMatUpdated and other issues (#2593)
* Fix updateWorldVerts based on worldMatUpdated

* Fix issues
2018-04-24 22:23:18 +08:00
minggo 92241e4ca9 fix bugs for new renderer (#2574)
* gulp task: add clean cache & support native renderer

* fix binding codes of Texture2D.updateSubImage

* fix some issues

* fix Texture2D.updateSubImage()
2018-04-20 14:43:58 +08:00
pandamicro ef97c6fa2b Support 3d transform with polyfill3d 2018-04-20 00:45:15 +08:00
pandamicro 0f87a11100 Merge pull request #2564 from cocos-creator/optimize
Merge optimizations into next
2018-04-19 18:31:30 +08:00
pandamicro 27f2bd412c Fix js.getset 2018-04-17 10:36:34 +08:00
pandamicro 3ffdf16c61 Fix issues for next merging dev 2018-04-16 19:44:34 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
pandamicro e7a1d59dcc Remove useless typeof check 2018-04-16 16:31:35 +08:00
Jare Guo c2368128aa minor update 2018-04-13 23:10:42 +08:00
Jare Guo 75b922eed3 remove resources path from settings.js 2018-04-12 09:51:19 +08:00
Jare Guo 0a932aef00 replace all RawAssets with Assets 2018-04-09 14:48:21 +08:00
Jare Guo d6332ae1a5 Merge pull request #2504 from cocos-creator/v1.9
sync branch
2018-04-04 18:22:59 +08:00
James Chen ee3afd4403 bugfix in equalsToDefault. 2018-04-04 17:32:29 +08:00
James Chen ebef9795a0 Merge runtime builtin scripts. 2018-04-03 20:55:02 +08:00
zilongshanren 9634311fe7 fix qqplay multiple touch 2018-03-30 16:49:21 +08:00
minggo 02bc807ebf merge and fix conflict 2018-03-30 10:34:50 +08:00
minggo 5a05af7795 fix according review comments 2018-03-30 10:25:54 +08:00
minggo a87ae66cb2 helloworld can run correctly 2018-03-28 09:15:17 +08:00
pandamicro 2e8198861a Support colored image 2018-03-27 18:22:27 +08:00
minggo d9c0236e50 jsb adapt 2018-03-26 14:54:34 +08:00
minggo f91bab267f merge h5 and fix conflict 2018-03-26 11:05:19 +08:00
pandamicro 0fb074ec82 Cleanup old deprecated APIs 2018-03-22 16:58:55 +08:00
pandamicro 259f1c565a Cleanup View APIs 2018-03-22 16:24:32 +08:00
Cocos Ass 4ca7a671ce add Chinese note to 2.0 scripts
add Chinese note to 2.0 scripts
2018-03-22 14:42:13 +08:00
Jare Guo 3210895e46 Merge 1.9
# Conflicts:
#	cocos2d/core/CCGame.js
#	cocos2d/core/load-pipeline/pack-downloader.js
#	cocos2d/core/platform/CCObject.js
2018-03-22 13:45:42 +08:00
knox 2a0bfd932d improve multi-touch for qqplay 2018-03-22 12:05:02 +08:00