THAI: Added Halloween promotion
This commit is contained in:
parent
8f878da088
commit
c90edea31e
172 changed files with 30448 additions and 493 deletions
91
xml/event/halloween/page_starting_game.xml
Normal file
91
xml/event/halloween/page_starting_game.xml
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
; play time 10 sec
|
||||
Var GameTimeout = 10
|
||||
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/event/halloween/"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var startingGameTitle = DirImage + "starting_game_title_en.png"
|
||||
Var Title_X = 73
|
||||
Var TItle_Y = 431
|
||||
|
||||
Var bn_PlayGame = DirImage + "bn_play_en.png"
|
||||
Var bp_PlayGame = DirImage + "bp_play_en.png"
|
||||
Var bn_NotPlayGame = DirImage + "bn_not_play_en.png"
|
||||
Var bp_NotPlayGame = DirImage + "bp_not_play_en.png"
|
||||
Else
|
||||
Var startingGameTitle = DirImage + "starting_game_title_th.png"
|
||||
Var Title_X = 129
|
||||
Var TItle_Y = 493
|
||||
|
||||
Var bn_PlayGame = DirImage + "bn_play_th.png"
|
||||
Var bp_PlayGame = DirImage + "bp_play_th.png"
|
||||
Var bn_NotPlayGame = DirImage + "bn_not_play_th.png"
|
||||
Var bp_NotPlayGame = DirImage + "bp_not_play_th.png"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 15 Then
|
||||
If luckyDrawAlredyGotReward = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_3_28.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_3_28_lucky_draw_campaign.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> Var( DirImage + "starting_game_bg.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> Title_X </X>
|
||||
<Y> Title_Y </Y>
|
||||
<Filename> startingGameTitle </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 109 </X>
|
||||
<Y> 1229 </Y>
|
||||
<Filename> bn_PlayGame </Filename>
|
||||
<FilenamePress> bp_PlayGame </FilenamePress>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/event/halloween/game.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 582 </X>
|
||||
<Y> 1229 </Y>
|
||||
<Filename> bn_NotPlayGame </Filename>
|
||||
<FilenamePress> bp_NotPlayGame </FilenamePress>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/event/halloween/game.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue