Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Posts: 1
Joined: Sun Sep 17, 2006 4:09 am


Post by kop2006 »

im quite new to lua progaming and ive been trying to make a game
but i keep getting error mesages that i dont understand
can sumone explain this one
Error: index.lua:19: calling 'blit' on bad self (number expected, got nil)
Posts: 64
Joined: Fri Jul 15, 2005 11:44 pm

Post by DiabloTerrorGF »

code please?
Posts: 23
Joined: Sat Jun 04, 2005 2:15 am
Location: Penn State

Post by razorrifh »

are you trying to move a char around and have the coordinates as variables (such as "screen:blit(x, y, p1life)") but you forgot to define x and y to be numbers?

the only other thing i could think of is a typo in the Image name that you have loaded vs the one in your screen:blit statement. if that doesnt help, post the code.
Post Reply