Make a button that scrolls left and right and moves screen?

YummyYummy Member Posts: 51
edited November -1 in Working with GS (Mac)
I have a button that is set to move left and right, when it is touched and moved across the screen i want it to have a camera control and so as it moves the scene moves left and right with it.

Any suggestions of how ill attack this?

thanks

Comments

  • tim13211tim13211 Member Posts: 87
    Put a camera control behavior on the actor
  • YummyYummy Member Posts: 51
    Yea it's not that simple

    Its not working :(
  • YummyYummy Member Posts: 51
    anyone?
  • SkyMapleSkyMaple Member Posts: 817
    Have you tried adjusting the camera controls? If you need help send me the file and I can try to fix it.

    Skymaplegames@gmail.com
  • floydianspiralfloydianspiral Member, PRO Posts: 308
    you can tell when the button is pressed to move camera originX/Y to X+100 or X+300, etc. Hope that helps
  • mangaroomangaroo Member Posts: 419
    ^^ or constrain it to the moving button's x-origin (tied via a global attribute)

    *need to be editing the scene actor not the prototype to access scene attributes such as camera origin/size
  • SkyMapleSkyMaple Member Posts: 817
    mangaroo said:
    *need to be editing the scene actor not the prototype to access scene attributes such as camera origin/size

    +1

    _______________________________________

    Game making service- http://gamesalad.com/forums/topic.php?id=21739
    Or email- Skymaplegames@gmail.com
Sign In or Register to comment.