Commit Graph

8446 Commits

Author SHA1 Message Date
PP 7620bb93a2 load ttf assets url with hashValue (#2652) 2018-05-15 10:39:51 +08:00
Knox d57064fa43 fix CCMotionStreak color error for fireball/issues/7286 (#2679) 2018-05-15 10:37:26 +08:00
Knox 646a406ebd CCSprite spriteframe avoid RenderFlow.FLAG_RENDER (#2675) 2018-05-15 09:35:32 +08:00
James Chen fa3783a991 Minor JS logic fixes in CCSys.js and MediaError.js. (#2676) 2018-05-14 15:26:33 +08:00
Jare Guo ade0831e5d Merge branch 'v1.9-release' 2018-05-14 11:02:01 +08:00
James Chen 9662eb539b More jsb adapter fixes and adds HTMLScriptElement (#2670)
* jsb-adapter fix.

* reverts.

* tab -> spaces.
2018-05-13 10:29:34 +08:00
pandamicro b4313de272 Fix issue caused by sprite.spriteFrame set to null (#2672) 2018-05-12 17:01:17 +08:00
pandamicro 27fef43853 Issue fixes for 3d project (#2669)
* Remove useless handleLoadedTexture

* Fix RenderFlow flag setting issue

* Remove useless key board event check
2018-05-11 18:24:02 +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
yinkaile f326869f47 fixed richtext (#2667) 2018-05-11 15:42:53 +08:00
yufang.wu af02e776e4 Update loading-items.js (#2665) 2018-05-11 14:10:28 +08:00
yinkaile 15e63fc817 fixed label error (#2664)
* fixed label error

* should not render label if string is empty

* improve color render  flag
2018-05-11 11:19:50 +08:00
Jare Guo ebf7d7d730 register component to scene after ctor (#2661) 2018-05-10 17:00:59 +08:00
pandamicro b7ce3032ba Fix more issues for 2.0 (#2662)
* Use black as camera default clear color

* Fix director delta time issue in editor

* Fix particle system init and editor update issue

* Improve Node API ref
2018-05-10 16:47:44 +08:00
Jare Guo 8d9fc58a6a fix scene reloading (#2660) 2018-05-10 14:59:21 +08:00
Knox 174635b630 fix videoplay md5 err for fireball/issues/6755 (#2657)
* label texture releaseTexture changed _releaseTexture

* fix videoplay md5 err for fireball/issues/6755

* refine code
2018-05-10 10:28:22 +08:00
Jare Guo 6b9c9242fa Merge 1.9 2018-05-09 21:14:29 +08:00
Jare Guo 5f66093006 Merge pull request #2659 from jareguo/v1.9-release
fix api doc
2018-05-09 19:51:19 +08:00
Jare Guo 36e9616ce5 fix api doc 2018-05-09 19:49:14 +08:00
Jare Guo 04d8a432f6 fix _id in editor (#2658) 2018-05-09 19:31:34 +08:00
pandamicro 314b0b55c0 Issue fixes for 2.0 (#2656)
* Generate component _id with uuid in editor

* Fix issues
2018-05-09 18:10:04 +08:00
Jare Guo df06649374 Merge pull request #2654 from knoxHuang/master
fix label display error for fireball/issues/7233
2018-05-09 15:46:30 +08:00
yinkaile f8988b0aa8 reset dynamic atlas before scene loading (#2655)
* reset dynamic atlas before scene loading

* fixed node undo/redo
2018-05-09 15:40:21 +08:00
knox 904ea1056a fix label display error for fireball/issues/7233 2018-05-09 15:39:12 +08:00
Jare Guo 9e690f0fe1 Merge pull request #2653 from knoxHuang/master
fix ParticleSystem and update EngineErrorMap
2018-05-09 13:31:34 +08:00
knox e98d176f36 refine EngineErrorMap.md 2018-05-09 11:51:19 +08:00
Jare Guo ff5d765917 fix jsb-audio (#2649) 2018-05-09 11:42:16 +08:00
knox 3419688d1d fix ParticleSystem and update EngineErrorMap 2018-05-09 11:27:43 +08:00
pandamicro 1e5cfcad9f Fix Color fromHEX typo (#2651) 2018-05-09 10:31:56 +08:00
pandamicro ec9a718569 Issue fixes for 2.0 (#2650)
* Upgrade render engine

* Fix sprite rendering issue while loading sprite frame

* Fix mesh buffer initialization issue

* Fix color fromHEX

* Remove ;
2018-05-09 10:05:23 +08:00
Jare Guo 550e85b9e2 update _id management (#2648) 2018-05-09 09:58:51 +08:00
yinkaile e4325577ad Next vertex format (#2645)
* restructure vertex format

* update render-engine.js

* refine vertex format

* refine sprite vertex property name
2018-05-08 21:51:27 +08:00
Jare Guo f12f5cd987 Merge pull request #2647 from pandamicro/next
Improve Node/Component _id management
2018-05-08 19:36:46 +08:00
pandamicro 8a92606e29 Fix _id reset issue 2018-05-08 19:05:12 +08:00
Jare Guo 048a41158f Merge pull request #2641 from VisualSJ/v1.9-abc
`active` must synchronize to component
2018-05-08 16:16:20 +08:00
chenxianyin c4f350c54a fix AudioSource load error. (#2616)
* fix AudioSource load error.

* release spriteFrame when you set a null value.

* fix audio preload error, more preload call will not create more WebAudioElement yet.
2018-05-08 15:53:11 +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
SijieWang b400e4b56f review code 2018-05-08 11:50:41 +08:00
minggo ffeada68f3 fix musk issue (#2644) 2018-05-08 11:33:48 +08:00
Knox e3735ce0b8 optimization label memory on qqplay and wechatgame (#2643) 2018-05-08 11:14:16 +08:00
pandamicro 26de29f489 Upgrade renderer.js to 1.8.3 (#2642) 2018-05-08 10:34:28 +08:00
PP fbaf432017 remove setTimeout when stop audio (#2639) 2018-05-08 10:23:19 +08:00
SijieWang 9bc8c63379 move code to onRestore 2018-05-07 18:16:10 +08:00
SijieWang 0e854f3cc4 active must synchronize to component 2018-05-07 18:01:58 +08:00
pandamicro 1034635917 Upgrade render-engine (#2638) 2018-05-07 17:56:14 +08:00
SijieWang 06b1965b8c sizeProvider.visible needs to be updated 2018-05-07 17:21:31 +08:00
pandamicro 13314a1298 Fix native build issue (#2636) 2018-05-07 17:14:24 +08:00
pandamicro 50c91c641c Use RenderFlow to optimize renderer visit process (#2634)
* Optimize (#2601)

* support render flow

* small improve

* small improve

* support different vertext format for buffer

* optimize dynamic atlas

* fixed sprite assemblers

* store uvs in spriteframe

* fixed issues

* fixed mask

* remove unused code

* small improve

* small fix

* upgrade assemblers

* refine code

* set id for vertex format name

* Fix mesh buffer initialize issue on native

* Fix spine node setting issue

* fixed dragonbone assembler (#2635)
2018-05-07 15:47:48 +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