ERROR LOADING??? OK so i just started LUA programming and i wanted to make my own program i have made most of the code but still cant get it to work. if someone can help me that would be nice here is the code. btw all this does is load up 1% to 100% and then display a backround and then play a song. here is the code
System.usbDiskModeActivate()
screenrint(194,136,"loading:0%",pink)
screen.flip()
screen:clear()
screenrint(194,136,"loading:20%",pink)
screen.flip()
screen:clear()
screenrint(194,136,"loading:40%",pink)
screen.flip()
screen:clear()
screenrint(194,136,"loading:60%",pink)
screen.flip()
screen:clear()
screenrint(194,136,"loading:80%",pink)
screen.flip()
screen:clear()
screenrint(194,136,"loading:100%",pink)
screen.flip()
screen.waitVblankStart()
screen.flip()
boltsnd=sound.load("music/crazytrain.mp3")
backround=image.load("images/ipod.jpeg")
boltsndlay()
screen.waitVblankStart(240)
music.volume(128)
if pad:select()then screen:save("screenshot.tga") end
if pad:start() then
break
end
if you can help me that would be great thank you!!!! by the way were every you see the smilly face its a collan. |