Map Scrolling Question

Fal01Fal01 Member Posts: 460
edited March 2012 in Working with GS (Mac)
Hi All,

I am making an iap map to go in my game, I want to be able to smoothly scroll around the map with touch. The map is 1024x1024. I tried making an invisible actor and using it to scroll around and it works but is very erratic and judders a lot especially in the middle of the map.
I've looked for a tutorial for this but there doesn't appear to be one.
Any ideas would be appreciated.

Cheers.

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    There is a demo called "Background Drag Scrolling Example" in GameSalad (File-->New and Filter for "Background Drag").

Answers

  • Fal01Fal01 Member Posts: 460
    Thanks tatiang, I completely forgot to look in the GS demoes! Doh!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @Fal01 Well, I almost never look there any more, but one of the sous chefs mentioned that they have increased the number of demos from 100 to 500, so now there are some really useful demos in there. It's worth combing through.
Sign In or Register to comment.