Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading sprites
#11
hmm..why doesn't that work.. :o
Reply
#12
What is the value of IndexNo when the error occurs? Also, what is the UBOUND of your image data?
Reply
#13
IndexNo: 1001
UBOUND: 0

0.... That isn't good is it?
Reply
#14
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?
Reply
#15
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
I'm going nuts :roll:
Reply
#16
Dump some variable values so we can diagnose the problemo. Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)