diff --git a/Zframework/bg.lua b/Zframework/bg.lua index 06540c82..8fa7762d 100644 --- a/Zframework/bg.lua +++ b/Zframework/bg.lua @@ -203,6 +203,48 @@ back.fan={ end, } +back.welcome={ + init=function() + t=rnd()*2600 + txt=gc.newText(_G.getFont(80),"Welcome To Techmino") + end, + resize=function() + W,H=SCR.w,SCR.h + end, + update=function(dt) + t=t+dt + end, + draw=function() + if -t%13.55<.1 then + gc.clear(.2+.1*sin(t),.2+.1*sin(1.26*t),.2+.1*sin(1.626*t)) + else + gc.clear(.1,.1,.1) + end + gc.push("transform") + gc.replaceTransform(_G.xOy) + gc.translate(640,360) + if -t%18.26<1 then + gc.scale(6.26) + gc.translate(-t*400%800-400,0) + else + gc.scale(1.1626,1.26) + end + if -t%12.6<.1 then + gc.translate(60*sin(t*.26),100*sin(t*.626)) + end + if -t%16.26<.1 then + gc.rotate(t+5*sin(.26*t)+5*sin(.626*t)) + end + gc.setColor(.3,.6,.7) + gc.draw(txt,-883*.5+4*sin(t*.7942),-110*.5+4*sin(t*.7355)) + gc.setColor(.6,.8,1) + gc.draw(txt,-883*.5+2*sin(t*.77023),-110*.5+2*sin(t*.7026)) + gc.setColor(1,1,1) + gc.draw(txt,-883*.5+3*sin(t*.7283),-110*.5+3*sin(t*.7626)) + gc.pop() + end, +} + back.aura={ init=function() t=rnd()*2600 diff --git a/Zframework/widgetList.lua b/Zframework/widgetList.lua index ad3e5e4e..ba034151 100644 --- a/Zframework/widgetList.lua +++ b/Zframework/widgetList.lua @@ -90,7 +90,7 @@ local CUSlist={ opponent={0,1,2,3,4,5,6,7,8,9,10}, life={0,1,2,3,5,10,15,26,42,87,500}, pushSpeed={1,2,3,5,15}, - bg={"none","grey","glow","rgb","flink","wing","fan","aura","bg1","bg2","rainbow","rainbow2","lightning","lightning2","matrix","space"}, + bg={"none","grey","glow","rgb","flink","wing","fan","welcome","aura","bg1","bg2","rainbow","rainbow2","lightning","lightning2","matrix","space"}, bgm=BGM.list, } diff --git a/modes/GM.lua b/modes/GM.lua index 961b5a11..60cb599f 100644 --- a/modes/GM.lua +++ b/modes/GM.lua @@ -30,7 +30,7 @@ return{ return true end end, - bg="aura",bgm="far", + bg="welcome",bgm="far", }, slowMark=true, load=function() diff --git a/modes/survivor_ultimate.lua b/modes/survivor_ultimate.lua index 6bc7b698..4baf5c1b 100644 --- a/modes/survivor_ultimate.lua +++ b/modes/survivor_ultimate.lua @@ -23,7 +23,7 @@ return{ P.modeData.event=P.modeData.event+1 end end, - bg="rgb",bgm="storm", + bg="welcome",bgm="storm", }, pauseLimit=true, load=function()