DO may day and adv

This commit is contained in:
kong 2023-08-25 21:27:45 +07:00
parent e25a3c1fed
commit 47be11dcef
24 changed files with 420 additions and 185 deletions

View file

@ -155,6 +155,8 @@
Var CreditCardVoid = 0
DEBUGVAR ButtonGameCountDownState
</EventOpen>
@ -905,6 +907,29 @@
Open "ROOT/taobin_project/xml/page_drinkok.xml"
EndIf
EndIf
If ButtonGameCountDown > 0 Then
If ButtonGameCountDown = 1 Then
Var ButtonGameCountDownState = "Invisible"
Var ButtonGamePressToPlayState = "Enable"
EndIf
Var ButtonGameCountDown = ButtonGameCountDown - 1
DEBUGVAR ButtonGameCountDown
EndIf
DEBUGVAR BREW_CNT
DEBUGVAR ButtonGamePressToPlayState
If BREW_CNT > 60 Then
Else
Var ButtonGamePressToPlayState = "Invisible"
Var Game01Enable = 0
EndIf
Refresh
@ -1000,7 +1025,7 @@
</Text>
<Button>
<X> 733 </X>
<X> 792 </X>
<Y> 1787 </Y>
<State>EnableSelectMenuBetweenBrew</State>
<Filename> next_pic_bn </Filename>
@ -1020,6 +1045,36 @@
</EventClick>
</Button>
<GIF>
<X> 526 </X>
<Y> 1680 </Y>
<Width> 241 </Width>
<Height> 204 </Height>
<State> ButtonGamePressToPlayState </State>
<Filename> "ROOT/taobin_project/app/game/TAMATIAN-01.gif" </Filename>
</GIF>
<Image>
<X> 526 </X>
<Y> 1680 </Y>
<Width> 241 </Width>
<Height> 204 </Height>
<State> ButtonGamePressToPlayState </State>
<EventClick>
DEBUGVAR Game01Enable
SAVELOG "Press play game"
If Game01Enable = 1 Then
Var Game01Enable = 0
Var ButtonGamePressToPlayState = "Invisible"
RunApp "com.NDF.taobin"
EndIf
</EventClick>
</Image>
<Button>
<X> 10 </X>
<Y> 500 </Y>
@ -1130,4 +1185,27 @@
</EventClick>
</Button>
<Button>
<X> 526 </X>
<Y> 1787 </Y>
<State> ButtonGameCountDownState </State>
<Filename> "ROOT/taobin_project/image/page_doing/bn_game_cnt_down.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_doing/bn_game_cnt_down.png" </FilenamePress>
<EventClick>
</EventClick>
<Text>
<X> 0 </X>
<Y> 0 </Y>
<Size> 64 </Size>
<Align> Center </Align>
<Width> 240 </Width>
<Font> KanitBoldTTF </Font>
<Color> 0xFFFFFF </Color>
<State> ButtonGameCountDownState </State>
<Value> ButtonGameCountDown </Value>
</Text>
</Button>
</Popup>