(function(t,e,i){function n(i){var r=e[i];if(!r){var s=t[i];if(!s)return;var a={};r=e[i]={exports:a},s[0]((function(t){return n(s[1][t]||t)}),r,a)}return r.exports}for(var r=0;r<i.length;r++)n(i[r])})({1:[(function(t){"use strict";t("../core/platform/CCClass");var e=t("../core/utils/misc");cc.Action=cc.Class({name:"cc.Action",ctor:function(){this.originalTarget=null,this.target=null,this.tag=cc.Action.TAG_INVALID},clone:function(){var t=new cc.Action;return t.originalTarget=null,t.target=null,t.tag=this.tag,t},isDone:function(){return!0},startWithTarget:function(t){this.originalTarget=t,this.target=t},stop:function(){this.target=null},step:function(){cc.logID(1006)},update:function(){cc.logID(1007)},getTarget:function(){return this.target},setTarget:function(t){this.target=t},getOriginalTarget:function(){return this.originalTarget},setOriginalTarget:function(t){this.originalTarget=t},getTag:function(){return this.tag},setTag:function(t){this.tag=t},retain:function(){},release:function(){}}),cc.Action.TAG_INVALID=-1,cc.FiniteTimeAction=cc.Class({name:"cc.FiniteTimeAction",extends:cc.Action,ctor:function(){this._duration=0},getDuration:function(){return this._duration*(this._timesForRepeat||1)},setDuration:function(t){this._duration=t},reverse:function(){return cc.logID(1008),null},clone:function(){return new cc.FiniteTimeAction}}),cc.Speed=cc.Class({name:"cc.Speed",extends:cc.Action,ctor:function(t,e){this._speed=0,this._innerAction=null,t&&this.initWithAction(t,e)},getSpeed:function(){return this._speed},setSpeed:function(t){this._speed=t},initWithAction:function(t,e){return t?(this._innerAction=t,this._speed=e,!0):(cc.errorID(1021),!1)},clone:function(){var t=new cc.Speed;return t.initWithAction(this._innerAction.clone(),this._speed),t},startWithTarget:function(t){cc.Action.prototype.startWithTarget.call(this,t),this._innerAction.startWithTarget(t)},stop:function(){this._innerAction.stop(),cc.Action.prototype.stop.call(this)},step:function(t){this._innerAction.step(t*this._speed)},isDone:function(){return this._innerAction.isDone()},reverse:function(){return new cc.Speed(this._innerAction.reverse(),this._speed)},setInnerAction:function(t){this._innerAction!==t&&(this._innerAction=t)},getInnerAction:function(){return this._innerAction}}),cc.speed=function(t,e){return new cc.Speed(t,e)},cc.Follow=cc.Class({name:"cc.Follow",extends:cc.Action,ctor:function(t,e){this._followedNode=null,this._boundarySet=!1,this._boundaryFullyCovered=!1,this._halfScreenSize=null,this._fullScreenSize=null,this.leftBoundary=0,this.rightBoundary=0,this.topBoundary=0,this.bottomBoundary=0,this._worldRect=cc.rect(0,0,0,0),t&&(e?this.initWithTarget(t,e):this.initWithTarget(t))},clone:function(){var t=new cc.Follow,e=this._worldRect,i=new cc.Rect(e.x,e.y,e.width,e.height);return t.initWithTarget(this._followedNode,i),t},isBoundarySet:function(){return this._boundarySet},setBoundarySet:function(t){this._boundarySet=t},setBoudarySet:function(t){this.setBoundarySet(t)},initWithTarget:function(t,e){if(!t)return cc.errorID(1022),!1;e=e||cc.rect(0,0,0,0),this._followedNode=t,this._worldRect=e,this._boundarySet=!(0===e.width&&0===e.height),this._boundaryFullyCovered=!1;var i=cc.winSize;return this._fullScreenSize=cc.v2(i.width,i.height),this._halfScreenSize=this._fullScreenSize.mul(.5),this._boundarySet&&(this.leftBoundary=-(e.x+e.width-this._fullScreenSize.x),this.rightBoundary=-e.x,this.topBoundary=-e.y,this.bottomBoundary=-(e.y+e.height-this._fullScreenSize.y),this.rightBoundary<this.leftBoundary&&(this.rightBoundary=this.leftBoundary=(this.leftBoundary+this.rightBoundary)/2),this.topBoundary<this.bottomBoundary&&(this.topBoundary=this.bottomBoundary=(this.topBoundary+this.bottomBoundary)/2),this.topBoundary===this.bottomBoundary&&this.leftBoundary===this.rightBoundary&&(this._boundaryFullyCovered=!0)),!0},step:function(){var t=this.target.convertToWorldSpaceAR(cc.Vec2.ZERO),i=this._followedNode.convertToWorldSpaceAR(cc.Vec2.ZERO),n=t.sub(i),r=this.target.parent.convertToNodeSpaceAR(n.add(this._halfScreenSize));if(this._boundarySet){if(this._boundaryFullyCovered)return;this.target.setPosition(e.clampf(r.x,this.leftBoundary,this.rightBoundary),e.clampf(r.y,this.bottomBoundary,this.topBoundary))}else this.target.setPosition(r.x,r.y)},isDone:function(){return!this._followedNode.activeInHierarchy},stop:function(){this.target=null,cc.Action.prototype.stop.call(this)}}),cc.follow=function(t,e){return new cc.Follow(t,e)}}),{"../core/platform/CCClass":240,"../core/utils/misc":325}],2:[(function(){"use strict";function t(t,e,i,n,r,s){var a=s*s,o=a*s,l=(1-r)/2,c=l*(2*a-o-s),h=l*(-o+a)+(2*o-3*a)+1,u=l*(o-2*a+s)+-2*o+3*a,_=l*(o-a),f=t.x*c+e.x*h+i.x*u+n.x*_,d=t.y*c+e.y*h+i.y*u+n.y*_;return cc.v2(f,d)}function e(t,e){return t[Math.min(t.length-1,Math.max(e,0))]}function i(t){for(var e=[],i=t.length-1;i>=0;i--)e.push(cc.v2(t[i].x,t[i].y));return e}function n(t){for(var e=[],i=0;i<t.length;i++)e.push(cc.v2(t[i].x,t[i].y));return e}cc.CardinalSplineTo=cc.Class({name:"cc.CardinalSplineTo",extends:cc.ActionInterval,ctor:function(t,e,i){this._points=[],this._deltaT=0,this._tension=0,this._previousPosition=null,this._accumulatedDiff=null,void 0!==i&&cc.CardinalSplineTo.prototype.initWithDuration.call(this,t,e,i)},initWithDuration:function(t,e,i){return e&&0!==e.length?!!cc.ActionInterval.prototype.initWithDuration.call(this,t)&&(this.setPoints(e),this._tension=i,!0):(cc.errorID(1024),!1)},clone:function(){var t=new cc.CardinalSplineTo;return t.initWithDuration(this._duration,n(this._points),this._tension),t},startWithTarget:function(t){cc.ActionInterval.prototype.startWithTarget.call(this,t),this._deltaT=1/(this._points.length-1),this._previousPosition=cc.v2(this.target.x,this.target.y),this._accumulatedDiff=cc.v2(0,0)},update:function(i){var n,r;i=this._computeEaseTime(i);var s=this._points;if(1===i)n=s.length-1,r=1;else{var a=this._deltaT;r=(i-a*(n=0|i/a))/a}var o,l,c=t(e(s,n-1),e(s,n-0),e(s,n+1),e(s,n+2),this._tension,r);if(cc.macro.ENABLE_STACKABLE_ACTIONS&&(o=this.target.x-this._previousPosition.x,l=this.target.y-this._previousPosition.y,0!==o||0!==l)){var h=this._accumulatedDiff;o=h.x+o,l=h.y+l,h.x=o,h.y=l,c.x+=o,c.y+=l}this.updatePosition(c)},reverse:function(){var t=i(this._points);return cc.cardinalSplineTo(this._duration,t,this._tension)},updatePosition:function(t){this.target.setPosition(t),this._previousPosition=t},getPoints:function(){return this._points},setPoints:function(t){this._points=t}}),cc.cardinalSplineTo=function(t,e,i){return new cc.CardinalSplineTo(t,e,i)},cc.CardinalSplineBy=cc.Class({name:"cc.CardinalSplineBy",extends:cc.CardinalSplineTo,ctor:function(t,e,i){this._startPosition=cc.v2(0,0),void 0!==i&&this.initWithDuration(t,e,i)},startWithTarget:function(t){cc.CardinalSplineTo.prototype.startWithTarget.call(this,t),this._startPosition.x=t.x,this._startPosition.y=t.y},reverse:function(){for(var t,e=this._points.slice(),n=e[0],r=1;r<e.length;++r)t=e[r],e[r]=t.sub(n),n=t;var s=i(e);for(n=s[s.length-1],s.pop(),n.x=-n.x,n.y=-n.y,s.unshift(n),r=1;r<s.length;++r)(t=s[r]).x=-t.x,t.y=-t.y,t.x+=n.x,t.y+=n.y,s[r]=t,n=t;return cc.cardinalSplineBy(this._duration,s,this._tension)},updatePosition:function(t){var e=this._startPosition,i=t.x+e.x,n=t.y+e.y;this._previousPosition.x=i,this._previousPosition.y=n,this.target.setPosition(i,n)},clone:function(){var t=new cc.CardinalSplineBy;return t.initWithDuration(this._duration,n(this._points),this._tension),t}}),cc.cardinalSplineBy=function(t,e,i){return new cc.CardinalSplineBy(t,e,i)},cc.CatmullRomTo=cc.Class({name:"cc.CatmullRomTo",extends:cc.CardinalSplineTo,ctor:function(t,e){e&&this.initWithDuration(t,e)},initWithDuration:function(t,e){return cc.CardinalSplineTo.prototype.initWithDuration.call(this,t,e,.5)},clone:function(){var t=new cc.CatmullRomTo;return t.initWithDuration(this._duration,n(this._points)),t}}),cc.catmullRomTo=function(t,e){return new cc.CatmullRomTo(t,e)},cc.CatmullRomBy=cc.Class({name:"cc.CatmullRomBy",extends:cc.Cardinal
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
cocos creater编辑的套牛小游戏,版本2.4.8 (350个子文件)
runcow.anim 401B
runcow.anim 369B
a579b610-0aa7-4a8b-b36b-be34cc834dcc.bin 157KB
buffer.bin 157KB
83f5eff8-3385-4f95-9b76-8da0aa1d96cd.bin 48KB
14c74869-bdb4-4f57-86d8-a7875de2be30.bin 46KB
3bbdb0f6-c5f6-45de-9f33-8b5cbafb4d6d.bin 46KB
b430cea3-6ab3-4106-b073-26c698918edd.bin 7KB
a1ef2fc9-9c57-418a-8f69-6bed9a7a0e7f.bin 5KB
7a17de6e-227a-46b1-8009-e7157d4d3acf.bin 4KB
046f172c-1574-488b-bbb8-6415a9adb96d.bin 840B
e93d3fa9-8c21-4375-8a21-14ba84066c77.bin 140B
game.fire 30KB
game.fire 30KB
mikado_outline_shadow.fnt 12KB
.gitignore 1KB
.gitignore 184B
eb52649cc9eadd467161cfb54f1e5b11.gltf 19KB
cow.iml 344B
bg_index.jpg 150KB
33de6723-99ab-421d-91f5-5dfb0f4459e3.jpg 150KB
33de6723-99ab-421d-91f5-5dfb0f4459e3.a3432.jpg 150KB
cocos2d-js-min.js 1.93MB
physics-min.js 193KB
adapter-min.js 100KB
__qc_bundle__.js 23KB
game.js 16KB
__quick_compile__.js 8KB
cow.js 6KB
game.js 4KB
5fb03b04-43d8-46d7-bc7c-b008f0699989.js 4KB
game.js 4KB
index.js 3KB
main.js 2KB
__qc_index__.js 1KB
cow.js 1KB
fbe5f3c5-11a0-46c3-991c-2f9b5e842fbb.js 1KB
cow.js 1KB
game.js 511B
index.js 463B
ccRequire.js 382B
settings.js 294B
__qc_index__.js 68B
0b6c4470e.9537f.json 138KB
829a282c-b049-4019-bd38-5ace8d8a6417.json 92KB
e2f00085-c597-422d-9759-52c360279106.json 69KB
abc2cb62-7852-4525-a90d-d474487b88f2.json 63KB
70bbeb73-6dc2-4ee4-8faf-76b3a0e34ec4.json 35KB
5be72d43-c9a8-45fb-b191-05253bf48d87.json 30KB
2a7c0036-e0b3-4fe1-8998-89a54b8a2bec.json 27KB
d1b8be49-b0a0-435c-83b7-552bed4bbe35.json 21KB
bf0a434c-84dd-4a8e-a08a-7a36f180cc75.json 21KB
e0e18cf3-9cdf-4306-a1c3-3fe0ca4df2ab.json 19KB
uuid-to-mtime.json 19KB
6d91e591-4ce0-465c-809f-610ec95019c6.json 19KB
04b2453b2.e1f50.json 17KB
ab2fdde9-10c2-44e4-bfe1-fcfcc1a86aa9.json 15KB
ca8401fe-ad6e-41a8-bd46-8e3e4e9945be.json 15KB
115286d1-2e10-49ee-aab4-341583f607e8.json 13KB
32044bd2-481f-4cf1-a656-e2b2fb1594eb.json 12KB
61aeb05b-3b32-452b-8eed-2b76deeed554.json 9KB
ed88f13d-fcad-4848-aa35-65a2cb973584.json 9KB
f18742d7-56d2-4eb5-ae49-2d9d710b37c8.json 8KB
972b9a4d-47ee-4c74-b5c3-61d8a69bc29f.json 7KB
0004d1cf-a0ad-47d8-ab17-34d3db9d35a3.json 7KB
430eccbf-bf2c-4e6e-8c0c-884bbb487f32.json 7KB
0d784963-d024-4ea6-a7db-03be0ad63010.json 7KB
0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7.json 6KB
2874f8dd-416c-4440-81b7-555975426e93.json 6KB
30682f87-9f0d-4f17-8a44-72863791461b.json 4KB
5965ffac-69da-4b55-bcde-9225d0613c28.json 4KB
2c937608-2562-40ea-b264-7395df6f0cea.json 4KB
13894f3e-9a69-4bff-aed0-d38490de5ffe.json 4KB
144c3297-af63-49e8-b8ef-1cfa29b3be28.json 3KB
6c5cf6e1-b044-4eac-9431-835644d57381.json 3KB
cd33edea-55f5-46c2-958d-357a01384a36.json 3KB
954fec8b-cd16-4bb9-a3b7-7719660e7558.json 3KB
785a442c-3ceb-45be-a46e-7317f625f3b9.json 3KB
layout.editor.json 3KB
897ef7a1-4860-4f64-968d-f5924b18668a.json 2KB
70d7cdb0-04cd-41bb-9480-c06a4785f386.json 2KB
ddb99b39-7004-47cd-9705-751905c43c46.json 2KB
61906da3-7003-4bda-9abc-5769c76faee4.json 2KB
0cf30284-9073-46bc-9eba-e62b69dbbff3.json 2KB
f5331fd2-bf42-4ee3-a3fd-3e1657600eff.json 2KB
1f55e3be-b89b-4b79-88de-47fd31018044.json 2KB
96083d03-c332-4a3f-9386-d03e2d19e8ee.json 2KB
b5fc2cf2-7942-483d-be1f-bbeadc4714ad.json 2KB
232d2782-c4bd-4bb4-9e01-909f03d6d3b9.json 2KB
1c5e4038-953a-44c2-b620-0bbfc6170477.json 2KB
fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a.json 2KB
2d9a4b85-b0ab-4c46-84c5-18f393ab2058.json 2KB
3f376125-a699-40ca-ad05-04d662eaa1f2.json 2KB
de510076-056b-484f-b94c-83bef217d0e1.json 2KB
6c9ef10d-b479-420b-bfe6-39cdda6a8ae0.json 2KB
a87cc147-01b2-43f8-8e42-a7ca90b0c757.json 2KB
4a37dd57-78cd-4cec-aad4-f11a73d12b63.json 2KB
27756ebb-3d33-44b0-9b96-e858fadd4dd4.json 2KB
config.64080.json 2KB
8c5001fd-07ee-4a4b-a8a0-63e15195e94d.json 2KB
共 350 条
- 1
- 2
- 3
- 4
watson_pillow
- 粉丝: 12
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Python的酒店评论情感分析源码+文档(高分项目).zip
- meta-llama-3-8b-instruct 的 model-00003-of-00004.safetensors 的3/3
- nginx配置文件,注意其中需要对应宿主机的路径
- 自用数据集自用数据集自用数据集
- HTML5小游戏【堆雪人-优秀H5小游戏合集】游戏源码分享下载 - epicsnowman.zip
- SNMP Client 是SNMP测试工具
- Android Camera内存统计脚本
- AD9220高速数据芯片硬件参考设计原理图+STM32F103单片机驱动程序代码+芯片技术手册资料.zip
- 常用爆破用户名字典top500
- meta-llama-3-8b-instruct 的 model-00003-of-00004.safetensors 的2/3
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0