GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Getting actor to follow camera? (Buttons to stay in place in view)

I wish to create a game where you touch one button to go clockwise around a planet, one to go anti-clockwise and one to jetpack. How can I create buttons that stay in the same area when the player is moving with a control camera Behaviour?

Many thanks
~Ruby

Comments

  • SocksSocks London, UK.Posts: 12,822Member
    edited January 2014
    @TheBoringOne

    Place all the buttons (and everything else you don't want moving, like the score and so on) onto their own layer - then switch off 'scrollable' for this layer.

    I will make you a quick demo . . . . hold on . . .
  • SocksSocks London, UK.Posts: 12,822Member
    edited January 2014
    Here you go, press the question mark to move the camera (and the 'back' button to go back).

    The red actors are on a separate layer - with 'scrollable' switched off, so they are effectively locked to the screen.


    Link: https://www.mediafire.com/?slxl2c2occ59s4x
  • TheBoringOneTheBoringOne London, EnglandPosts: 2Member
    For some reason when I added my non-scrollable button, it is invisible in the preview now? And it won't function..
  • TheBoringOneTheBoringOne London, EnglandPosts: 2Member
    Never mind, I got it working :) Thank you!
Sign In or Register to comment.