diff --git a/HotUpdateDemo/assets/Scene/helloworld.fire b/HotUpdateDemo/assets/Scene/helloworld.fire index 18f9e6d..5300359 100644 --- a/HotUpdateDemo/assets/Scene/helloworld.fire +++ b/HotUpdateDemo/assets/Scene/helloworld.fire @@ -361,7 +361,7 @@ }, "_enabled": true, "_useOriginalSize": false, - "_actualFontSize": 40, + "_actualFontSize": 60, "_fontSize": 60, "_lineHeight": 60, "_enableWrapText": true, @@ -413,6 +413,7 @@ "_enabled": true, "manifestUrl": { "__uuid__": "2857653b-09b5-4724-a067-615f6905fbc2" - } + }, + "_hotUpdateName": "game-remote-asset" } ] \ No newline at end of file diff --git a/HotUpdateDemo/assets/Script/HelloWorld.js b/HotUpdateDemo/assets/Script/HelloWorld.js index b8d80cc..3da3b53 100644 --- a/HotUpdateDemo/assets/Script/HelloWorld.js +++ b/HotUpdateDemo/assets/Script/HelloWorld.js @@ -13,10 +13,28 @@ cc.Class({ // use this for initialization onLoad: function () { this.label.string = this.text; + + this.hotUpdateScript = this.node.getComponent('HotUpdate'); + this.hotUpdateScript.init(this.onHotUpdateFinish.bind(this)); + }, + + //热更新完成 + onHotUpdateFinish() { + console.log('onHotUpdateFinish'); + }, + + //查看进度 + onHotUpdateProgess(byteProgess, fileProgess) { + console.log(byteProgess, fileProgess); + }, + + onHotUpdateFailure(type) { + console.log('type=', type); }, // called every frame update: function (dt) { + }, -}); +}); \ No newline at end of file diff --git a/HotUpdateDemo/assets/Script/HotUpdate.js b/HotUpdateDemo/assets/Script/HotUpdate.js index d5e9da5..c37c090 100644 --- a/HotUpdateDemo/assets/Script/HotUpdate.js +++ b/HotUpdateDemo/assets/Script/HotUpdate.js @@ -1,28 +1,32 @@ - +const ErrCode = cc.Enum({ + laodManifestFailed: 0, //下载manifest失败 + updateFailed: 1, //更新失败, +}); cc.Class({ extends: cc.Component, properties: { manifestUrl: cc.RawAsset, - }, - - // LIFE-CYCLE CALLBACKS: - - onLoad() { - - this.init(); - this.checkUpdate(); + _hotUpdateName: 'game-remote-asset' }, /** - * 初始化 + * + * @param {*} nextFn */ - init() { - this._storagePath = ((jsb.fileUtils ? jsb.fileUtils.getWritablePath() : '/') + 'blackjack-remote-asset'); + init(nextFn, progressFn, failedFn) { + this.nextFn = nextFn; + this.progressFn = progressFn; + this.failedFn = failedFn; + if ((cc.sys.os != cc.sys.OS_ANDROID) || (cc.sys.os != cc.sys.OS_IOS)) { + console.log('is not OS_ANDROID or OS_IOS'); + nextFn(); + return; + } + this._storagePath = ((jsb.fileUtils ? jsb.fileUtils.getWritablePath() : '/') + this._hotUpdateName); cc.log('Storage path for remote asset : ' + this._storagePath); - this.versionCompareHandle = function (versionA, versionB) { - console.log('versionA=' + versionA + ' versionB=' + versionB); + console.log('versionLocal=' + versionA + ' versionRemote=' + versionB); var vA = versionA.split('.'); var vB = versionB.split('.'); for (var i = 0; i < vA.length; ++i) { @@ -30,15 +34,13 @@ cc.Class({ var b = parseInt(vB[i] || 0); if (a === b) { continue; - } - else { + } else { return a - b; } } if (vB.length > vA.length) { return -1; - } - else { + } else { return 0; } }; @@ -52,8 +54,7 @@ cc.Class({ var compressed = asset.compressed; if (compressed) { return true; - } - else { + } else { return true; } }); @@ -61,26 +62,44 @@ cc.Class({ if (cc.sys.os === cc.sys.OS_ANDROID) { this._am.setMaxConcurrentTask(2); } + //检查是否为最新 + this.checkUpdate(); }, //热更新完成 or 不需要热更新 进入游戏 onEnterGame: function () { - + this.nextFn(); }, + + /** + * 下载文件进度 + */ + onDownloadProgess(byteProgress, fileProgress) { + if (this.progressFn) this.progressFn(fileProgress, byteProgress); + }, + + /** + * 热更新过程中,出现问题 + * @param {*} type 0为检查更新过程,1为下载文件过程 + * @param {*} err + */ + onFailure(type) { + console.log('type=', type, 'err=', err); + if (this.failedFn) this.failedFn(type); + }, + /** * 检查更新 */ checkUpdate: function () { console.log('start checkUpdate'); - // if (this._updating) { - // // this.panel.info.string = 'Checking or updating ...'; - // return; - // } if (this._am.getState() === jsb.AssetsManager.State.UNINITED) { this._am.loadLocalManifest(this.manifestUrl); } if (!this._am.getLocalManifest() || !this._am.getLocalManifest().isLoaded()) { - this.panel.info.string = 'Failed to load local manifest ...'; + + this.onFailure(ErrCode.laodManifestFailed); + // this.panel.info.string = 'Failed to load local manifest ...'; return; } this._checkListener = new jsb.EventListenerAssetsManager(this._am, this.checkCb.bind(this)); @@ -119,7 +138,7 @@ cc.Class({ console.log('ERROR_NO_LOCAL_MANIFEST'); break; case jsb.EventAssetsManager.ERROR_DOWNLOAD_MANIFEST: - /*1下载配置文件错误*/ + /*1下载配置文件错误*/ case jsb.EventAssetsManager.ERROR_PARSE_MANIFEST: /*2 解析文件错误*/ console.log('ERROR_PARSE_MANIFEST'); @@ -161,8 +180,7 @@ cc.Class({ break; case jsb.EventAssetsManager.UPDATE_PROGRESSION: //显示进度 - // this.panel.byteProgress.progress = event.getPercent(); - // this.panel.fileProgress.progress = event.getPercentByFile(); + this.onDownloadProgess(event.getPercent(), event.getPercentByFile()); break; case jsb.EventAssetsManager.ERROR_DOWNLOAD_MANIFEST: case jsb.EventAssetsManager.ERROR_PARSE_MANIFEST: @@ -179,9 +197,8 @@ cc.Class({ break; case jsb.EventAssetsManager.UPDATE_FAILED: // this.panel.info.string = 'Update failed. ' + event.getMessage(); - // this.panel.retryBtn.active = true; this._updating = false; - this._canRetry = true; + failed = true; break; case jsb.EventAssetsManager.ERROR_UPDATING: // this.panel.info.string = 'Asset update error: ' + event.getAssetId() + ', ' + event.getMessage(); @@ -199,6 +216,7 @@ cc.Class({ cc.eventManager.removeListener(this._updateListener); this._updateListener = null; this._updating = false; + this.onFailure(ErrCode.updateFailed); } if (needRestart) { @@ -207,9 +225,7 @@ cc.Class({ this._updateListener = null; var searchPaths = jsb.fileUtils.getSearchPaths(); var newPaths = this._am.getLocalManifest().getSearchPaths(); - // console.log(JSON.stringify(newPaths)); Array.prototype.unshift(searchPaths, newPaths); - cc.sys.localStorage.setItem('HotUpdateSearchPaths', JSON.stringify(searchPaths)); jsb.fileUtils.setSearchPaths(searchPaths); cc.audioEngine.stopAll(); @@ -218,4 +234,4 @@ cc.Class({ }, // update (dt) {}, -}); +}); \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/BetAdd_1.labelatlas b/HotUpdateDemo/assets/Texture/BetAdd_1.labelatlas new file mode 100644 index 0000000..684eb1f --- /dev/null +++ b/HotUpdateDemo/assets/Texture/BetAdd_1.labelatlas @@ -0,0 +1,3 @@ +{ + "__type__": "cc.LabelAtlas" +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/BetAdd_1.labelatlas.meta b/HotUpdateDemo/assets/Texture/BetAdd_1.labelatlas.meta new file mode 100644 index 0000000..0a7e9bb --- /dev/null +++ b/HotUpdateDemo/assets/Texture/BetAdd_1.labelatlas.meta @@ -0,0 +1,10 @@ +{ + "ver": "1.1.0", + "uuid": "d7993e03-f9b2-4ae0-a062-1cd1ba4ba301", + "itemWidth": 26, + "itemHeight": 34, + "startChar": "/", + "rawTextureUuid": "30a09062-3fa9-4c8b-853e-224f054fbd1b", + "fontSize": 29.92, + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/BetNinus_1.labelatlas b/HotUpdateDemo/assets/Texture/BetNinus_1.labelatlas new file mode 100644 index 0000000..684eb1f --- /dev/null +++ b/HotUpdateDemo/assets/Texture/BetNinus_1.labelatlas @@ -0,0 +1,3 @@ +{ + "__type__": "cc.LabelAtlas" +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/BetNinus_1.labelatlas.meta b/HotUpdateDemo/assets/Texture/BetNinus_1.labelatlas.meta new file mode 100644 index 0000000..07d5371 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/BetNinus_1.labelatlas.meta @@ -0,0 +1,10 @@ +{ + "ver": "1.1.0", + "uuid": "33ea898b-2853-436a-af65-3cf987e63d1e", + "itemWidth": 26, + "itemHeight": 34, + "startChar": "/", + "rawTextureUuid": "3b86d129-2f4f-4b56-a914-a54682d280b0", + "fontSize": 29.92, + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Num_1.labelatlas b/HotUpdateDemo/assets/Texture/Num_1.labelatlas new file mode 100644 index 0000000..684eb1f --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Num_1.labelatlas @@ -0,0 +1,3 @@ +{ + "__type__": "cc.LabelAtlas" +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Num_1.labelatlas.meta b/HotUpdateDemo/assets/Texture/Num_1.labelatlas.meta new file mode 100644 index 0000000..09f1e10 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Num_1.labelatlas.meta @@ -0,0 +1,10 @@ +{ + "ver": "1.1.0", + "uuid": "47a2d7b4-8adc-4d18-aabe-2810f13ca05e", + "itemWidth": 22, + "itemHeight": 34, + "startChar": "0", + "rawTextureUuid": "b57d3160-ad9b-40b9-8360-afe832603f3d", + "fontSize": 29.92, + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Num_2.labelatlas b/HotUpdateDemo/assets/Texture/Num_2.labelatlas new file mode 100644 index 0000000..684eb1f --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Num_2.labelatlas @@ -0,0 +1,3 @@ +{ + "__type__": "cc.LabelAtlas" +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Num_2.labelatlas.meta b/HotUpdateDemo/assets/Texture/Num_2.labelatlas.meta new file mode 100644 index 0000000..4a44dfb --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Num_2.labelatlas.meta @@ -0,0 +1,10 @@ +{ + "ver": "1.1.0", + "uuid": "d4e76376-38ca-48c9-8a05-8d5c4d481542", + "itemWidth": 25, + "itemHeight": 41, + "startChar": "0", + "rawTextureUuid": "3168d4b0-dd6b-47fe-bb3e-372234dc7a17", + "fontSize": 36.08, + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle.meta b/HotUpdateDemo/assets/Texture/Particle.meta new file mode 100644 index 0000000..d31968d --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.1", + "uuid": "232d6589-9432-47ac-b62f-18dc7c2d2138", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/GameWin.plist b/HotUpdateDemo/assets/Texture/Particle/GameWin.plist new file mode 100644 index 0000000..5791bf7 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GameWin.plist @@ -0,0 +1,107 @@ + + +angle +90 +angleVariance +360 +duration +-1 +startParticleSize +20 +startParticleSizeVariance +5 +finishParticleSize +5 +finishParticleSizeVariance +0 +gravityx +0 +gravityy +50 +maxParticles +25 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.5 +particleLifespanVariance +2 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +0 +rotationStart +123 +rotationStartVariance +0 +sourcePositionVariancex +200 +sourcePositionVariancey +10 +sourcePositionx +324.95 +sourcePositiony +342.897 +speed +40 +speedVariance +10 +startColorAlpha +1 +startColorBlue +0.498039 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +1 +finishColorBlue +0 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +GameWin.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/GameWin.plist.meta b/HotUpdateDemo/assets/Texture/Particle/GameWin.plist.meta new file mode 100644 index 0000000..e17da73 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GameWin.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "8eb0b034-9b2e-411d-90ee-e69e98f7abfc", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/GameWin.png b/HotUpdateDemo/assets/Texture/Particle/GameWin.png new file mode 100644 index 0000000..e7e298b Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/GameWin.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/GameWin.png.meta b/HotUpdateDemo/assets/Texture/Particle/GameWin.png.meta new file mode 100644 index 0000000..334100c --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GameWin.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "cbfe56b0-2979-470c-bbc3-2987ac7f9708", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "GameWin": { + "ver": "1.0.3", + "uuid": "63691dc3-7de2-4e5f-905b-9d66a6b054b0", + "rawTextureUuid": "cbfe56b0-2979-470c-bbc3-2987ac7f9708", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -0.5, + "offsetY": 0.5, + "trimX": 1, + "trimY": 1, + "width": 29, + "height": 29, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/GuangDian.plist b/HotUpdateDemo/assets/Texture/Particle/GuangDian.plist new file mode 100644 index 0000000..de04a93 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GuangDian.plist @@ -0,0 +1,107 @@ + + +angle +0 +angleVariance +0 +duration +-1 +startParticleSize +8 +startParticleSizeVariance +4 +finishParticleSize +0 +finishParticleSizeVariance +2 +gravityx +10 +gravityy +-30 +maxParticles +8 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +1 +particleLifespanVariance +0.5 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +0 +rotationStart +0 +rotationStartVariance +0 +sourcePositionVariancex +53.7 +sourcePositionVariancey +87.2 +sourcePositionx +271.048 +sourcePositiony +228.106 +speed +0 +speedVariance +0 +startColorAlpha +1 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +GuangDian.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/GuangDian.plist.meta b/HotUpdateDemo/assets/Texture/Particle/GuangDian.plist.meta new file mode 100644 index 0000000..17ecd90 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GuangDian.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "c8de5293-ea3e-4c08-b7c3-36bd1e7b8a57", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/GuangDian.png b/HotUpdateDemo/assets/Texture/Particle/GuangDian.png new file mode 100644 index 0000000..f16ad66 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/GuangDian.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/GuangDian.png.meta b/HotUpdateDemo/assets/Texture/Particle/GuangDian.png.meta new file mode 100644 index 0000000..6c45970 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GuangDian.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "36ffb6f2-8b67-481c-80ce-7776b4459cc5", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "GuangDian": { + "ver": "1.0.3", + "uuid": "4076b85b-cdf2-4c8e-a6b7-3b085a0170df", + "rawTextureUuid": "36ffb6f2-8b67-481c-80ce-7776b4459cc5", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 128, + "height": 128, + "rawWidth": 128, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.plist b/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.plist new file mode 100644 index 0000000..84d5d6c --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.plist @@ -0,0 +1,107 @@ + + +angle +360 +angleVariance +360 +duration +-1 +startParticleSize +15 +startParticleSizeVariance +8 +finishParticleSize +5 +finishParticleSizeVariance +4 +gravityx +0 +gravityy +0 +maxParticles +7 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +2.5 +particleLifespanVariance +1 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +27 +rotationEndVariance +360 +rotationStart +54 +rotationStartVariance +360 +sourcePositionVariancex +50 +sourcePositionVariancey +50 +sourcePositionx +231.123 +sourcePositiony +329.921 +speed +0 +speedVariance +0 +startColorAlpha +0 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +1 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +10 +tangentialAcceleration +0 +radialAccelVariance +10 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +GuangDianGame.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.plist.meta b/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.plist.meta new file mode 100644 index 0000000..5848192 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "8cd5ca9f-eb76-4d74-8a33-7b8f952202fb", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.png b/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.png new file mode 100644 index 0000000..fd0d547 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.png.meta b/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.png.meta new file mode 100644 index 0000000..de10913 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/GuangDianGame.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "552ea113-2682-44b7-ae52-0670508a29c7", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "GuangDianGame": { + "ver": "1.0.3", + "uuid": "29b25444-becb-4ffa-a127-24e6f01c8ae4", + "rawTextureUuid": "552ea113-2682-44b7-ae52-0670508a29c7", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 64, + "height": 64, + "rawWidth": 64, + "rawHeight": 64, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ZhuYe.plist b/HotUpdateDemo/assets/Texture/Particle/ZhuYe.plist new file mode 100644 index 0000000..06c1fcc --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ZhuYe.plist @@ -0,0 +1,107 @@ + + +angle +350 +angleVariance +0 +duration +-1 +startParticleSize +20 +startParticleSizeVariance +10 +finishParticleSize +8 +finishParticleSizeVariance +4 +gravityx +0 +gravityy +-50 +maxParticles +8 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +2 +particleLifespanVariance +0.5 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +111 +rotationEndVariance +210 +rotationStart +45 +rotationStartVariance +120 +sourcePositionVariancex +40 +sourcePositionVariancey +80 +sourcePositionx +253.084 +sourcePositiony +418.755 +speed +100 +speedVariance +40 +startColorAlpha +0 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +128 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +47 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +20 +tangentialAcceleration +0 +radialAccelVariance +10 +radialAcceleration +0 +blendFuncSource +1 +blendFuncDestination +771 +emitterType +0 +textureFileName +ZhuYe.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/ZhuYe.plist.meta b/HotUpdateDemo/assets/Texture/Particle/ZhuYe.plist.meta new file mode 100644 index 0000000..6e2e8ba --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ZhuYe.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "2dfd25b7-ad7e-4845-8ff2-3d2b9da766b4", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ZhuYe.png b/HotUpdateDemo/assets/Texture/Particle/ZhuYe.png new file mode 100644 index 0000000..c8b6a7e Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/ZhuYe.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/ZhuYe.png.meta b/HotUpdateDemo/assets/Texture/Particle/ZhuYe.png.meta new file mode 100644 index 0000000..4940b06 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ZhuYe.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "b0379ed2-1bf5-48ea-b142-8ffdde6085c4", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "ZhuYe": { + "ver": "1.0.3", + "uuid": "a041ca98-387e-4128-87b9-efda4b91e9a2", + "rawTextureUuid": "b0379ed2-1bf5-48ea-b142-8ffdde6085c4", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -2.5, + "offsetY": -1.5, + "trimX": 4, + "trimY": 8, + "width": 51, + "height": 115, + "rawWidth": 64, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.plist b/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.plist new file mode 100644 index 0000000..8df7413 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.plist @@ -0,0 +1,107 @@ + + +angle +0 +angleVariance +0 +duration +-1 +startParticleSize +18 +startParticleSizeVariance +10 +finishParticleSize +10 +finishParticleSizeVariance +5 +gravityx +0 +gravityy +-50 +maxParticles +4 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +1.5 +particleLifespanVariance +0.7 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +63 +rotationStart +12 +rotationStartVariance +129 +sourcePositionVariancex +73.8 +sourcePositionVariancey +33.6 +sourcePositionx +264.063 +sourcePositiony +383.821 +speed +60 +speedVariance +20 +startColorAlpha +0 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +255 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +255 +finishColorBlue +0 +finishColorGreen +0 +finishColorRed +0 +finishColorVarianceAlpha +255 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +30 +tangentialAcceleration +0 +radialAccelVariance +20 +radialAcceleration +0 +blendFuncSource +774 +blendFuncDestination +772 +emitterType +0 +textureFileName +ZhuYeGame.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.plist.meta b/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.plist.meta new file mode 100644 index 0000000..6330831 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "5ef7324f-268a-4712-81df-30eab9996ae7", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.png b/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.png new file mode 100644 index 0000000..f1096cc Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.png.meta b/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.png.meta new file mode 100644 index 0000000..37570a0 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ZhuYeGame.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "6eb5666b-a5ae-406c-91a0-280709699f51", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "ZhuYeGame": { + "ver": "1.0.3", + "uuid": "b97fe586-f626-46a4-9498-6db562af225c", + "rawTextureUuid": "6eb5666b-a5ae-406c-91a0-280709699f51", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 1.5, + "trimX": 0, + "trimY": 0, + "width": 64, + "height": 125, + "rawWidth": 64, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/clickparticle.plist b/HotUpdateDemo/assets/Texture/Particle/clickparticle.plist new file mode 100644 index 0000000..4e15035 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/clickparticle.plist @@ -0,0 +1,107 @@ + + +angle +360 +angleVariance +360 +duration +0.15 +startParticleSize +35 +startParticleSizeVariance +0 +finishParticleSize +5 +finishParticleSizeVariance +0 +gravityx +0 +gravityy +0 +maxParticles +100 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.5 +particleLifespanVariance +0 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +0 +rotationStart +0 +rotationStartVariance +0 +sourcePositionVariancex +0 +sourcePositionVariancey +0 +sourcePositionx +349.904 +sourcePositiony +377.832 +speed +150 +speedVariance +0 +startColorAlpha +1 +startColorBlue +1 +startColorGreen +1 +startColorRed +0.666667 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +1 +finishColorBlue +1 +finishColorGreen +0.666667 +finishColorRed +0.333333 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +clickparticle.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/clickparticle.plist.meta b/HotUpdateDemo/assets/Texture/Particle/clickparticle.plist.meta new file mode 100644 index 0000000..23a4b6b --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/clickparticle.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "96f62cdd-63ee-445d-8c90-5e4a5b1f7f0c", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/clickparticle.png b/HotUpdateDemo/assets/Texture/Particle/clickparticle.png new file mode 100644 index 0000000..be558b6 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/clickparticle.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/clickparticle.png.meta b/HotUpdateDemo/assets/Texture/Particle/clickparticle.png.meta new file mode 100644 index 0000000..0d33c6b --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/clickparticle.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "f33bbceb-0948-482e-8161-023964ecbc0e", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "clickparticle": { + "ver": "1.0.3", + "uuid": "7c7ed084-8a25-45f0-a538-6bc1972d4213", + "rawTextureUuid": "f33bbceb-0948-482e-8161-023964ecbc0e", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 128, + "height": 128, + "rawWidth": 128, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.plist b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.plist new file mode 100644 index 0000000..b9c9971 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.plist @@ -0,0 +1,107 @@ + + +angle +76 +angleVariance +180 +duration +0.05 +startParticleSize +163 +startParticleSizeVariance +10 +finishParticleSize +-1 +finishParticleSizeVariance +0 +gravityx +-20 +gravityy +420 +maxParticles +400 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.4 +particleLifespanVariance +0.1 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +0 +rotationStart +0 +rotationStartVariance +0 +sourcePositionVariancex +0 +sourcePositionVariancey +0 +sourcePositionx +306.983 +sourcePositiony +323.932 +speed +732 +speedVariance +20 +startColorAlpha +0.89 +startColorBlue +0.2 +startColorGreen +0.4 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +1 +finishColorBlue +0 +finishColorGreen +0 +finishColorRed +0 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +-700 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +ddz_bomb_particle1.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.plist.meta b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.plist.meta new file mode 100644 index 0000000..2166eb5 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "cb4a6273-1aa9-473f-b8f6-58ff36b76823", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.png b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.png new file mode 100644 index 0000000..acef71e Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.png.meta b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.png.meta new file mode 100644 index 0000000..03b860b --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle1.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "a64b5068-1df9-4c4a-ac7a-dedfe48e3bec", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "ddz_bomb_particle1": { + "ver": "1.0.3", + "uuid": "3442502a-1368-4928-a002-1fb685c7b031", + "rawTextureUuid": "a64b5068-1df9-4c4a-ac7a-dedfe48e3bec", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 140, + "height": 148, + "rawWidth": 140, + "rawHeight": 148, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.plist b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.plist new file mode 100644 index 0000000..836c843 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.plist @@ -0,0 +1,107 @@ + + +angle +360 +angleVariance +360 +duration +0.01 +startParticleSize +8 +startParticleSizeVariance +4 +finishParticleSize +4 +finishParticleSizeVariance +1 +gravityx +1.15 +gravityy +1.58 +maxParticles +800 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0 +particleLifespanVariance +0.9 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +0 +rotationStart +0 +rotationStartVariance +0 +sourcePositionVariancex +9.5 +sourcePositionVariancey +4.4 +sourcePositionx +309.978 +sourcePositiony +316.945 +speed +80 +speedVariance +800 +startColorAlpha +1 +startColorBlue +0.36 +startColorGreen +0.56 +startColorRed +0.89 +startColorVarianceAlpha +0.5 +startColorVarianceBlue +0.2 +startColorVarianceGreen +0.2 +startColorVarianceRed +0.2 +finishColorAlpha +0.31 +finishColorBlue +0 +finishColorGreen +0.31 +finishColorRed +0.74 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +ddz_bomb_particle2.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.plist.meta b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.plist.meta new file mode 100644 index 0000000..352f3cf --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "88f89d94-37c2-4876-afb4-9eff266396ef", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.png b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.png new file mode 100644 index 0000000..3383a21 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.png.meta b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.png.meta new file mode 100644 index 0000000..095afb6 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle2.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "c3c3bbde-9e26-4431-9c08-c9b304e6f052", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "ddz_bomb_particle2": { + "ver": "1.0.3", + "uuid": "866717ea-c1b2-49e2-ae97-13d6b67137f3", + "rawTextureUuid": "c3c3bbde-9e26-4431-9c08-c9b304e6f052", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -0.5, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 63, + "height": 64, + "rawWidth": 64, + "rawHeight": 64, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.plist b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.plist new file mode 100644 index 0000000..016a489 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.plist @@ -0,0 +1,107 @@ + + +angle +360 +angleVariance +360 +duration +0.3 +startParticleSize +3.37 +startParticleSizeVariance +32 +finishParticleSize +15 +finishParticleSizeVariance +0 +gravityx +0.25 +gravityy +0.86 +maxParticles +200 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.1 +particleLifespanVariance +0.5 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +-47.37 +rotationEndVariance +-142.11 +rotationStart +-47.37 +rotationStartVariance +0 +sourcePositionVariancex +7 +sourcePositionVariancey +7 +sourcePositionx +296.004 +sourcePositiony +312.952 +speed +0 +speedVariance +800 +startColorAlpha +0.64 +startColorBlue +0.55 +startColorGreen +0.63 +startColorRed +0.48 +startColorVarianceAlpha +0.78 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0.84 +finishColorBlue +0.09 +finishColorGreen +0.92 +finishColorRed +0.81 +finishColorVarianceAlpha +0.74 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +65.79 +tangentialAcceleration +-92.11 +radialAccelVariance +65.79 +radialAcceleration +-671.05 +blendFuncSource +775 +blendFuncDestination +1 +emitterType +0 +textureFileName +ddz_bomb_particle3.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.plist.meta b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.plist.meta new file mode 100644 index 0000000..0e76d53 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "ea728abf-4c2a-4076-ad09-d94904568765", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.png b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.png new file mode 100644 index 0000000..caf469f Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.png.meta b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.png.meta new file mode 100644 index 0000000..9d2637c --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/ddz_bomb_particle3.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "10036d1e-ebe6-497d-840c-f19b5d91fbdf", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "ddz_bomb_particle3": { + "ver": "1.0.3", + "uuid": "361b4984-e743-459f-91ad-d3b31377d2ef", + "rawTextureUuid": "10036d1e-ebe6-497d-840c-f19b5d91fbdf", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 31, + "height": 31, + "rawWidth": 31, + "rawHeight": 31, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart-boy.plist b/HotUpdateDemo/assets/Texture/Particle/parheart-boy.plist new file mode 100644 index 0000000..c563c5e --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart-boy.plist @@ -0,0 +1,107 @@ + + +angle +90 +angleVariance +20 +duration +-1 +startParticleSize +50 +startParticleSizeVariance +20 +finishParticleSize +30 +finishParticleSizeVariance +10 +gravityx +0 +gravityy +0 +maxParticles +5 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +1 +particleLifespanVariance +0.5 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +105 +rotationStart +0 +rotationStartVariance +45 +sourcePositionVariancex +50 +sourcePositionVariancey +50 +sourcePositionx +324.951 +sourcePositiony +243.079 +speed +100 +speedVariance +20 +startColorAlpha +255 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +255 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +0 +finishColorGreen +0 +finishColorRed +0 +finishColorVarianceAlpha +255 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +1 +blendFuncDestination +1 +emitterType +0 +textureFileName +parheart-boy.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart-boy.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parheart-boy.plist.meta new file mode 100644 index 0000000..308d8e3 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart-boy.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "139b99b4-c7a1-4ad7-99c3-f058db3fa59e", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart-boy.png b/HotUpdateDemo/assets/Texture/Particle/parheart-boy.png new file mode 100644 index 0000000..ca53f1e Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parheart-boy.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart-boy.png.meta b/HotUpdateDemo/assets/Texture/Particle/parheart-boy.png.meta new file mode 100644 index 0000000..885757e --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart-boy.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "8a6af09f-f156-4838-97ac-1368da65b4f2", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parheart-boy": { + "ver": "1.0.3", + "uuid": "6d249a5f-aad9-4035-8f62-4d39bb5a5537", + "rawTextureUuid": "8a6af09f-f156-4838-97ac-1368da65b4f2", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 2, + "trimX": 6, + "trimY": 6, + "width": 116, + "height": 112, + "rawWidth": 128, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart-girl.plist b/HotUpdateDemo/assets/Texture/Particle/parheart-girl.plist new file mode 100644 index 0000000..4e5e160 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart-girl.plist @@ -0,0 +1,107 @@ + + +angle +0 +angleVariance +0 +duration +-1 +startParticleSize +10 +startParticleSizeVariance +20 +finishParticleSize +50 +finishParticleSizeVariance +40 +gravityx +0 +gravityy +100 +maxParticles +1 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.5 +particleLifespanVariance +0.3 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +45 +rotationStart +0 +rotationStartVariance +15 +sourcePositionVariancex +10 +sourcePositionVariancey +5 +sourcePositionx +350.903 +sourcePositiony +325.928 +speed +40 +speedVariance +20 +startColorAlpha +1 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +0 +finishColorGreen +0 +finishColorRed +0 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +10 +tangentialAcceleration +0 +radialAccelVariance +20 +radialAcceleration +0 +blendFuncSource +1 +blendFuncDestination +1 +emitterType +0 +textureFileName +parheart-girl.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart-girl.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parheart-girl.plist.meta new file mode 100644 index 0000000..69cd05c --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart-girl.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "e5b1da57-b5fc-4eb6-ae44-1958770db4d0", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart-girl.png b/HotUpdateDemo/assets/Texture/Particle/parheart-girl.png new file mode 100644 index 0000000..b62c321 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parheart-girl.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart-girl.png.meta b/HotUpdateDemo/assets/Texture/Particle/parheart-girl.png.meta new file mode 100644 index 0000000..d0bdad6 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart-girl.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "77a775bb-5d6e-46e5-97fc-0cdd1655bc8b", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parheart-girl": { + "ver": "1.0.3", + "uuid": "42de844a-b6fe-4f87-afb6-c163c48bcd57", + "rawTextureUuid": "77a775bb-5d6e-46e5-97fc-0cdd1655bc8b", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 2, + "trimX": 6, + "trimY": 6, + "width": 116, + "height": 112, + "rawWidth": 128, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart.plist b/HotUpdateDemo/assets/Texture/Particle/parheart.plist new file mode 100644 index 0000000..9fd4da0 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart.plist @@ -0,0 +1,107 @@ + + +angle +90 +angleVariance +30 +duration +0.15 +startParticleSize +50 +startParticleSizeVariance +40 +finishParticleSize +20 +finishParticleSizeVariance +10 +gravityx +0 +gravityy +-600 +maxParticles +40 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +1 +particleLifespanVariance +0.8 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +246 +rotationStart +0 +rotationStartVariance +84 +sourcePositionVariancex +60 +sourcePositionVariancey +20 +sourcePositionx +309.978 +sourcePositiony +218.124 +speed +350 +speedVariance +100 +startColorAlpha +1 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +1 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +parheart.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parheart.plist.meta new file mode 100644 index 0000000..f969a77 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "8a8958a2-770a-4965-acf3-f00037046144", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart.png b/HotUpdateDemo/assets/Texture/Particle/parheart.png new file mode 100644 index 0000000..d0432ac Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parheart.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parheart.png.meta b/HotUpdateDemo/assets/Texture/Particle/parheart.png.meta new file mode 100644 index 0000000..fa5cf98 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parheart.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "05cddb52-a4e5-40cc-bdbf-73eee33b4c0d", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parheart": { + "ver": "1.0.3", + "uuid": "c2d9d9d3-15f2-415f-8ffd-8faa83101ffa", + "rawTextureUuid": "05cddb52-a4e5-40cc-bdbf-73eee33b4c0d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 2, + "trimX": 6, + "trimY": 6, + "width": 116, + "height": 112, + "rawWidth": 128, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parleaf.plist b/HotUpdateDemo/assets/Texture/Particle/parleaf.plist new file mode 100644 index 0000000..1a43629 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parleaf.plist @@ -0,0 +1,107 @@ + + +angle +180 +angleVariance +0 +duration +-1 +startParticleSize +30 +startParticleSizeVariance +10 +finishParticleSize +10 +finishParticleSizeVariance +5 +gravityx +0 +gravityy +-60 +maxParticles +6 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +2 +particleLifespanVariance +1 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +273 +rotationStart +0 +rotationStartVariance +96 +sourcePositionVariancex +120 +sourcePositionVariancey +80 +sourcePositionx +462.695 +sourcePositiony +404.782 +speed +80 +speedVariance +30 +startColorAlpha +1 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +774 +blendFuncDestination +1 +emitterType +0 +textureFileName +parleaf.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parleaf.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parleaf.plist.meta new file mode 100644 index 0000000..c2710b5 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parleaf.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "38506e35-41a9-44d0-80b2-3b5c851682f0", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parleaf.png b/HotUpdateDemo/assets/Texture/Particle/parleaf.png new file mode 100644 index 0000000..f1cbfd1 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parleaf.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parleaf.png.meta b/HotUpdateDemo/assets/Texture/Particle/parleaf.png.meta new file mode 100644 index 0000000..adefbcc --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parleaf.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "ab35f869-5a01-4399-89e3-16f48ee80d46", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parleaf": { + "ver": "1.0.3", + "uuid": "3aa19e39-c21f-4b2f-812b-ec27f218aadf", + "rawTextureUuid": "ab35f869-5a01-4399-89e3-16f48ee80d46", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 1.5, + "trimX": 0, + "trimY": 0, + "width": 64, + "height": 125, + "rawWidth": 64, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parlose.plist b/HotUpdateDemo/assets/Texture/Particle/parlose.plist new file mode 100644 index 0000000..faeeb3f --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parlose.plist @@ -0,0 +1,107 @@ + + +angle +180 +angleVariance +30 +duration +-1 +startParticleSize +40 +startParticleSizeVariance +20 +finishParticleSize +10 +finishParticleSizeVariance +5 +gravityx +0 +gravityy +-40 +maxParticles +8 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +1.5 +particleLifespanVariance +0.5 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +21 +rotationEndVariance +81 +rotationStart +72 +rotationStartVariance +285 +sourcePositionVariancex +167.8 +sourcePositionVariancey +127.5 +sourcePositionx +379.849 +sourcePositiony +387.814 +speed +80 +speedVariance +40 +startColorAlpha +43 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +64 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +255 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +774 +blendFuncDestination +1 +emitterType +0 +textureFileName +parlose.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parlose.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parlose.plist.meta new file mode 100644 index 0000000..dc2a9a0 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parlose.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "5f51a23a-8dbf-4ea7-acc3-e833a5d34c3a", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parlose.png b/HotUpdateDemo/assets/Texture/Particle/parlose.png new file mode 100644 index 0000000..f8868df Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parlose.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parlose.png.meta b/HotUpdateDemo/assets/Texture/Particle/parlose.png.meta new file mode 100644 index 0000000..ac52592 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parlose.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "4b5c6781-0741-4563-8162-867d3774092c", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parlose": { + "ver": "1.0.3", + "uuid": "977a6dbe-0ad6-494b-98a8-970c014ffa59", + "rawTextureUuid": "4b5c6781-0741-4563-8162-867d3774092c", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -9, + "offsetY": 3.5, + "trimX": 6, + "trimY": 9, + "width": 98, + "height": 103, + "rawWidth": 128, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parpoint.plist b/HotUpdateDemo/assets/Texture/Particle/parpoint.plist new file mode 100644 index 0000000..6ac52b3 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parpoint.plist @@ -0,0 +1,107 @@ + + +angle +360 +angleVariance +360 +duration +1 +startParticleSize +150 +startParticleSizeVariance +80 +finishParticleSize +10 +finishParticleSizeVariance +10 +gravityx +0 +gravityy +0 +maxParticles +30 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.8 +particleLifespanVariance +0.3 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +0 +rotationEndVariance +0 +rotationStart +0 +rotationStartVariance +0 +sourcePositionVariancex +150 +sourcePositionVariancey +20 +sourcePositionx +298.998 +sourcePositiony +239.087 +speed +0 +speedVariance +0 +startColorAlpha +106 +startColorBlue +0.705882 +startColorGreen +0.486275 +startColorRed +0.254902 +startColorVarianceAlpha +81 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +0.552941 +finishColorGreen +0.368627 +finishColorRed +0.184314 +finishColorVarianceAlpha +13 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +0 +radialAcceleration +0 +blendFuncSource +774 +blendFuncDestination +1 +emitterType +0 +textureFileName +parpoint.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parpoint.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parpoint.plist.meta new file mode 100644 index 0000000..9e64ef9 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parpoint.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "90a60b25-b813-49f2-a0b7-2a14fbe418e7", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parpoint.png b/HotUpdateDemo/assets/Texture/Particle/parpoint.png new file mode 100644 index 0000000..dc888fb Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parpoint.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parpoint.png.meta b/HotUpdateDemo/assets/Texture/Particle/parpoint.png.meta new file mode 100644 index 0000000..06d285e --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parpoint.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "9437e9d1-1bfc-4cf0-9a2f-625ca468f82c", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parpoint": { + "ver": "1.0.3", + "uuid": "1c385c71-0066-4d4c-8c13-4b6fe30198e3", + "rawTextureUuid": "9437e9d1-1bfc-4cf0-9a2f-625ca468f82c", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": -0.5, + "trimX": 1, + "trimY": 2, + "width": 126, + "height": 125, + "rawWidth": 128, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-01.plist b/HotUpdateDemo/assets/Texture/Particle/parwin-01.plist new file mode 100644 index 0000000..86cdd12 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-01.plist @@ -0,0 +1,107 @@ + + +angle +90 +angleVariance +45 +duration +0.3 +startParticleSize +100 +startParticleSizeVariance +30 +finishParticleSize +0 +finishParticleSizeVariance +10 +gravityx +0 +gravityy +-1033.6 +maxParticles +30 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.8 +particleLifespanVariance +0.3 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +360 +rotationEndVariance +201 +rotationStart +360 +rotationStartVariance +336 +sourcePositionVariancex +100 +sourcePositionVariancey +20 +sourcePositionx +300.994 +sourcePositiony +358.867 +speed +600 +speedVariance +100 +startColorAlpha +1 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +50 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +parwin-01.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-01.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parwin-01.plist.meta new file mode 100644 index 0000000..13f7776 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-01.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "3a7f3653-6b74-4f61-8b57-7af8e6d8c378", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-01.png b/HotUpdateDemo/assets/Texture/Particle/parwin-01.png new file mode 100644 index 0000000..5185f40 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parwin-01.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-01.png.meta b/HotUpdateDemo/assets/Texture/Particle/parwin-01.png.meta new file mode 100644 index 0000000..2a23f4f --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-01.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "6a4ee079-5659-4928-9356-a1e6636018ff", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parwin-01": { + "ver": "1.0.3", + "uuid": "19a8cd02-9487-411d-8339-fc564822ce43", + "rawTextureUuid": "6a4ee079-5659-4928-9356-a1e6636018ff", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 6, + "trimY": 0, + "width": 52, + "height": 64, + "rawWidth": 64, + "rawHeight": 64, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-02.plist b/HotUpdateDemo/assets/Texture/Particle/parwin-02.plist new file mode 100644 index 0000000..f278ed1 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-02.plist @@ -0,0 +1,107 @@ + + +angle +360 +angleVariance +360 +duration +-1 +startParticleSize +120 +startParticleSizeVariance +50 +finishParticleSize +0 +finishParticleSizeVariance +5 +gravityx +0 +gravityy +0 +maxParticles +25 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.8 +particleLifespanVariance +0.5 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +252 +rotationEndVariance +168 +rotationStart +360 +rotationStartVariance +360 +sourcePositionVariancex +10 +sourcePositionVariancey +10 +sourcePositionx +294.007 +sourcePositiony +387.814 +speed +150 +speedVariance +50 +startColorAlpha +179 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +183 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +120 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +parwin-02.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-02.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parwin-02.plist.meta new file mode 100644 index 0000000..8165328 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-02.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "21c05572-d739-41ca-bfe2-d4a1b49f8d56", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-02.png b/HotUpdateDemo/assets/Texture/Particle/parwin-02.png new file mode 100644 index 0000000..8c5f6f8 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parwin-02.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-02.png.meta b/HotUpdateDemo/assets/Texture/Particle/parwin-02.png.meta new file mode 100644 index 0000000..17ec23e --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-02.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "a58c9a15-1bff-4705-bef1-2a752c9a00d5", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parwin-02": { + "ver": "1.0.3", + "uuid": "eee037f2-9612-4eda-9173-72fad0577498", + "rawTextureUuid": "a58c9a15-1bff-4705-bef1-2a752c9a00d5", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 6, + "trimY": 0, + "width": 52, + "height": 64, + "rawWidth": 64, + "rawHeight": 64, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-03.plist b/HotUpdateDemo/assets/Texture/Particle/parwin-03.plist new file mode 100644 index 0000000..ed8cfe7 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-03.plist @@ -0,0 +1,107 @@ +max + +angle +90 +angleVariance +45 +duration +0.5 +startParticleSize +100 +startParticleSizeVariance +30 +finishParticleSize +0 +finishParticleSizeVariance +10 +gravityx +0 +gravityy +-1033.6 +maxParticles +10 +maxRadius +0 +maxRadiusVariance +0 +minRadius +0 +minRadiusVariance +0 +particleLifespan +0.8 +particleLifespanVariance +0.3 +rotatePerSecond +0 +rotatePerSecondVariance +0 +rotationEnd +360 +rotationEndVariance +201 +rotationStart +360 +rotationStartVariance +336 +sourcePositionVariancex +100 +sourcePositionVariancey +20 +sourcePositionx +300.994 +sourcePositiony +358.867 +speed +600 +speedVariance +100 +startColorAlpha +1 +startColorBlue +1 +startColorGreen +1 +startColorRed +1 +startColorVarianceAlpha +0 +startColorVarianceBlue +0 +startColorVarianceGreen +0 +startColorVarianceRed +0 +finishColorAlpha +0 +finishColorBlue +1 +finishColorGreen +1 +finishColorRed +1 +finishColorVarianceAlpha +0 +finishColorVarianceBlue +0 +finishColorVarianceGreen +0 +finishColorVarianceRed +0 +tangentialAccelVariance +0 +tangentialAcceleration +0 +radialAccelVariance +50 +radialAcceleration +0 +blendFuncSource +770 +blendFuncDestination +1 +emitterType +0 +textureFileName +parwin-03.png + diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-03.plist.meta b/HotUpdateDemo/assets/Texture/Particle/parwin-03.plist.meta new file mode 100644 index 0000000..3efed56 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-03.plist.meta @@ -0,0 +1,5 @@ +{ + "ver": "1.0.0", + "uuid": "9d522daa-32fb-42e3-b696-9b2ee573c524", + "subMetas": {} +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-03.png b/HotUpdateDemo/assets/Texture/Particle/parwin-03.png new file mode 100644 index 0000000..665f049 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/Particle/parwin-03.png differ diff --git a/HotUpdateDemo/assets/Texture/Particle/parwin-03.png.meta b/HotUpdateDemo/assets/Texture/Particle/parwin-03.png.meta new file mode 100644 index 0000000..c227e07 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/Particle/parwin-03.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "625bfc99-c569-4338-a55a-238d4e537eeb", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "parwin-03": { + "ver": "1.0.3", + "uuid": "38f83786-93cd-47a3-9756-8c25739932ff", + "rawTextureUuid": "625bfc99-c569-4338-a55a-238d4e537eeb", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 64, + "height": 68, + "rawWidth": 64, + "rawHeight": 68, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/num_clock.png b/HotUpdateDemo/assets/Texture/num_clock.png new file mode 100644 index 0000000..f98e88a Binary files /dev/null and b/HotUpdateDemo/assets/Texture/num_clock.png differ diff --git a/HotUpdateDemo/assets/Texture/num_clock.png.meta b/HotUpdateDemo/assets/Texture/num_clock.png.meta new file mode 100644 index 0000000..130b9c4 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/num_clock.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "b57d3160-ad9b-40b9-8360-afe832603f3d", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "num_clock": { + "ver": "1.0.3", + "uuid": "9bd76c74-6a75-43e5-9df6-0225031b6a51", + "rawTextureUuid": "b57d3160-ad9b-40b9-8360-afe832603f3d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 0.5, + "trimX": 2, + "trimY": 0, + "width": 218, + "height": 33, + "rawWidth": 220, + "rawHeight": 34, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/num_progress.png b/HotUpdateDemo/assets/Texture/num_progress.png new file mode 100644 index 0000000..335bdb0 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/num_progress.png differ diff --git a/HotUpdateDemo/assets/Texture/num_progress.png.meta b/HotUpdateDemo/assets/Texture/num_progress.png.meta new file mode 100644 index 0000000..a69639b --- /dev/null +++ b/HotUpdateDemo/assets/Texture/num_progress.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "3168d4b0-dd6b-47fe-bb3e-372234dc7a17", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "num_progress": { + "ver": "1.0.3", + "uuid": "ea619b29-4a6b-4cd1-a045-e77513639645", + "rawTextureUuid": "3168d4b0-dd6b-47fe-bb3e-372234dc7a17", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 2, + "width": 250, + "height": 37, + "rawWidth": 250, + "rawHeight": 41, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/number_add.png b/HotUpdateDemo/assets/Texture/number_add.png new file mode 100644 index 0000000..3c6c68a Binary files /dev/null and b/HotUpdateDemo/assets/Texture/number_add.png differ diff --git a/HotUpdateDemo/assets/Texture/number_add.png.meta b/HotUpdateDemo/assets/Texture/number_add.png.meta new file mode 100644 index 0000000..0fd175d --- /dev/null +++ b/HotUpdateDemo/assets/Texture/number_add.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "30a09062-3fa9-4c8b-853e-224f054fbd1b", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "number_add": { + "ver": "1.0.3", + "uuid": "78e41496-d5a3-4a0c-be63-0693a35e6bb3", + "rawTextureUuid": "30a09062-3fa9-4c8b-853e-224f054fbd1b", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": 0, + "trimX": 2, + "trimY": 2, + "width": 283, + "height": 34, + "rawWidth": 286, + "rawHeight": 38, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/Texture/number_minus.png b/HotUpdateDemo/assets/Texture/number_minus.png new file mode 100644 index 0000000..26289c5 Binary files /dev/null and b/HotUpdateDemo/assets/Texture/number_minus.png differ diff --git a/HotUpdateDemo/assets/Texture/number_minus.png.meta b/HotUpdateDemo/assets/Texture/number_minus.png.meta new file mode 100644 index 0000000..fea1563 --- /dev/null +++ b/HotUpdateDemo/assets/Texture/number_minus.png.meta @@ -0,0 +1,30 @@ +{ + "ver": "1.0.0", + "uuid": "3b86d129-2f4f-4b56-a914-a54682d280b0", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "subMetas": { + "number_minus": { + "ver": "1.0.3", + "uuid": "3b0ce718-6367-434a-8ba8-750fde195dd2", + "rawTextureUuid": "3b86d129-2f4f-4b56-a914-a54682d280b0", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1, + "trimY": 2, + "width": 284, + "height": 34, + "rawWidth": 286, + "rawHeight": 38, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/HotUpdateDemo/assets/project.manifest b/HotUpdateDemo/assets/project.manifest index f3dba6b..9abe7af 100644 --- a/HotUpdateDemo/assets/project.manifest +++ b/HotUpdateDemo/assets/project.manifest @@ -1 +1 @@ -{"packageUrl":"http://192.168.0.124/remote-assets/","remoteManifestUrl":"http://192.168.0.124/remote-assets/project.manifest","remoteVersionUrl":"http://192.168.0.124/remote-assets/version.manifest","version":"1.0.1","assets":{"src/jsb_polyfill.jsc":{"size":135144,"md5":"42d63902662204a5c7d28ffa600287c0"},"src/project.jsc":{"size":1728,"md5":"4a3bdd3b921d5c7cc5f245f0189e4ac1"},"src/settings.jsc":{"size":504,"md5":"8a9e673701fb83412db34bc530c91af8"},"res/import/05/05dd1dc0e.json":{"size":2190,"md5":"cb72214a1510295a2b9115062a9daa20"},"res/raw-assets/project.manifest":{"size":750,"md5":"4c4d16b69633cccdf8a27a3f1409f8d4"},"res/raw-assets/Texture/HelloWorld.png":{"size":37864,"md5":"a69a0b857f7462f4dd0d00bb5231a721"},"res/raw-assets/Texture/singleColor.png":{"size":17197,"md5":"5825642f69b6fed137482bf89f8f1fd5"}},"searchPaths":[]} \ No newline at end of file +{"packageUrl":"http://192.168.0.124/remote-assets/","remoteManifestUrl":"http://192.168.0.124/remote-assets/project.manifest","remoteVersionUrl":"http://192.168.0.124/remote-assets/version.manifest","version":"4.0.1","assets":{"src/jsb_polyfill.jsc":{"size":135144,"md5":"3f348214c1482242272fab714ebfec83"},"src/project.jsc":{"size":1728,"md5":"96e447834b9217371706fa0936c57bd3"},"src/settings.jsc":{"size":504,"md5":"48ef15f17e1a385d4d286d9dd8a59ef5"},"res/import/05/05dd1dc0e.json":{"size":2204,"md5":"7d6949ebd65b71a220913e70e713aa7c"},"res/raw-assets/project.manifest":{"size":839,"md5":"7ee1a687b8c9e864ccf639e79a6d09d3"},"res/raw-assets/Texture/HelloWorld.png":{"size":37864,"md5":"a69a0b857f7462f4dd0d00bb5231a721"},"res/raw-assets/Texture/singleColor.png":{"size":17197,"md5":"5825642f69b6fed137482bf89f8f1fd5"}},"searchPaths":[]} \ No newline at end of file diff --git a/HotUpdateDemo/assets/version.manifest b/HotUpdateDemo/assets/version.manifest index 01a6a4a..d5c7066 100644 --- a/HotUpdateDemo/assets/version.manifest +++ b/HotUpdateDemo/assets/version.manifest @@ -1 +1 @@ -{"packageUrl":"http://192.168.0.124/remote-assets/","remoteManifestUrl":"http://192.168.0.124/remote-assets/project.manifest","remoteVersionUrl":"http://192.168.0.124/remote-assets/version.manifest","version":"1.0.1"} \ No newline at end of file +{"packageUrl":"http://192.168.0.124/remote-assets/","remoteManifestUrl":"http://192.168.0.124/remote-assets/project.manifest","remoteVersionUrl":"http://192.168.0.124/remote-assets/version.manifest","version":"4.0.1"} \ No newline at end of file diff --git a/HotUpdateDemo/version_generator.bat b/HotUpdateDemo/version_generator.bat index 4a41ce5..f22023c 100644 --- a/HotUpdateDemo/version_generator.bat +++ b/HotUpdateDemo/version_generator.bat @@ -1 +1,2 @@ -node version_generator.js -v 1.0.1 -u http://192.168.0.124/remote-assets/ -s build/jsb-binary/ -d assets/ +node version_generator.js -v 4.0.1 -u http://192.168.0.124/remote-assets/ -s build/jsb-binary/ -d assets/ +pause