窗口无限振动特效
2023-01-24 09:16:15 最后更新
s fu=这是振动的幅度,建议在10-50之间
swh("h",h)
s(h-fu,hs)
swh("w",w)
s(w-fu,ws)
t()
{
//这是振动的间隔
s jg=100
w(1==1)
{
us(0,"x",fu)
us(0,"w",w)
stop(jg)
us(0,"y",fu)
us(0,"x",0)
stop(jg)
us(0,"y",0)
us(0,"h",hs)
stop(jg)
us(0,"w",ws)
us(0,"h",h)
stop(jg)
}
}