Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weirdest glitch ever
#1
Well, I added in a VisualInventory to my game. It works fine for adding items, blts them correctly. But, when I blt over that (when the player drops/looses the item) with black, there aer 2 remaining pixels on the right side and the bottom of the object there berfore it. I checked my values and they are all constrained to PIC_X and PICY (which is 32x32) and I am getting from the 0x0 spot of the picture box I am copying from. To fix this, I had to increase the picture box to 34x34.

It doesn't really make much difference, it just shouldn't be like that, I'm hoping something isn't horribly wrong.

Other info:
Visual inventory is one big box (5x3 space (15 items))
Updated through a timer
Everything is in pixels (not twips)

I am not posting my code yet, as I don't really want to. If the code is needed to diagnose this then I will post it, but I would like to figure it out before that.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)