THAI: Added Halloween promotion
This commit is contained in:
parent
8f878da088
commit
c90edea31e
172 changed files with 30448 additions and 493 deletions
98
xml/event/halloween/page_try_again.xml
Normal file
98
xml/event/halloween/page_try_again.xml
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
Var GameTimeout = GameTimeout - 1
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/event/halloween/try_again/"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var Title = DirImage + "try_again_title_en.png"
|
||||
Var TryAgainBtn = DirImage + "try_again_btn_en.png"
|
||||
Var CloseBtn = DirImage + "close_btn_en.png"
|
||||
Else
|
||||
Var Title = DirImage + "try_again_title_th.png"
|
||||
Var TryAgainBtn = DirImage + "try_again_btn_th.png"
|
||||
Var CloseBtn = DirImage + "close_btn_th.png"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
Var GameTimeout = GameTimeout - 1
|
||||
|
||||
DEBUGVAR GameTimeout
|
||||
|
||||
If GameTimeout < 0 Then
|
||||
If DiscountUnavailable = 0 Then
|
||||
Var RewardType = "discount_timeout"
|
||||
Open "ROOT/taobin_project/xml/event/halloween/page_get_reward.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/halloween/thank_you.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> Var( DirImage + "try_again_bg.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 165 </X>
|
||||
<Y> 442 </Y>
|
||||
<Filename> Title </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 209 </X>
|
||||
<Y> 1719 </Y>
|
||||
<Filename> TryAgainBtn </Filename>
|
||||
<EventClick>
|
||||
SAVE "Try Again!"
|
||||
Open "ROOT/taobin_project/xml/event/halloween/game.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 612 </X>
|
||||
<Y> 1719 </Y>
|
||||
<Filename> CloseBtn </Filename>
|
||||
<EventClick>
|
||||
SAVELOG "Close game"
|
||||
If DiscountUnavailable = 0 Then
|
||||
Var RewardType = "discount_timeout"
|
||||
Open "ROOT/taobin_project/xml/event/halloween/page_get_reward.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/halloween/thank_you.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 914 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 165 </Width>
|
||||
<Height> 100 </Height>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Size> 100 </Size>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> GameTimeout </Value>
|
||||
</Text>
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue