Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sl
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
任建锋
sl
Commits
64f4746d
Commit
64f4746d
authored
Jul 03, 2018
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some code
parent
ee43b5d8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
215 additions
and
45 deletions
+215
-45
package_20180703113136.json
.history/package_20180703113136.json
+15
-0
GameStartModule_20180703113136.ts
.history/src/module/game/GameStartModule_20180703113136.ts
+196
-0
GameStartModule.js
dist/module/game/GameStartModule.js
+0
-19
GameStartModule.js.map
dist/module/game/GameStartModule.js.map
+1
-1
package.json
package.json
+1
-1
GameStartModule.ts
src/module/game/GameStartModule.ts
+2
-24
No files found.
.history/package_20180703113136.json
0 → 100644
View file @
64f4746d
{
"name"
:
"sl"
,
"version"
:
"1.0.2"
,
"description"
:
"基于babylonjs的活动组件"
,
"main"
:
"./dist/index.js"
,
"types"
:
"./types/index.d.ts"
,
"scripts"
:
{
},
"author"
:
""
,
"license"
:
"ISC"
,
"dependencies"
:
{
"yt"
:
"git+ssh://git@gitlab2.dui88.com:renjianfeng/yt.git"
,
"tw"
:
"git+ssh://git@gitlab2.dui88.com:clq/tw.git#1.0"
}
}
\ No newline at end of file
.history/src/module/game/GameStartModule_20180703113136.ts
0 → 100644
View file @
64f4746d
import
{
Module
}
from
"yt"
;
import
{
DisplayPool
}
from
"yt"
;
import
{
ModuleName
}
from
"../../enum/ModuleName"
;
import
{
ModuleManager
}
from
"yt"
;
import
{
GameStartModel
,
TwFun
}
from
"tw"
;
import
{
IModuleData
,
GCache
,
GFun
,
GDispatcher
}
from
'tc'
;
export
class
GameStartModule
extends
Module
{
/**
* 数据
*/
protected
model
:
GameStartModel
;
protected
initModel
():
void
{
this
.
model
=
new
GameStartModel
();
}
//游戏场景对象
protected
gameSceneObject
:
any
;
constructor
(){
super
()
}
public
init
():
void
{
DisplayPool
.
ins
.
displayPool
[
ModuleName
.
GAME_START_GUI
]
=
this
;
}
/**
* 更新开始按钮状态
*/
protected
updateStartBtnStatus
():
void
{
if
(
this
.
view
.
startBtn
)
{
const
enable
:
boolean
=
this
.
model
.
startBtnEnable
;
// this.view.startBtn.mouseEnable = enable;
this
.
enableMouseEvtView
(
this
.
view
.
startBtn
,
enable
)
/* if (enable) {
this.view.startBtn.gotoAndStop(1);
} else {
this.view.startBtn.gotoAndStop(3);
} */
}
}
/**
* 更新次数文案
*/
protected
updateCountTxt
():
void
{
if
(
this
.
view
.
countTxt
)
{
this
.
view
.
countTxt
.
text
=
""
+
this
.
model
.
countTxt
;
}
}
/**
* 添加事件
* */
protected
addEvent
():
void
{
//开始游戏
if
(
this
.
view
.
startBtn
){
this
.
addClick
(
this
.
view
.
startBtn
,
this
.
onClick_startBtn
.
bind
(
this
))
}
//活动规则
if
(
this
.
view
.
ruleBtn
){
this
.
addClick
(
this
.
view
.
ruleBtn
,
this
.
onClick_ruleBtn
.
bind
(
this
))
}
//活动奖品
if
(
this
.
view
.
optionBtn
){
this
.
addClick
(
this
.
view
.
optionBtn
,
this
.
onClick_optionBtn
.
bind
(
this
))
}
//兑换记录
if
(
this
.
view
.
recordBtn
)
{
this
.
addClick
(
this
.
view
.
recordBtn
,
this
.
onClick_recordBtn
.
bind
(
this
))
}
//实时排行榜
if
(
this
.
view
.
realTimeRankBtn
)
{
this
.
addClick
(
this
.
view
.
realTimeRankBtn
,
this
.
onClick_realTimeRankBtn
.
bind
(
this
))
}
}
protected
removeEvent
(){
//开始游戏
if
(
this
.
view
.
startBtn
){
this
.
removeClick
(
this
.
view
.
startBtn
)
}
//活动规则
if
(
this
.
view
.
ruleBtn
){
this
.
removeClick
(
this
.
view
.
ruleBtn
)
}
//活动奖品
if
(
this
.
view
.
optionBtn
){
this
.
removeClick
(
this
.
view
.
optionBtn
)
}
//兑换记录
if
(
this
.
view
.
recordBtn
)
{
this
.
removeClick
(
this
.
view
.
recordBtn
)
}
//实时排行榜
if
(
this
.
view
.
realTimeRankBtn
)
{
this
.
removeClick
(
this
.
view
.
realTimeRankBtn
)
}
}
protected
onClick_ruleBtn
():
void
{
this
.
enableMouseEvt
(
false
);
this
.
model
.
getRule
(
this
.
getRule_result
.
bind
(
this
));
}
protected
onClick_optionBtn
():
void
{
this
.
enableMouseEvt
(
false
);
this
.
model
.
getOptions
(
this
.
getOptions_result
.
bind
(
this
));
}
protected
onClick_startBtn
():
void
{
this
.
enableMouseEvt
(
false
);
this
.
model
.
doStart
(
this
.
doStart_result
.
bind
(
this
));
}
protected
onClick_recordBtn
():
void
{
this
.
enableMouseEvt
(
false
);
window
.
location
.
href
=
TwFun
.
getRecordUrl
(
'00'
);
}
protected
onClick_realTimeRankBtn
():
void
{
this
.
enableMouseEvt
(
false
);
this
.
model
.
realtimerank
(
this
.
realtimerank_result
.
bind
(
this
));
}
protected
doStart_result
(
success
:
boolean
):
void
{
this
.
enableMouseEvt
(
true
);
if
(
!
success
)
{
return
;
}
const
module
=
ModuleManager
.
ins
.
getModule
(
ModuleName
.
GAME_GUIDE_GUI
);
if
(
GCache
.
readCache
(
'guide'
)
||
!
module
)
{
ModuleManager
.
ins
.
openModule
(
ModuleName
.
GAME_PLAY_SCENE
);
}
else
{
ModuleManager
.
ins
.
openModule
(
ModuleName
.
GAME_GUIDE_GUI
);
}
}
protected
realtimerank_result
(
success
:
boolean
):
void
{
this
.
enableMouseEvt
(
true
);
if
(
!
success
)
{
return
;
}
ModuleManager
.
ins
.
openModule
(
ModuleName
.
GAME_REAL_TIME_RANK_PANEL
);
}
protected
getRule_result
(
success
:
boolean
):
void
{
this
.
enableMouseEvt
(
true
);
if
(
!
success
)
{
return
;
}
ModuleManager
.
ins
.
openModule
(
ModuleName
.
RULE_PANEL
);
}
protected
getOptions_result
(
success
:
boolean
):
void
{
this
.
enableMouseEvt
(
true
);
if
(
!
success
)
{
return
;
}
ModuleManager
.
ins
.
openModule
(
ModuleName
.
GAME_OPTION_PANEL
);
this
.
view
.
startBtn
.
isHitTestVisible
=
true
;
}
/**
* 更新页面
* @param args
*/
public
updateData
(...
args
):
void
{
this
.
updateCountTxt
();
this
.
updateStartBtnStatus
();
}
}
\ No newline at end of file
dist/module/game/GameStartModule.js
View file @
64f4746d
...
...
@@ -163,27 +163,8 @@ var GameStartModule = /** @class */ (function (_super) {
}
this
.
updateCountTxt
();
this
.
updateStartBtnStatus
();
//this.updateExemptionTxt();
};
return
GameStartModule
;
}(
yt_1
.
Module
));
exports
.
GameStartModule
=
GameStartModule
;
/* GuiCreate.ins.optionsList({
bodyWidth:"520px",
bodyHeight:"170px",
bodyTop:"-100px",
itemWidth:"130px",
itemHeight:"170px",
itemPaddingRight:"30px",
logoWidth:"100px",
logoHeight:"100px",
logoTop:"0px",
logoLeft:"0px",
textWidth:"100px",
textHeight:"30px",
textTop:"140px",
textLeft:"0px",
textColor:"#ffffff",
isVertical:false,
},data,this.parent)*/
//# sourceMappingURL=GameStartModule.js.map
\ No newline at end of file
dist/module/game/GameStartModule.js.map
View file @
64f4746d
{"version":3,"file":"GameStartModule.js","sourceRoot":"","sources":["../../../src/module/game/GameStartModule.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAA0B;AAC1B,yBAA+B;AAC/B,oDAAiD;AACjD,yBAAiC;AACjC,yBAA2C;AAC3C,yBAA4D;AAE5D;IAAqC,mCAAM;IAgBvC;eACI,iBAAO;IACX,CAAC;IAVS,mCAAS,GAAnB;QACI,IAAI,CAAC,KAAK,GAAG,IAAI,mBAAc,EAAE,CAAC;IACtC,CAA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3D;IACL,CAAC;IAES,6CAAmB,GAA7B,UAA8B,OAAgB;QAC1C,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAG,CAAC,OAAO,EAAE;YACT,OAAO;SACV;QACD,kBAAa,CAAC,GAAG,CAAC,UAAU,CAAC,uBAAU,CAAC,yBAAyB,CAAC,CAAC;IACvE,CAAC;IAES,wCAAc,GAAxB,UAAyB,OAAgB;QACrC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAG,CAAC,OAAO,EAAE;YACT,OAAO;SACV;QACD,kBAAa,CAAC,GAAG,CAAC,UAAU,CAAC,uBAAU,CAAC,UAAU,CAAC,CAAC;IACxD,CAAC;IAES,2CAAiB,GAA3B,UAA4B,OAAgB;QACxC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAG,CAAC,OAAO,EAAE;YACT,OAAO;SACV;QACD,kBAAa,CAAC,GAAG,CAAC,UAAU,CAAC,uBAAU,CAAC,iBAAiB,CAAC,CAAC;QAC3D,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,gBAAgB,GAAC,IAAI,CAAC;IAC7C,CAAC;IAGD;;;OAGG;IACI,oCAAU,GAAjB;QAAkB,cAAO;aAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;YAAP,yBAAO;;QAErB,IAAI,CAAC,cAAc,EAAE,CAAC;QACtB,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAC5B,4BAA4B;IAChC,CAAC;IACL,sBAAC;AAAD,CAAC,AA9LD,CAAqC,WAAM,GA8L1C;AA9LY,0CAAe;AAiM3B;;;;;;;;;;;;;;;;;oCAiBoC"}
\ No newline at end of file
{"version":3,"file":"GameStartModule.js","sourceRoot":"","sources":["../../../src/module/game/GameStartModule.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAA0B;AAC1B,yBAA+B;AAC/B,oDAAiD;AACjD,yBAAiC;AACjC,yBAA2C;AAC3C,yBA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"基于babylonjs的活动组件"
,
"main"
:
"./dist/index.js"
,
"types"
:
"./types/index.d.ts"
,
...
...
src/module/game/GameStartModule.ts
View file @
64f4746d
...
...
@@ -190,29 +190,7 @@ export class GameStartModule extends Module {
* @param args
*/
public
updateData
(...
args
):
void
{
this
.
updateCountTxt
();
this
.
updateStartBtnStatus
();
//this.updateExemptionTxt();
}
}
/* GuiCreate.ins.optionsList({
bodyWidth:"520px",
bodyHeight:"170px",
bodyTop:"-100px",
itemWidth:"130px",
itemHeight:"170px",
itemPaddingRight:"30px",
logoWidth:"100px",
logoHeight:"100px",
logoTop:"0px",
logoLeft:"0px",
textWidth:"100px",
textHeight:"30px",
textTop:"140px",
textLeft:"0px",
textColor:"#ffffff",
isVertical:false,
},data,this.parent)*/
\ No newline at end of file
}
}
\ 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