我如何在lua中显示animated gif's
?我在网上搜索了很多次,但什么也没有找到。我正在使用director并尝试这个代码,
local backgroundImage = display.newGifRect( "mainmenu.gif", 480, 320 )
backgroundImage.x = 240; backgroundImage.y = 160
menuGroup:insert( backgroundImage )
我认为这应该是一个图像,但它没有提前worked.Thanks。
https://stackoverflow.com/questions/8921660
复制相似问题