Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calculate the dimension of an array for a sprite...
#2
It's the number of *bytes*. A QB integer is 2 bytes, hence needing half as many integers.

If you're ever planning to use FreeBASIC, don't even worry about calculating that, we introduced a function called imagecreate, which does the calculations for you if you give it the x, y.

Just saying.
Reply


Messages In This Thread
Calculate the dimension of an array for a sprite... - by Anonymous - 04-19-2007, 10:48 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)