Images off a few pixels?
richcoy
Member Posts: 211
Hello,
I'm working on a game where there are four rows of tiles, each is spaced two pixels apart. In the builder they are all lined up perfectly but when preview it in GS or on my iPhone many of the tiles are off a pixel or two making the game board look really sloppy.
The tiles are 60x76 (30x38 in resolution independence) so they are multiples of 4.
Each one has been placed on exact pixel numbers, no decimals.
Display size is 480 by 320.
The only thing I can think of is that I'm moving the camera to the right to view the game board, with the game's title screen to the left in the scene. Is moving the camera possibly causing this? I hope that's not it. Setting up a file to test this would take several hours. I'm hoping someone might have another possible solution.
Thanks.
Rich
I'm working on a game where there are four rows of tiles, each is spaced two pixels apart. In the builder they are all lined up perfectly but when preview it in GS or on my iPhone many of the tiles are off a pixel or two making the game board look really sloppy.
The tiles are 60x76 (30x38 in resolution independence) so they are multiples of 4.
Each one has been placed on exact pixel numbers, no decimals.
Display size is 480 by 320.
The only thing I can think of is that I'm moving the camera to the right to view the game board, with the game's title screen to the left in the scene. Is moving the camera possibly causing this? I hope that's not it. Setting up a file to test this would take several hours. I'm hoping someone might have another possible solution.
Thanks.
Rich
Best Answer
-
simo103 Posts: 1,331@richcoy ... I remembered this issue being discussed before a while ago. I believe a way to sort it out was found here:
http://forums.gamesalad.com/discussion/41040/problem-with-placing-actors/p1
Answers
Then your image can be one whole rather than lots of tiles.
Hope this helps,
BarkingApps :o3
Deflect is 50% off this month : http://itunes.apple.com/us/app/deflection/id519413860?mt=8