Help with X Wrap

captain090captain090 Member, PRO Posts: 2

Hello,

I am making an iOS game starting with iPad build that crops down to fit with iPhones too. It's in landscape mode and I have the X-wrap on because I want it to look like a plane is flying left to right so I have some grass scrolling from right to left at the bottom of the screen.

Part of the problem might be because of the way I have the screen set up. I have the size of 2000 width by 768 height. I did that so I could put in a 2000px wide image of grass that wouldn't repeat as often. What happens is the grass scrolls by at first then it skips and comes back around with a large gap in it. I don't understand why this is happening because the actor is the same width as the screen so it seems like it would meet up right?

I know there are other options for this like moving the actor back to the start once it gets to the end but I would like to see if this can get resolved before I switch methods. Thanks for the help.

Best Answer

  • UtopianGamesUtopianGames Posts: 5,692
    Accepted Answer

    For Santa GO! our free template I used 2 actors 1026 wide (2 pixels bigger to avoid a potential gap) The scene was 2048 i simply had them move 180 (left).

    Your correct it won't work if you use a single big image the same size of the scene for some reason.

    Darren.

Answers

Sign In or Register to comment.