Images just not aligning!? :S

olster1olster1 Member Posts: 396
edited November -1 in Working with GS (Mac)
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.

Comments

  • old_kipperold_kipper Member Posts: 1,420
    Yup! I think it is quite common. Makes it very hard to set up large images. Hope this gets a fix in the next update along with a snap to grid.

    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
Sign In or Register to comment.