为什么我在开始游戏动画里加入代码
lib.FillColor(0, 0, CC.ScreenW, CC.ScreenH, C_BLACK)
ShowScreen()
lib.Delay(100)
local ssid = lib.SaveSur(0, 0, CC.ScreenW, CC.ScreenH)
for ii = 1574, 1578 do
lib.PicLoadCache(3, ii * 2, CC.ScreenW / 2, CC.ScreenH / 2, 2, 192)
ShowScreen()
lib.Delay(20)
lib.LoadSur(ssid, 0, 0)
end
for ii = 1574, 1578 do
lib.PicLoadCache(3, ii * 2, CC.ScreenW / 2, CC.ScreenH / 2, 2, 192)
ShowScreen()
lib.Delay(20)
lib.LoadSur(ssid, 0, 0)
end
for ii = 1566, 1573 do
lib.PicLoadCache(3, ii * 2, CC.ScreenW / 2, CC.ScreenH / 2, 2, 192)
ShowScreen()
lib.Delay(50)
lib.LoadSur(ssid, 0, 0)
end
for i = 20, 40 do
NewDrawString(-1, -1, CC.s30, C_GOLD, i)
ShowScreen()
lib.Delay(1)
if i == 40 then
ClsN()
for z = 1, 20 do
if z > 10 then
NewDrawString(1150, 680, CC.s31, C_RED, 20)
end
NewDrawString(-1, -1, CC.s30, C_GOLD, 40)
ShowScreen()
lib.Delay(1)
end
end
end
for ii = 1597, 1604 do
lib.PicLoadCache(3, ii * 2, CC.ScreenW / 2, CC.ScreenH / 2, 2, 192)
ShowScreen()
lib.Delay(50)
lib.LoadSur(ssid, 0, 0)
end
for ii = 1610, 1616 do
lib.PicLoadCache(3, ii * 2, CC.ScreenW / 2, CC.ScreenH / 2, 2, 192)
ShowScreen()
lib.Delay(50)
lib.LoadSur(ssid, 0, 0)
end
for i = 20, 40 do
NewDrawString(-1, -1, CC.s40, C_RED, i)
ShowScreen()
lib.Delay(1)
if i == 40 then
ClsN()
for z = 1, 30 do
if z > 10 then
NewDrawString(-1, 680, CC.s46, C_GOLD, 20)
end
NewDrawString(-1, -1, CC.s40, C_RED, 40)
ShowScreen()
lib.Delay(1)
end
end
end
for ii = 1535, 1563 do
lib.PicLoadCache(3, ii * 2, CC.ScreenW / 2, CC.ScreenH / 2, 2, 192)
ShowScreen()
lib.Delay(100)
lib.LoadSur(ssid, 0, 0)
end
lib.FreeSur(ssid)
怎么没有显示动画的?难道要调位置吗? |