Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shuijf2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
shuijf2
Commits
27f7372f
Commit
27f7372f
authored
Jul 01, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fd5ac6b8
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
66 additions
and
9 deletions
+66
-9
main.scene
assets/scenes/main.scene
+52
-1
SceneStart.ts
assets/scripts/scenes/SceneStart.ts
+4
-0
弹窗-完成.png
assets/sheets/score.sht/弹窗-完成.png
+0
-0
start.sht.meta
assets/sheets/start.sht.meta
+1
-1
backbtn.png
assets/sheets/start.sht/backbtn.png
+0
-0
bg.jpg
assets/singles/bg.jpg
+0
-0
bundle.js
debug/bundle.js
+4
-0
bundle.js.map
debug/bundle.js.map
+1
-1
fuck.html
fuck.html
+4
-6
No files found.
assets/scenes/main.scene
View file @
27f7372f
...
...
@@ -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"
}
]
}
...
...
assets/scripts/scenes/SceneStart.ts
View file @
27f7372f
...
...
@@ -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'
);
...
...
assets/sheets/score.sht/弹窗-完成.png
View replaced file @
fd5ac6b8
View file @
27f7372f
117 KB
|
W:
|
H:
112 KB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/sheets/start.sht.meta
View file @
27f7372f
{"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/sheets/start.sht/backbtn.png
0 → 100644
View file @
27f7372f
5.73 KB
assets/singles/bg.jpg
View replaced file @
fd5ac6b8
View file @
27f7372f
102 KB
|
W:
|
H:
103 KB
|
W:
|
H:
2-up
Swipe
Onion skin
debug/bundle.js
View file @
27f7372f
...
...
@@ -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
;
...
...
debug/bundle.js.map
View file @
27f7372f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
fuck.html
View file @
27f7372f
<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"
/>
...
...
@@ -17,8 +16,8 @@
},
100
);
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>'
;
...
...
@@ -61,5 +60,4 @@ window.ruleContent = '';
#floatLayer
::-webkit-scrollbar
{
display
:
none
}
</style>
</style>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment