07-08-2004, 02:36 PM
hmm..why doesn't that work.. :o
Loading sprites
|
07-08-2004, 02:36 PM
hmm..why doesn't that work.. :o
07-08-2004, 06:19 PM
What is the value of IndexNo when the error occurs? Also, what is the UBOUND of your image data?
07-08-2004, 07:05 PM
IndexNo: 1001
UBOUND: 0 0.... That isn't good is it?
07-08-2004, 10:23 PM
No, zero is not good for UBOUND(ImageArray) or UBOUND(Sprites) or UBOUND(SpritesIndex), considering the fact that you are using one-based arrays... are you sure you have the path right? And are you getting these values while the program is running?
07-08-2004, 10:40 PM
Ok I don't know why it didn't work, but it did with an other sprite... But now I'm getting an overflow error on this line:
Code: x& = (ImageArray(Ptr&) \ 8) * (ImageArray(Ptr& + 1)) + 4
07-09-2004, 05:40 PM
Dump some variable values so we can diagnose the problemo.
|
« Next Oldest | Next Newest »
|