nevermind I just forgot to add a quotation on my image.
Printable View
nevermind I just forgot to add a quotation on my image.
You never declared face or facing as a variable before the while true do loop. I dont think you can declare them in that loop.
Why won't it load the menu background image?
Code:---- Menu set
function menu()
screen:blit(200, 100, menu)
while true do
screen.waitVblankStart()
screen.flip()
end
---- Menu load
if pad:start() then
menu()
end
Zitat:
Zitat von HaxxBlaster
Code:function menu()
while true do
screen:blit(200,100,menu)
screen.waitVblankStart()
screen.flip()
end
end
It says bad argument.
But i got the picture and all..
Why don't you just blit the picture when you press the start button?
Are you loading the pic in your variables? like:Zitat:
Zitat von HaxxBlaster
menu = Image.load("menu.png")
Yes, of course.Zitat:
Zitat von Twenty 2
I pm you the whole script.
Because if i want to change stuff it would be alot easyer to put i like that.Zitat:
Zitat von Master Inuyasha
And it's just the start of the menu.
Ok I got a new problem I neeed the character to punch and I got the image for the Punching but I'm not sure how to make it show the punch and then go back to the regular standing picture. If you need to see the script just say so and I'll post it up. Can someone help me?