(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;
},
setBoudarySet: function(t) {
this._boundarySet = 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": 239,
"../core/utils/misc": 324
} ],
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;
}
fun
没有合适的资源?快使用搜索试试~ 我知道了~
合成大西瓜微信小游戏源码
共60个文件
png:25个
json:19个
js:10个
需积分: 5 2 下载量 110 浏览量
2024-03-12
20:30:52
上传
评论
收藏 1.79MB ZIP 举报
温馨提示
“合成大西瓜”是一款风靡全球的休闲益智游戏,而其微信小游戏版本的源码资源更是备受开发者们追捧。这份源码资源提供了一个完整的游戏框架,包括游戏逻辑、界面设计、音效等方面的内容,使开发者能够快速搭建出自己的定制化版本。 通过这份源码资源,开发者可以轻松进行二次开发,添加个性化元素、优化游戏体验,甚至进行商业化运营。不仅如此,源码还提供了详细的文档和技术支持,帮助开发者快速上手,加速游戏开发的进程。 无论是想学习游戏开发,还是寻找一个独特的项目进行实践,合成大西瓜微信小游戏源码资源都是一个不错的选择。通过这份资源,你可以尽情发挥创造力,打造属于自己的精彩游戏作品。
资源推荐
资源详情
资源评论
收起资源包目录
daxigua.zip (60个子文件)
daxigua
project.private.config.json 284B
project.config.json 481B
assets
internal
import
07
07ce7530a.ad304.json 3KB
0771a325d.e186d.json 79KB
079499991.84d8b.json 15KB
6f
6f801092-0c37-4f30-89ef-c8d960825b36.85108.json 149B
28
2874f8dd-416c-4440-81b7-555975426e93.20630.json 4KB
0d
0d5255670.dc2b0.json 4KB
0d669730c.8ea40.json 1017B
0e
0e4bc3b03.e5e12.json 5KB
0ea3dbfa0.af5b6.json 92B
ec
eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432.380a4.json 187B
08
08018726a.9e73d.json 6KB
0a
0a5cba09d.c0627.json 19KB
native
60
600301aa-3357-4a10-b086-84f011fa32ba.c3a3a.png 7KB
02
0275e94c-56a7-410f-bd1a-fc7483f7d14a.cea68.png 82B
config.18db7.json 2KB
index.js 867B
main
import
0b
0b9902441.57bc0.json 872B
02
02b1c4b72.6ffc5.json 24KB
native
d4
d49a2ab8-17da-4d41-ad27-1008ccb39532.d9e4c.wav 35KB
2d
2d6cf805-79b5-4030-8e50-2e17ce295f1a.80ed5.jpg 4KB
56
560fe3f8-0423-429a-b708-f440fe3d75e8.8c4fb.png 130KB
1a
1a9e1485-e9b5-4441-8888-295b46dc227e.3454b.png 32KB
e8
e851e89b-faa2-4484-bea6-5c01dd9f06e2.90cf4.png 1KB
ae
ae96f4c4-a779-447a-9be9-b47cec496e72.2e78a.jpg 24KB
ae380b34-3f60-464f-ae93-172d996715c9.86dac.png 58KB
76
7660912f-9412-4688-bb7d-2973d159c5c7.be2d5.png 12KB
c0
c0f0e1fa-1000-499d-9e68-130156264a35.4c132.png 11KB
71
71561142-4c83-4933-afca-cb7a17f67053.c06a9.png 1KB
32
323b2f21-bf18-45c6-b68b-da460f68bbbe.56008.png 67KB
99
9938c649-4ea3-4222-ac8a-be9d45edb084.60b3d.png 40KB
d8
d810c5b5-1f7f-456c-a88d-361a0780990b.0949e.png 86KB
67
67aee5ee-e85d-4103-9c1f-403ce969cf5a.6c6af.jpg 159KB
d0
d056cf86-20c0-47e8-96b1-d07482b3c50d.c1a76.png 63KB
c8
c82ed416-bd04-43ad-a7b8-bff8ad1d1305.d978f.png 22KB
30
30556c62-90b2-434b-ab46-fb664e3f03a0.7dcd7.png 9KB
a6
a629772e-abe8-46ce-b446-0a2e347abf87.05a25.jpg 36KB
54
54a6de05-0aa7-47dc-84fd-37b81cbce80a.46294.png 5KB
87
87dacf25-57a8-45ab-8cf3-babb1346c30f.f20a9.png 65KB
6e
6e6a7eab-9d8c-4a18-998f-dc31a2befabb.2026a.jpg 25KB
9e
9ebe242a-67f3-487e-a1dd-7681c46abc4c.dfc94.png 51KB
b4
b43ff3c2-02bb-4874-81f7-f2dea6970f18.83fcc.png 1KB
18
18f69ae9-f36f-457f-8d1a-ddd3fb4bb01d.85244.png 56KB
6d
6dc44085-c9ae-44db-a3f0-313cc32f90c0.835bf.png 15KB
e0
e012479e-7357-4a15-8a79-80df8cba1e8d.1e767.png 4KB
d2
d2c37a93-a692-4ef8-aaac-f6ddcc5dfe50.76053.png 3KB
22
22b4333b-64d3-48c7-ade2-37f08f118d84.2bc7e.png 94KB
3b
3bbf1dd0-933e-4ffd-9a9f-23114490173b.33ce0.png 2KB
config.e6aa7.json 3KB
index.js 26KB
src
settings.js 393B
main.js 2KB
game.js 1KB
ccRequire.js 472B
game.json 206B
adapter-min.js 182KB
@babel
runtime
helpers
typeof.js 388B
cocos
cocos2d-js-min.js 3.21MB
physics-min.js 371KB
共 60 条
- 1
资源评论
全栈海哥
- 粉丝: 1449
- 资源: 98
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功