Apple's Cool Scrolling Style Like - Help Firemapplegames!!!

carlos.varela.comcarlos.varela.com Member Posts: 99
edited November -1 in Working with GS (Mac)
Hi Guys I am trying to adapt this two sample projects:

http://gamesalad.com/game/play/51398
http://gamesalad.com/game/play/30692

In order to do the same cool scrolling that came with you iPhone/iPad OS.

Can you help me in that Firemapplegames?

Comments

  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    Could you have the touch spawn an actor that controls the camera? Set the spawned actor to exist until the next touch occurs. Constrain it to the touch position until the touch is lifted, then give it an initial acceleration in the direction of the swipe and some heavy drag to slow it down.
  • carlos.varela.comcarlos.varela.com Member Posts: 99
    Yeah, but doesn't work, don't know why.
    I think that the secrets is behind this sample:
    http://gamesalad.com/game/play/30692

    I am very close to resolve, but the problem is that both sample are little different.
    The scroll sample use a kind of scrolling's "limit" in order to limit the drag to what you need to be limited, not let the background to scroll to infinite, that is fine in this case.
    The problem with second example is that does not have this limit, I have been trying to extend the first sample with the "mouse up" behavior in order to accelerate the last direction as you say.

    tshirtbooth: thanks too. please both samples, I think we are very close to resolve.
  • carlos.varela.comcarlos.varela.com Member Posts: 99
    Firemapple, Are you there??? ; ))
  • carlos.varela.comcarlos.varela.com Member Posts: 99
    Hi Guys, well I think that on every step I do I am more close to the solution:

    The first test can do the movement, but no limits, does not stop at the edge of background:
    http://gamesalad.com/game/play/56167

    The second implement the limits, but lost the "cool scroll":
    http://gamesalad.com/game/play/56169

    The third move like a joystick, but with acceleration:
    http://gamesalad.com/game/play/56171

    Anyone can give me a little help in order to be finished? thnx!!!
  • carlos.varela.comcarlos.varela.com Member Posts: 99
    Hey, give me some help, please.
  • carlos.varela.comcarlos.varela.com Member Posts: 99
    Thanks man again!

    Have you see my samples?
  • carlos.varela.comcarlos.varela.com Member Posts: 99
    I was thinking in another way:
    Maybe having an actor attached the camera, constrained to follow the camera that can collide with the edge of the background, just setting the accelerate to zero, like when you touch again the background.
    By other way, in may case, just moving a big picture is well, because I just need to move the background.
    Thanks again.
Sign In or Register to comment.