Need help with my slide menu....

WTDeveloperWTDeveloper Member Posts: 352
edited November -1 in Announce Your Game!
Hello everybody
I'm new at GameSalad and I make my first game, but now I want make a slide menu. I have made it (with 3 Worlds) like Tshirtbooth in one of his tutorials, but when I slide it doesn't stop on the second World. Can anyone help me??

WTDeveloper

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    What you want is a snap to center. Search it up on YouTube, i believe it has a tutorial for that.
  • WTDeveloperWTDeveloper Member Posts: 352
    Thanks for this fast answer
  • sbartsasbartsa Member Posts: 43
    I do this in my slide menus:

    When cam.positionX >= 480
    and cam.positionX < 960

    Interpolate cam.positionX to 720 (480+240 since i have the cam in the center of the screen(240))

    repeat this for the number of screens you have or as you need.

    Hope it helps :)

    Cheers
    Steve
  • WTDeveloperWTDeveloper Member Posts: 352
    thx sbartsa
    i will try it out soon
Sign In or Register to comment.