Commit Graph

68 Commits

Author SHA1 Message Date
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
pandamicro e7a1d59dcc Remove useless typeof check 2018-04-16 16:31:35 +08:00
pandamicro 45b7e033c3 Use lowerCase variable for objects 2018-03-14 13:53:17 +08:00
pandamicro ba05646469 Refactor cc.isChildClassOf to cc.js.isChildClassOf 2018-03-12 17:50:26 +08:00
pandamicro b778dde9c9 Fix wechat game HTMLVideoElement issue and deserialize issue 2018-03-08 11:42:36 +08:00
PP 67afe336d2 partly change JS into js 2018-03-06 11:47:09 +08:00
pandamicro 92b7e56fea update deserialize code and add autoReleaseAssets type 2018-02-07 15:26:02 +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 e3b7190cd6 support migration for texture array 2017-12-26 10:00:57 +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 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 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 47dc522e92 support formerlySerializedAs attribute 2017-08-31 12:27:49 +08:00
Jare Guo 78b7a0d149 optimize deserialize 2017-08-24 13:00:53 +08:00
Jare Guo eed3cc2d0f fix deserialization about TypeScript 2017-08-15 22:23:03 +08:00
Jare Guo ff9e5f22c9 dont wrap typeof in deserializer on JSB 2017-06-29 14:27:04 +08:00
Jare Guo d936b9628b fix CC_DEV in build worker 2017-06-21 17:34:17 +08:00
Jare Guo dbb7519f50 tweaks 2017-06-21 10:21:24 +08:00
Jare Guo 05b398abe4 optimize deserialize 2017-05-15 15:52:20 +08:00
Jare Guo 9481afcae8 optimize deserialization 2017-05-11 17:55:50 +08:00
Jare Guo e160cb4399 fix color deserialization 2017-05-09 16:44:07 +08:00
Jare Guo 633e976f69 optimizing startup time by reusing property descripter 2017-05-05 13:37:03 +08:00
Jare Guo a4beba2740 use Function instead eval to optimize evaluation and variable mangling (cocos-creator/fireball#5220) 2017-02-14 17:33:57 +08:00
Jare Guo 0192e50569 Merge branch 'v1.4'
# Conflicts:
#	cocos2d/core/CCNode.js
2017-02-09 11:19:38 +08:00
Jare Guo bd6750fc0a fix prefab loading issue 2017-02-08 12:06:45 +08:00
Jare Guo 5f9e46996b refine CCClass 2017-02-04 02:24:03 +08:00
Jare Guo 64e253a1e7 Sync 1.4 2017-01-24 15:16:29 +08:00
Jare Guo 8d81fb6181 should not export unneed prefab asset while building 2017-01-22 16:20:39 +08:00
Jare Guo 8da330d3a7 Scene now inherit from Node so some Node verification should be refactored 2017-01-12 14:47:51 +08:00
Jare Guo 8becd8f9d7 improve log if script not found 2016-12-27 17:04:20 +08:00
Jare Guo 31efbebb60 fully support serialization for FastDefined value types 2016-12-23 14:11:45 +08:00
Nan Wang 4dea8e7a8a move all error logs to DebugInfos.js and only show error id in release build 2016-12-15 17:07:01 +08:00
Jare Guo 0c3796d6c0 fix optimize deserialization by hard coding Vec2 and Color 2016-11-26 00:05:57 +08:00
Jare Guo 7b9eefa677 optimize deserialization by hard coding Vec2 and Color 2016-11-25 15:16:02 +08:00
Jare Guo c4bc9e96b6 optimize deserialization by using eval 2016-11-25 14:24:35 +08:00
Jare Guo 08a6b31398 sync with changes of Editor.utils 2016-11-09 10:51:07 +08:00
Nan Wang 032d2d2abd fix api doc reference 2016-10-20 18:36:01 +08:00
Jare Guo 1f80aa3291 make widget's enable state persist when animation editor not changed 2016-08-01 12:08:31 +08:00
Jare Guo e9b07c435b minor tweaks 2016-07-26 14:40:23 +08:00
Jare Guo 1a7b909ed0 simplify deserialization visitor 2016-07-26 14:40:23 +08:00
Jare Guo 2cd4b08e68 make missing script behavior customizable 2016-07-26 14:40:23 +08:00
Jare Guo b1fadcc04e add ignoreEditorOnly mode for deserialization 2016-07-26 14:40:23 +08:00
Jare Guo 51c4a0756d remove cc.isEditor, use CC_EDITOR instead to reduce engine size 2016-07-22 11:44:26 +08:00
Jare Guo a66aee3f31 Merge pull request #896 from jareguo/attr
reimplement attribute system
2016-07-18 10:04:50 +08:00