No you can't. LuaPlayer doesn't support animated GIF files since it is a closed format now.
I have a Gif image but is it possible to use that in Lua. As i would like it used as just a splash screen with press start to continue on it. Here is the image i would like to use.
Thanks
PSN ID: splodger15
No you can't. LuaPlayer doesn't support animated GIF files since it is a closed format now.
I did something like that using 2 images in soras adventure, the code went like this
This is used to do a 2 image animation start screen....Code:--load 2 images-- Splash1 = Image.load("backgrounds/intro1.png") Splash2 = Image.load("backgrounds/intro2.png") function images() ------Right Animation Tim = Tim + 1 if Tim>= 100 or Tim<=0 then Tim = 0 end if Tim==5 then Splash = Splash1 end if Tim==50 then Splash = Splash2 end end -----This code loads the splash screen, im using 2 images------ while true do pad = Controls.read() images() if pad:start() then loadA() end screen:blit(0,0,Splash) screen.flip() screen.waitVblankStart() end
Ok thanks for the help Gunn and yaustar
:thumbup:![]()
PSN ID: splodger15
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks