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

@ -0,0 +1,36 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0x000001" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout3 = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout3 = Timeout3 + 1
DEBUGVAR Timeout3
If Timeout3 > 10 Then
RootLayoutVisible 3 "hide"
Open "ROOT/taobin_project/xml/topview2.xml"
EndIf
TimerReset
</EventTimeout>
<Video>
<X> 0 </X>
<Y> 392 </Y>
<Width> 1080</Width>
<Height> 1528 </Height>
<Filename> VideoFileNameInstance3 </Filename>
</Video>
</Popup>

View file

@ -0,0 +1,28 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0x000001" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout3 = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout3 = Timeout3 + 1
DEBUGVAR Timeout3
If Timeout3 > 2 Then
Var Timeout3 = 0
RootLayoutVisible 3 "show"
Open "ROOT/taobin_project/xml/sometime/page_play_may_day.xml"
EndIf
TimerReset
</EventTimeout>
</Popup>

View file

@ -0,0 +1,15 @@
If Seeker = "curr" Then
If MayDayRunEnable = 1 Then
If CountUpPlayMayDay = "" Then
Var CountUpPlayMayDay = 0
EndIf
Var CountUpPlayMayDay = CountUpPlayMayDay + 1
DEBUGVAR CountUpPlayMayDay
If CountUpPlayMayDay > 3 Then
Var CountUpPlayMayDay = 0
Var VideoFileNameInstance3 = "ROOT/taobin_project/video/event_1.mp4"
OpenInst 3 "ROOT/taobin_project/xml/sometime/page_play_may_day_delay.xml"
EndIf
EndIf
EndIf