yeah thats what got me thinking about the version you have. Maybe the others use commands 0.14 doesnt support.
Printable View
yeah thats what got me thinking about the version you have. Maybe the others use commands 0.14 doesnt support.
Nope, didn't fixit, I'll try using the tutorial to change it to a stand alone eboot
hmmmm, what i've done which absolutely rocks is i got the eloader on my 32mb and my 1gb card and luaplayer v0.17DK2 on my 32 mb and luaplayer v0.16 on my 1gb - its great!
I'm having an odd graphical problem with my Lua script.... this http://i2.tinypic.com/syvv4l.png is showing up like this: http://i2.tinypic.com/syvuy9.jpg ingame. Anyone know whats wrong?
Uhm sometimes it could just be what format the image it is in, but otherwise I have no idea.
.PNG, which has been working for me for a while.Zitat:
Zitat von PopcOrn DeVil
Ok i haven't done anything to it and suddenly LUAplayer doesn't work anymore. First i got an error saying something is nil and press start to restart (the usual), but this happens on startup of LUAplayer itself. Tried to reinstall and still to game. Now it just crashes and tells me its not able to run it? This sucks bigtime since i cannot play my own game to test it.
Did anybody else have this? If so what did you do, or else any ideas on this?
Edit:
Never mind, it works again. I have no clue about what happened, i just kept on reinstalling and rebooting till it worked again, jey!
Ok, I've got some major image problems in LUA. The first problem is when I run the following script on the PSP, it runs fine, but when loading it using windowsluaplayer I get myself the following error:
Script
Error:Code:System.usbDiskModeActivate()
green = Color.new(0, 255, 0)
time = 0
pi = math.atan(1) * 4
background = Image.load("images/background.jpg")
smiley = Image.load("images/smiley.png")
while true do
screen:blit(0, 0, background, 0, 0, background:width(), background:height(), false)
x = math.sin(pi * 2 / 250 * time) * 200 + 220.5
y = 172 - math.abs(math.sin(pi * 2 / 125 * time) * 150)
screen:blit(x, y, smiley)
time = time + 1
if time >= 500 then
time = 0
end
screen.waitVblankStart()
screen.flip()
pad = Controls.read()
if pad:start() then
break
end
end
Next, as soon as I replace the background.jpg by the same file in png, it doesn't load at all, no matter on the PSP as on Windows. Though my tutorial used a .png file that loaded just fine.Zitat:
error: index.lua:5: Image.load: Error loading image.
Thanks in advance
You sure you havent used any capital letters or anything on the ACTUAL image name?
Make it a png file. might fix it. I never thought lua could read jpg?