Advertisement

Spaces between tiles

Started by March 02, 2000 09:22 AM
1 comment, last by Zombie 24 years, 9 months ago
I have this stupid problem with my tiles. look at the picture- Of course, the spaces between tiles are not white when I'm scrolling,but the color next to them. Purple lines belong to my texture. When I scroll to NW, NE, SE or SW, the spaces are appearing between the tiles. Lines are pointing to the direction I'm scrolling to. When I'm scrolling to N,S,W or E, all the spaces are visible. Edited by - Zombie on 3/2/00 9:25:05 AM
It sounds like you''re having problem with the round off from floats (not sure what they are called in VB) to integers. You are simply not using the exact same coordinates for neighboring tiles at the connecting edges.

That''s my guess at least.
Advertisement
I noticed my error now- I had changed -96 to -94. But the strangest thing is that in Bracket''s source the number was also changed (from -96 to -94). And there weren''t any bugs...
BTW, floats are Singles in VB.

This topic is closed to new replies.

Advertisement