WTC+SGP: WIP page collect pt theme

This commit is contained in:
Pakin 2024-08-14 09:03:07 +07:00
parent db0eb1ea63
commit 20b2c556ed

View file

@ -40,6 +40,13 @@
;Play "ROOT/taobin_project/sound_eng/Reward_final.mp3"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
If UsePepsiTheme = 1 Then
Var DirImage = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
Var DirImage = DirImage + "/image/collect_point1_en"
Var IMG_CNT = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_doing/img2_eng.png"
EndIf
Else
Var DirImage = "ROOT/taobin_project/image/collect_point1"
;Play "ROOT/taobin_project/sound_thai/dontforget_number.mp3"
@ -425,6 +432,11 @@
Var ShowCountdown = "Invisible"
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
If UsePepsiTheme = 1 Then
Var IMG_CNT = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_doing/img2_percent_eng.png"
EndIf
EndIf
If XPercent = 0 Then
@ -433,6 +445,51 @@
Var XPercent = 0
EndIf
Var AlphaBg = "ROOT/taobin_project/image/collectiing/alpha.png"
Var NumImgDir = "ROOT/taobin_project/image/collectiing/"
If UsePepsiTheme = 1 Then
Var AlphaBg = "ROOT/taobin_project/inter/whatthecup/sgp/image/collectiing_en/alpha.png"
Var NumImgDir = "ROOT/taobin_project/inter/whatthecup/sgp/image/collectiing_en/"
EndIf
Var bn_NumPad1 = NumImgDir + "bn_1.png"
Var bp_NumPad1 = NumImgDir + "bp_1.png"
Var bn_NumPad2 = NumImgDir + "bn_2.png"
Var bp_NumPad2 = NumImgDir + "bp_2.png"
Var bn_NumPad3 = NumImgDir + "bn_3.png"
Var bp_NumPad3 = NumImgDir + "bp_3.png"
Var bn_NumPad4 = NumImgDir + "bn_4.png"
Var bp_NumPad4 = NumImgDir + "bp_4.png"
Var bn_NumPad5 = NumImgDir + "bn_5.png"
Var bp_NumPad5 = NumImgDir + "bp_5.png"
Var bn_NumPad6 = NumImgDir + "bn_6.png"
Var bp_NumPad6 = NumImgDir + "bp_6.png"
Var bn_NumPad7 = NumImgDir + "bn_7.png"
Var bp_NumPad7 = NumImgDir + "bp_7.png"
Var bn_NumPad8 = NumImgDir + "bn_8.png"
Var bp_NumPad8 = NumImgDir + "bp_8.png"
Var bn_NumPad9 = NumImgDir + "bn_9.png"
Var bp_NumPad9 = NumImgDir + "bp_9.png"
Var bn_NumPad0 = NumImgDir + "bn_0.png"
Var bp_NumPad0 = NumImgDir + "bp_0.png"
Var bn_NumPadBack = NumImgDir + "bn_back-1.png"
Var bp_NumPadBack = NumImgDir + "bp_back-1.png"
Var TextEditImg = DirImage + "/text_edit.png"
DEBUGVAR TextEditImg
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -509,7 +566,7 @@
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
<Filename> AlphaBg </Filename>
</Image>
@ -524,8 +581,8 @@
<Button>
<X> 333 </X>
<Y> 1086 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<Filename> bn_NumPad1 </Filename>
<FilenamePress> bp_NumPad1 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -554,8 +611,8 @@
<Button>
<X> 477 </X>
<Y> 1086 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<Filename> bn_NumPad2 </Filename>
<FilenamePress> bp_NumPad2 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -579,8 +636,8 @@
<Button>
<X> 620 </X>
<Y> 1086 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<Filename> bn_NumPad3 </Filename>
<FilenamePress> bp_NumPad3 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -604,8 +661,8 @@
<Button>
<X> 333 </X>
<Y> 1230 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<Filename> bn_NumPad4 </Filename>
<FilenamePress> bp_NumPad4 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -629,8 +686,8 @@
<Button>
<X> 477 </X>
<Y> 1230 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<Filename> bn_NumPad5 </Filename>
<FilenamePress> bp_NumPad5 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -654,8 +711,8 @@
<Button>
<X> 620 </X>
<Y> 1230 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<Filename> bn_NumPad6 </Filename>
<FilenamePress> bp_NumPad6 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -679,8 +736,8 @@
<Button>
<X> 333 </X>
<Y> 1373 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<Filename> bn_NumPad7 </Filename>
<FilenamePress> bp_NumPad7 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -704,8 +761,8 @@
<Button>
<X> 477 </X>
<Y> 1373 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<Filename> bn_NumPad8 </Filename>
<FilenamePress> bp_NumPad8 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -729,8 +786,8 @@
<Button>
<X> 620 </X>
<Y> 1373 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<Filename> bn_NumPad9 </Filename>
<FilenamePress> bp_NumPad9 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -755,8 +812,8 @@
<Button>
<X> 477 </X>
<Y> 1517 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<Filename> bn_NumPad0 </Filename>
<FilenamePress> bp_NumPad0 </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -780,8 +837,8 @@
<Button>
<X> 620 </X>
<Y> 1517 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<Filename> bn_NumPadBack </Filename>
<FilenamePress> bp_NumPadBack </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -813,7 +870,7 @@
<Align> Center </Align>
<Size> 62 </Size>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Color> HeadlineColor </Color>
<Value> TelephoneNumber </Value>
<Format> Telnum-mask-3 </Format>
</Text>
@ -1023,14 +1080,14 @@
<Image>
<X> 217 </X>
<Y> 866 </Y>
<Filename> "ROOT/taobin_project/image/collect_point1/img3.png" </Filename>
<Filename> Var( DirImage + "/img3.png") </Filename>
</Image>
<Image>
<X> 157 </X>
<Y> 868 </Y>
<State> ShowTextNumber </State>
<Filename> Var( DirImage + "/text_edit.png") </Filename>
<Filename> TextEditImg </Filename>
</Image>
@ -1104,7 +1161,7 @@
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Color> HeadlineColor </Color>
<Value> XPercent </Value>
</Text>