Search found 5 matches

by ivanguerr
Tue Dec 20, 2005 8:43 pm
Forum: PSP Lua Player Development
Topic: What´s wrong with the images?
Replies: 1
Views: 1319

What´s wrong with the images?

while true do screen.waitVblankStart() --Si pulsamos el boton X se acaba pad=Controls.read() if pad:start() then break end if pad:triangle() then screen:clear() screen:blit(0, 0,Image.load("imagen/juego01.jpg")) screen.flip() end if pad:l() then screen:clear() screen:blit(0, 0,Image.load(&...
by ivanguerr
Mon Dec 19, 2005 9:03 pm
Forum: PSP Lua Player Development
Topic: Error loading images
Replies: 8
Views: 2916

I changed to PNG and the problem persists. I changed a little bit the code, so I create a table to load images: local animacion1 = {a1=Image.load("imagen/foto00.jpg"),a2=Image.load("imagen/foto02.jpg"),a3=Image.load("imagen/foto04.jpg")} local animacion2 = {b1=Image.loa...
by ivanguerr
Fri Dec 16, 2005 8:40 am
Forum: PSP Lua Player Development
Topic: Error loading images
Replies: 8
Views: 2916

I don´ have the problem with one image, the problem is when I tried to load the fifth/sixth image, whatever the image will be. For example, if the image photo02.jpg I load in fifth position, the program crashes. I change to load this same image the first position and it´s works perfect. All the imag...
by ivanguerr
Fri Dec 16, 2005 8:01 am
Forum: PSP Lua Player Development
Topic: Error loading images
Replies: 8
Views: 2916

The two photo7s is an error mine, I tried to put others images, so the photo09.jpg is not the problem. I supose is something wrong with the memory although as far I know lua automatic free the memory. I tried to load diferents images (jpg,png), I tried to load less images too but when it will be loa...
by ivanguerr
Fri Dec 16, 2005 5:00 am
Forum: PSP Lua Player Development
Topic: Error loading images
Replies: 8
Views: 2916

Error loading images

I´m trying to slide two images, one from left to right and the other one from right to left. When both images dissapear from screen I load another two images. The problem is when I´ve loaded 5 or 6 images, lua shows the "load error image". I tryed to change the image, the path, also checke...