| View previous topic :: View next topic |
| Author |
Message |
kop2006
Joined: 17 Sep 2006 Posts: 1
|
Posted: Sun Sep 17, 2006 4:24 am Post subject: help |
|
|
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) |
|
| Back to top |
|
 |
DiabloTerrorGF
Joined: 15 Jul 2005 Posts: 64
|
Posted: Mon Sep 18, 2006 6:40 am Post subject: |
|
|
| code please? |
|
| Back to top |
|
 |
razorrifh
Joined: 04 Jun 2005 Posts: 23 Location: Penn State
|
Posted: Sat Sep 23, 2006 8:39 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|