Images just not aligning!? :S
It's my day of questions
I have two 480x320 actors side by side. They are both used as static backgrounds. The first is on the main game scene, when the play completes the level the camera moves to the right and shows the second 480x320 image. They are both perfectly aligned in terms of the X and Y values, and they look perfectly aligned when viewing the whole scene.
However when I preview the game either on the viewer app or on the computer they are not aligned! The second image looks to be a pixel too far to the right. It's enough to have a visible black line between the two then the camera moves. Looks unpolished and rubbish.
the only solution is to change the size of the first image to 481. This sorts it out but it still doesn't explain why it's happening.
Has anyone had this sort of problem before? Any help is much appreciated.
![:/ :/](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/confused.png)
I have two 480x320 actors side by side. They are both used as static backgrounds. The first is on the main game scene, when the play completes the level the camera moves to the right and shows the second 480x320 image. They are both perfectly aligned in terms of the X and Y values, and they look perfectly aligned when viewing the whole scene.
However when I preview the game either on the viewer app or on the computer they are not aligned! The second image looks to be a pixel too far to the right. It's enough to have a visible black line between the two then the camera moves. Looks unpolished and rubbish.
the only solution is to change the size of the first image to 481. This sorts it out but it still doesn't explain why it's happening.
Has anyone had this sort of problem before? Any help is much appreciated.
Comments
Sometimes you can fix it with positioning with a change attribute (not in a rule) so as as the scene starts it get exactly positioned, and buts up. It's worth adding a text attribute to check the position of the actor in the scene. and then you can adjust it based on its read out.
good luck
kipper
p.s. if you give your actor a couple of pixel overlap life should seem more pleasant