Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sprite Grid Bug
#1
:mad: 
alright I got this weird grid line showing error, can somebody tell me why?

w is 99, h is 99, row and col are 3 and 3.. and the dimensions of the whole sprite sheet is 300x300
this is the grid :
[Image: 28a419f.jpg]

And this is the bug, not only in this frame, in some other frames too the grid line appears..
[Image: 300z7kh.png]

can somebody help on this? thanks a lot.. please move to sprite section if its not suited here.
Reply
Thanks given by:
#2
i might be wrong about this, but the field inside the grid is already 100x100 so maybe thats the problem? .
[sig placeholder until my new sig is finished]
should totally allow people to be all trolley on their birthday :D
Reply
Thanks given by: Rhino.Freak
#3
but 100 x 100 is WITH the lines, hence the main area should be 99 x 99, am I wrong?
Reply
Thanks given by:
#4
yes - but it is not
Reply
Thanks given by: Rhino.Freak
#5
if sprite should be in x99 y99 then grid likes should be on x100 y100
Reply
Thanks given by: Rhino.Freak
#6
actually this looks pretty weird to me, i checked every sprite with the selection tool (mind you ofc not selecting the grid)
[Image: weirdgrid.png?revision=437&size=300]
[sig placeholder until my new sig is finished]
should totally allow people to be all trolley on their birthday :D
Reply
Thanks given by: Rhino.Freak
#7
looks like you gotta move everything one pixel up and left
Reply
Thanks given by: Rhino.Freak
#8
hmm.. well can somebody tell me what should be the exact width and height of the whole sheet, if not 300x300 so that I can make it perfect?

thanks a lot YinYin, it worked! ^^
Reply
Thanks given by:
#9
"w: 99 h: 99" implies that EACH sprite has those dimensions. Right now, it's a conglomerate of all sorts of different values as marked by TLGM.

You can stay with 300x300 IF you do what YinYin suggested. That way, each sprite should have the same 99x99 + 1px gridline.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: Rhino.Freak
#10
also you can fix this by removing grid lines
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)