Commit Graph

103 Commits

Author SHA1 Message Date
yinkaile 4d8e97a4a9 support mesh sprite 2018-04-10 13:58:31 +08:00
pandamicro 86585d6a01 Explicitly destroy old gl texture before update 2018-04-08 00:40:07 +08:00
James Chen cec6dc4ce1 cc.SpriteFrame undefined on JSB fix. 2018-04-04 17:53:02 +08:00
pandamicro 0fb074ec82 Cleanup old deprecated APIs 2018-03-22 16:58:55 +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
pandamicro 427f6ad46a Merge pull request #2461 from pandamicro/hash
Add Material Hash for batch breaking
2018-03-22 12:59:28 +08:00
yinkaile 54fe7164de refine code 2018-03-21 18:35:25 +08:00
yinkaile d718101b3e refine code 2018-03-21 17:28:30 +08:00
pandamicro 9f4a67a6f1 Improve material hash id update and compare 2018-03-21 16:39:36 +08:00
yinkaile b9792bcf19 Merge branch 'next' of github.com:fireball-x/engine into next 2018-03-16 15:15:27 +08:00
pandamicro f86b8609df Fix Texture construction issue 2018-03-16 13:43:29 +08:00
pandamicro 8fb952e0cb Add Texture.getId 2018-03-16 12:00:30 +08:00
yinkaile aff6c7a18d support RenderTexture 2018-03-15 16:52:59 +08:00
pandamicro 9f2f71831c Fix issues with QQPlay platform 2018-03-15 15:48:58 +08:00
pandamicro 49fd994035 Move CCTexture2D & CCSpriteFrame to assets 2018-03-13 17:48:38 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
pandamicro ba05646469 Refactor cc.isChildClassOf to cc.js.isChildClassOf 2018-03-12 17:50:26 +08:00
PP 1f448e821f change all JS into js 2018-03-06 11:44:11 +08:00
Jare Guo a6fb92ad90 updating license 2018-02-01 09:38:54 +08:00
Jare Guo bd15543093 updating license: Chukong Aipu -> Xiamen Yaji 2018-01-31 17:51:49 +08:00
Jare Guo b31566d75f Merge 1.8 2018-01-09 18:40:43 +08:00
Jare Guo 2e2fd59193 add CC_SUPPORT_JIT macro 2018-01-03 22:58:37 +08:00
Jare Guo 298ab19d19 fix bug of asset type on JSB 2018-01-03 11:07:45 +08:00
Jare Guo b254c4991b add prefab option to optimize instantiation 2017-12-24 00:22:40 +08:00
Jare Guo 9a758afad1 Merge pull request #2109 from cocos-creator/v1.7
Merge 1.7
2017-11-13 02:50:10 -06:00
Jare Guo bd585d4a5c prefab should be synced if jit can not be used 2017-11-03 01:20:51 +08:00
Jare Guo e3a588169c working on texture 2017-10-29 00:27:42 +08:00
Jare Guo 23f0cb4a6b Merge master into asset
# Conflicts:
#	cocos2d/core/load-pipeline/CCLoader.js
#	cocos2d/core/platform/deserialize.js
#	gulpfile.js
#	jsb/jsb-loader.js
2017-10-23 18:00:20 +08:00
yinkaile 62841321a5 fallback function if not support Function 2017-10-19 17:32:03 +08:00
Jare Guo 64c13c7dab sync jsb 2017-09-23 09:02:13 +08:00
Jare Guo a39f58d916 reviewed 2017-09-22 00:39:45 +08:00
Jare Guo 6ddb0eac7d load texture as url or object and deprecate spriteFrame._textureLoaded 2017-09-18 18:13:23 +08:00
Jare Guo 301f4e709a refactoring API of cc.Asset: rawUrl -> nativeUrl, _rawFile -> _native, _setRawFile(s) -> _setRawAsset, rawType -> _nativeObject 2017-09-18 18:13:23 +08:00
Jare Guo afabe198a9 support loading texture assets from packs 2017-09-18 18:13:23 +08:00
Jare Guo 40c6f1829b deprecate @property(cc.Texture2D) value = null; in class defined by using ES6 or TypeScript 2017-09-18 18:13:23 +08:00
Jare Guo efa57bb48f make texture as common asset 2017-09-18 18:13:23 +08:00
Jare Guo 5a8fb71683 refine Texture2D (+1 squashed commit)
Squashed commits:
[84eb8b3] refine Texture2D
2017-09-18 18:13:23 +08:00
Jare Guo 200c41a74b should not auto release assets used by persist nodes 2017-08-22 13:58:50 +08:00
Jare Guo 480ae19826 minor tweak 2017-08-21 15:35:13 +08:00
Jare Guo a78bd81a62 refine AssetLibrary api 2017-06-27 22:45:32 +08:00
Jare Guo f054f504b6 fix typescript api 2017-04-26 17:17:59 +08:00
Nan Wang d9b5cef497 merge v1.4 2017-03-29 18:16:41 +08:00
zilongshanren fd2d1a1bc2 use font asset as cache 2017-03-16 10:03:14 +08:00
Nan Wang 3ac4c75c1e add typescript class, add decorator for typescript 2017-03-02 18:39:13 +08:00
Jare Guo ece54ef8a4 support asyncLoadAssets on Prefab 2017-01-19 11:10:46 +08:00
Jare Guo 5320ab1a65 name of prefab node should equals to prefab asset 2016-12-28 22:40:28 +08:00
zilongshanren a514d4ddc6 make labelatlas inheritent from bitmapfont 2016-12-23 21:18:41 +08:00
zilongshanren 025f92da24 finish labelatlas 2016-12-23 17:43:38 +08:00
zilongshanren 0d0d18c1b7 add bmfont batch rendering
commit 68c7b5ed8e174238514b4b680634f197a976de60
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Dec 21 11:19:21 2016 +0800

    finish web bmfont batch

commit 3d038e14128a375848efec99f3706c0e252cdbd0
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Dec 16 17:25:05 2016 +0800

    bitmap support spriteframe on web

commit 87d371410de223956c50bd5a4b85958973181c11
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Dec 16 16:42:51 2016 +0800

    make bitmap depends on spriteframe
2016-12-21 16:49:09 +08:00
Nan Wang 52b1a7658c fix merge conflict of CCLoader getReferenceKey 2016-12-16 10:53:37 +08:00