THAI INTER: Add condition close tab_menu, condition to close langs switch btn, case invalid spiral,Add image

This commit is contained in:
Ittipat Lusuk 2025-05-02 14:49:51 +07:00
parent 7b94c55437
commit 40dbe26715
13 changed files with 1625 additions and 1511 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

File diff suppressed because it is too large Load diff

View file

@ -155,6 +155,7 @@
If SpiralModeFrozenFruit = 1 Then If SpiralModeFrozenFruit = 1 Then
Var Menu0Selected = "Enable" Var Menu0Selected = "Enable"
Var MenuVSelected2 = "Invisible"
EndIf EndIf
If SpiralModeGoods = 1 Then If SpiralModeGoods = 1 Then

View file

@ -257,7 +257,12 @@
; setvar SpiralOnline true ; setvar SpiralOnline true
Var ButtonSpiralStage = "Invisible" Var ButtonSpiralStage = "Invisible"
If SpiralOnline = "true" Then If SpiralOnline = "true" Then
Var ButtonSpiralStage = "Enable" If SpiralModeFrozenFruit = 1 Then
Var ButtonFrozenSmoothie = "Enable
Var ButtonSpiralStage = "Invisible"
Else
Var ButtonSpiralStage = "Enable"
EndIf
EndIf EndIf
DEBUGVAR SpiralOnline DEBUGVAR SpiralOnline

View file

@ -37,7 +37,10 @@
If SpiralOnline = "true" Then If SpiralOnline = "true" Then
If Seeker = "curr" Then If Seeker = "curr" Then
Var MenuVSelected2 = "Enable" If SpiralModeFrozenFruit = 1 Then
Var Menu0Selected = "Enable"
Var MenuVSelected2 = "Invisible"
EndIf
EndIf EndIf
EndIf EndIf

View file

@ -83,7 +83,11 @@
Var ButtonLanguageListXPosition = 990 Var ButtonLanguageListXPosition = 990
Var ButtonLanguageListYPosition = 450 - 38 Var ButtonLanguageListYPosition = 450 - 38
Var LanguageButtonEnable = "Enable" If FromPaymentCash = "Enable" Then
Var LanguageButtonEnable = "Invisible"
Else
Var LanguageButtonEnable = "Enable"
EndIf
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml" OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RefreshAll RefreshAll

View file

@ -76,7 +76,11 @@
Var ButtonLanguageListXPosition = 990 Var ButtonLanguageListXPosition = 990
Var ButtonLanguageListYPosition = 450 - 38 Var ButtonLanguageListYPosition = 450 - 38
Var LanguageButtonEnable = "Enable" If FromPaymentCash = "Enable" Then
Var LanguageButtonEnable = "Invisible"
Else
Var LanguageButtonEnable = "Enable"
EndIf
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml" OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RefreshAll RefreshAll

View file

@ -253,16 +253,13 @@
; ;
<Image>
<Video> <X> 185 </X>
<X> 350 </X> <Y> 570 </Y>
<Y> 800 </Y> <Width> 722 </Width>
<Width> 400 </Width> <Height> 732 </Height>
<Height> 500 </Height> <Filename> "ROOT/taobin_project/image/smoothie/proccess/tao_sad.png" </Filename>
<Refresh> "Reload" </Refresh> </Image>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
</Video>
<Text> <Text>
@ -285,7 +282,7 @@
<Text> <Text>
<X> 0 </X> <X> 0 </X>
<Y> 1280 </Y> <Y> 1290 </Y>
<Language> <Language>
<ID> 002407 </ID> <ID> 002407 </ID>
</Language> </Language>

View file

@ -224,15 +224,13 @@
<Video> <Image>
<X> 350 </X> <X> 185 </X>
<Y> 800 </Y> <Y> 570 </Y>
<Width> 400 </Width> <Width> 722 </Width>
<Height> 500 </Height> <Height> 732 </Height>
<Refresh> "Reload" </Refresh> <Filename> "ROOT/taobin_project/image/smoothie/proccess/tao_sad.png" </Filename>
<Loop> "true" </Loop> </Image>
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
</Video>
; warning time ; warning time
<Image> <Image>
@ -252,7 +250,7 @@
<Text> <Text>
<X> 0 </X> <X> 0 </X>
<Y> 1280 </Y> <Y> 1320 </Y>
<Language> <Language>
<ID> 002406 </ID> <ID> 002406 </ID>
</Language> </Language>

View file

@ -178,6 +178,7 @@
Else Else
; Verify error ; Verify error
DEBUGVAR MachineSpiralErrorCode DEBUGVAR MachineSpiralErrorCode
Open "ROOT/taobin_project/xml/page_spiral_invalid_failed.xml"
EndIf EndIf
Refresh Refresh

View file

@ -42,9 +42,29 @@
<Y> 1314 </Y> <Y> 1314 </Y>
<Width> 911 </Width> <Width> 911 </Width>
<Height> 265 </Height> <Height> 265 </Height>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_fail.png" </Filename> <Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
</Image> </Image>
<Text>
<X> 0 </X>
<Y> 1344 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> 002430 </ID>
</Language>
</Text>
<Text>
<X> 0 </X>
<Y> 1430 </Y>
<Align> Center </Align>
<Language>
<ID> 002432 </ID>
</Language>
</Text>
;include="ROOT/taobin_project/inc/video.inc" ;include="ROOT/taobin_project/inc/video.inc"

View file

@ -0,0 +1,76 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout = 0
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 3 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
</EventActionOk>
<Image>
<X> 89 </X>
<Y> 700 </Y>
<Width> 902 </Width>
<Height> 902 </Height>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
</Image>
<Image>
<X> 84 </X>
<Y> 1314 </Y>
<Width> 911 </Width>
<Height> 265 </Height>
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 1344 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> 002430 </ID>
</Language>
</Text>
<Text>
<X> 0 </X>
<Y> 1430 </Y>
<Align> Center </Align>
<Language>
<ID> 002431 </ID>
</Language>
</Text>
;include="ROOT/taobin_project/inc/video.inc"
</Popup>