Commit 27f7372f authored by wildfirecode's avatar wildfirecode

1

parent fd5ac6b8
......@@ -440,6 +440,53 @@
"children": [],
"uuid": "5f3ed06e-c47a-491e-a3a1-9ac0e700a302"
},
{
"name": "backBtn",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"_hashCode": 3405,
"_x": 0,
"_y": 299.651515151515,
"x": -317.14285714285717,
"y": -734.6341991341993
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|cc98cc7a-27db-4dc6-824a-c76eca549c6c"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onClick_backbtn"
}
],
"disabledRes": "res|cc98cc7a-27db-4dc6-824a-c76eca549c6c",
"upRes": "res|cc98cc7a-27db-4dc6-824a-c76eca549c6c",
"downRes": "res|cc98cc7a-27db-4dc6-824a-c76eca549c6c"
},
"disabled": false
}
],
"children": [],
"uuid": "34f68eec-739c-478c-a527-6aa12c197850"
},
{
"name": "rankBtn",
"components": [
......@@ -485,7 +532,7 @@
}
],
"children": [],
"uuid": "34f68eec-739c-478c-a527-6aa12c197850"
"uuid": "42a4f372-07c6-45b3-87da-7dec90bc7db4"
},
{
"name": "Label",
......@@ -2550,6 +2597,10 @@
{
"name": "装饰.png",
"uuid": "add607e6-e22c-4e67-9a24-3b147abce03d"
},
{
"name": "backbtn.png",
"uuid": "cc98cc7a-27db-4dc6-824a-c76eca549c6c"
}
]
}
......
......@@ -191,6 +191,10 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie
// activityId: window['CFG'].activityId
// })
}
onClick_backbtn() {
console.log('onClick_backbtn');
window.location.href = getRankURL();
}
onResponse_rank() {
this.bubbling('fuck', 'result');
......
{"ver":"1.0.1","uuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","subMetas":{"rulebtn.png":{"ver":"1.0.1","uuid":"d092293f-6a84-45eb-a7c2-7735b747c2af","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"recordbtn.png":{"ver":"1.0.1","uuid":"7c2aa27c-5cf6-46d0-8509-d9b68052de09","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"startbtn.png":{"ver":"1.0.1","uuid":"65d0864b-a3b8-438b-aa87-673311473c7f","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"rankbtn.png":{"ver":"1.0.1","uuid":"66066ff4-4536-4398-84ad-8cf91c2d8333","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"盒子.png":{"ver":"1.0.1","uuid":"072e5812-0898-4d90-a077-3a0c073df00f","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"装饰.png":{"ver":"1.0.1","uuid":"add607e6-e22c-4e67-9a24-3b147abce03d","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"}},"type":"sheet"}
{"ver":"1.0.1","uuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","subMetas":{"rulebtn.png":{"ver":"1.0.1","uuid":"d092293f-6a84-45eb-a7c2-7735b747c2af","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"recordbtn.png":{"ver":"1.0.1","uuid":"7c2aa27c-5cf6-46d0-8509-d9b68052de09","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"startbtn.png":{"ver":"1.0.1","uuid":"65d0864b-a3b8-438b-aa87-673311473c7f","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"rankbtn.png":{"ver":"1.0.1","uuid":"66066ff4-4536-4398-84ad-8cf91c2d8333","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"盒子.png":{"ver":"1.0.1","uuid":"072e5812-0898-4d90-a077-3a0c073df00f","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"装饰.png":{"ver":"1.0.1","uuid":"add607e6-e22c-4e67-9a24-3b147abce03d","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"backbtn.png":{"ver":"1.0.1","uuid":"cc98cc7a-27db-4dc6-824a-c76eca549c6c","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"}},"type":"sheet"}
assets/singles/bg.jpg

102 KB | W: | H:

assets/singles/bg.jpg

103 KB | W: | H:

assets/singles/bg.jpg
assets/singles/bg.jpg
assets/singles/bg.jpg
assets/singles/bg.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -7667,6 +7667,10 @@
SceneStart.prototype.onClick_rankbtn = function () {
window.location.href = getRankURL();
};
SceneStart.prototype.onClick_backbtn = function () {
console.log('onClick_backbtn');
window.location.href = getRankURL();
};
SceneStart.prototype.onResponse_rank = function () {
this.bubbling('fuck', 'result');
this.rankbtn.getComponent(Button).enabled = true;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<meta name="viewport"
<meta name="viewport"
content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="full-screen" content="true" />
......@@ -18,7 +17,7 @@
window['COUNT_DOWN_SEC'] = 10;
window.ruleContent = '';
window.ruleContent = '';
window.ruleContent += '1.点击开始游戏,在3-2-1后进行10秒倒计时,摇晃手机将礼盒中的糖果摇出,以10秒内摇出的糖果数量为游戏成绩,成绩可在排行榜进行查看;<br>';
window.ruleContent += '2.游戏成绩排名越高,获奖几率越大;<br>';
window.ruleContent += '3.排行结束后,可进入游戏查看是否中奖,以及本游戏的最终排名情况,且排行结束后的成绩不再进入排行榜;<br>';
......@@ -62,4 +61,3 @@ window.ruleContent = '';
display: none
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment