Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
崔立强
db-game-template
Commits
38c92dce
Commit
38c92dce
authored
Dec 21, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a1435ab7
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
6 deletions
+13
-6
doStart.ts
egret/libs/new_tw/ctrls/doStart.ts
+1
-1
StartSceneBase.ts
egret/libs/new_wx/components/StartSceneBase.ts
+2
-3
alert.tmproject
egret/resource/TextureMerger/alert.tmproject
+1
-0
start.tmproject
egret/resource/TextureMerger/start.tmproject
+1
-1
startscenebg.jpg
egret/resource/assets/startScene/startscenebg.jpg
+0
-0
default.res.json
egret/resource/default.res.json
+4
-0
StartSkin.exml
egret/resource/skins/StartSkin.exml
+1
-1
StartScene.ts
egret/src/startScene/StartScene.ts
+3
-0
No files found.
egret/libs/new_tw/ctrls/doStart.ts
View file @
38c92dce
...
...
@@ -17,7 +17,7 @@ const doStart = (callback?: Function, isAgain = false, credits?: number, customi
if
(
success
)
{
getStartOrderStatus
(
callback
,
customizedType
);
}
else
{
callback
(
success
);
callback
&&
callback
(
success
);
}
},
isAgain
,
...
...
egret/libs/new_wx/components/StartSceneBase.ts
View file @
38c92dce
...
...
@@ -24,8 +24,7 @@ export default class StartSceneBase extends Scene {
async
start
(
data
?)
{
this
.
startBtn
.
visible
=
false
;
this
.
updateGetInfoView
();
this
.
updateExemptionTxt
();
super
.
start
();
}
...
...
@@ -39,7 +38,7 @@ export default class StartSceneBase extends Scene {
});
}
private
updateGetInfoView
()
{
updateGetInfoView
()
{
if
(
DataManager
.
ins
.
getInfoData
)
{
this
.
updateStartBtnStatus
();
this
.
updateCountTxt
();
...
...
egret/resource/TextureMerger/alert.tmproject
0 → 100644
View file @
38c92dce
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"alert","version":5,"files":["../assets/alert/alertbg.png"]}
\ No newline at end of file
egret/resource/TextureMerger/start.tmproject
View file @
38c92dce
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"start","version":5,"files":["../assets/startScene/toast.png","../assets/startScene/toast_success.png","../assets/startScene/toast_failed.png","../assets/startScene/startbtnGray.png","../assets/startScene/startbtn.png","../assets/startScene/ruleBtn.png","../assets/startScene/recordbtn.png","../assets/startScene/rankBtn.png","../assets/startScene/optionBtn.png","../assets/startScene/getit.png","../assets/startScene/dot.png","../assets/startScene/closeBtn.png","../assets/startScene/btnRight1.png","../assets/startScene/btnRight.png","../assets/startScene/btnLeft1.png","../assets/startScene/btnLeft.png","../assets/startScene/boomalert.png","../assets/startScene/bg3.png","../assets/startScene/arrow.png","../assets/startScene/转盘前景.png","../assets/startScene/小丑+转盘.png","../assets/startScene/显示器纹路.png","../assets/startScene/碗前盖.png","../assets/startScene/碗后盖.png","../assets/startScene/甜筒-已获得.png","../assets/startScene/甜筒-未获得.png","../assets/startScene/甜甜圈-已获得.png","../assets/startScene/甜甜圈-未获得.png","../assets/startScene/糖果-已获得.png","../assets/startScene/糖果-未获得.png","../assets/startScene/前景.png","../assets/startScene/目标.png","../assets/startScene/礼盒-已获得.png","../assets/startScene/礼盒-未获得.png","../assets/startScene/垃圾桶前盖.png","../assets/startScene/垃圾桶后盖.png","../assets/startScene/垃圾桶.png","../assets/startScene/进度条-已显示.png","../assets/startScene/进度条-未显示.png","../assets/startScene/金蛋-已获得.png","../assets/startScene/金蛋-未获得.png","../assets/startScene/奖品.png","../assets/startScene/红包gray.png","../assets/startScene/红包.png","../assets/startScene/灯2.png","../assets/startScene/灯1.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"start","version":5,"files":["../assets/startScene/toast.png","../assets/startScene/toast_success.png","../assets/startScene/toast_failed.png","../assets/startScene/startbtnGray.png","../assets/startScene/startbtn.png","../assets/startScene/ruleBtn.png","../assets/startScene/recordbtn.png","../assets/startScene/rankBtn.png","../assets/startScene/optionBtn.png","../assets/startScene/getit.png","../assets/startScene/closeBtn.png","../assets/startScene/btnRight1.png","../assets/startScene/btnRight.png","../assets/startScene/btnLeft1.png","../assets/startScene/btnLeft.png","../assets/startScene/boomalert.png","../assets/startScene/bg3.png","../assets/startScene/arrow.png","../assets/startScene/转盘前景.png","../assets/startScene/小丑+转盘.png","../assets/startScene/显示器纹路.png","../assets/startScene/碗前盖.png","../assets/startScene/碗后盖.png","../assets/startScene/甜筒-已获得.png","../assets/startScene/甜筒-未获得.png","../assets/startScene/甜甜圈-已获得.png","../assets/startScene/甜甜圈-未获得.png","../assets/startScene/糖果-已获得.png","../assets/startScene/糖果-未获得.png","../assets/startScene/前景.png","../assets/startScene/目标.png","../assets/startScene/礼盒-已获得.png","../assets/startScene/礼盒-未获得.png","../assets/startScene/垃圾桶前盖.png","../assets/startScene/垃圾桶后盖.png","../assets/startScene/垃圾桶.png","../assets/startScene/进度条-已显示.png","../assets/startScene/进度条-未显示.png","../assets/startScene/金蛋-已获得.png","../assets/startScene/金蛋-未获得.png","../assets/startScene/奖品.png","../assets/startScene/红包gray.png","../assets/startScene/红包.png","../assets/startScene/灯2.png","../assets/startScene/灯1.png"]}
\ No newline at end of file
egret/resource/assets/startScene/startscenebg.jpg
View replaced file @
a1435ab7
View file @
38c92dce
32.6 KB
|
W:
|
H:
51.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/default.res.json
View file @
38c92dce
...
...
@@ -27,6 +27,10 @@
{
"keys"
:
"getbtn3_png,cashprizebg_png"
,
"name"
:
"cashprize"
},
{
"keys"
:
"alertbg_png"
,
"name"
:
"alert"
}
],
"resources"
:
[
...
...
egret/resource/skins/StartSkin.exml
View file @
38c92dce
...
...
@@ -112,7 +112,7 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Label
id=
"countTxt"
text=
"
0积分每次
"
width=
"100%"
verticalAlign=
"middle"
textAlign=
"center"
size=
"26"
y=
"1458.67"
textColor=
"0xffd434"
/>
<e:Label
id=
"countTxt"
text=
""
width=
"100%"
verticalAlign=
"middle"
textAlign=
"center"
size=
"26"
y=
"1458.67"
textColor=
"0xffd434"
/>
<e:Image
id=
"toast_failed"
source=
"toast_failed_png"
y=
"1077"
x=
"375.5"
alpha=
"0"
anchorOffsetX=
"256.5"
anchorOffsetY=
"86"
touchEnabled=
"false"
/>
<e:Image
id=
"toast_success"
source=
"toast_success_png"
y=
"1101"
x=
"375.5"
alpha=
"0"
anchorOffsetX=
"254.5"
anchorOffsetY=
"99"
touchEnabled=
"false"
/>
</e:Group>
...
...
egret/src/startScene/StartScene.ts
View file @
38c92dce
...
...
@@ -186,6 +186,9 @@ export default class StartScene extends StartSceneBase {
}
this
[
'guide'
].
addChild
(
createMask
())
this
[
'startBtnBg'
].
addChild
(
createMask
())
this
.
updateGetInfoView
();
this
.
updateExemptionTxt
();
}
async
onPanelRemoved
(
e
:
egret
.
Event
)
{
...
...
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