26 lines
678 B
Lua
26 lines
678 B
Lua
local scene={}
|
|
|
|
function scene.enter()
|
|
DiscordRPC.update("Sponsoring a Great Cause")
|
|
end
|
|
|
|
function scene.draw()
|
|
-- QR Code frame
|
|
GC.setLineWidth(2)
|
|
GC.rectangle('line',298,98,263,263)
|
|
GC.rectangle('line',718,318,250,250)
|
|
|
|
-- Support text
|
|
GC.setColor(1,1,1,MATH.sin(TIME()*20)*.3+.6)
|
|
setFont(30)
|
|
GC.mStr(text.support,430+MATH.sin(TIME()*4)*20,363)
|
|
GC.mStr(text.support,844-MATH.sin(TIME()*4)*20,570)
|
|
end
|
|
|
|
scene.widgetList={
|
|
WIDGET.newImage{name='pay1', x=300,y=100},
|
|
WIDGET.newImage{name='pay2', x=720,y=320},
|
|
WIDGET.newButton{name="back", x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
|
|
}
|
|
return scene
|