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)
help
Moderators: Shine, Insert_witty_name
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.
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.