How to make the Touchpad static on the screen

C. VictoryC. Victory Member, PRO Posts: 19

I am new here; I have tried for a couple hours, but nothing seems to work. I have a touchpad on the screen that controls the movement of the actor. Now the actor controls the camera and moves within a background larger than the screen. The problem is that when the actor moves past the screen, the touchpad also moves. How do I get this to work so that the touchpad is always static, irrespective of the actor's movement?

Comments

  • uptimistikuptimistik Key Master, Member, Sous Chef, PRO Posts: 297

    HI there @C. Victory glad to have you on board! Try putting your touchpad in a new layer, and check the Non-Scrollable option in the Scene view of the Creator. Non-Scrollable simply means that layer will not scroll with the Camera's movement.

    GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com

  • C. VictoryC. Victory Member, PRO Posts: 19

    See the attached video. Any help will be greatly appreciated.

  • C. VictoryC. Victory Member, PRO Posts: 19

    Good day. Could you show me how to add the "layer"? Is it another actor?

  • C. VictoryC. Victory Member, PRO Posts: 19

    Oh, I have seen the layer; okay, let me try it and let you know. Thanks.

  • C. VictoryC. Victory Member, PRO Posts: 19

    Thank you, @uptimistik, it worked like magic.

  • uptimistikuptimistik Key Master, Member, Sous Chef, PRO Posts: 297

    @C. Victory no problem! If you'd be so kind as to give my winning comment a reaction, that'd help!

    GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com

  • victor-anthonyvictor-anthony Member Posts: 1

    @c.victory,

    Did you manage to resolve the issue? I had a similar problem with white screen where the touchpad moved with the actor. I fixed it by setting the touchpad's position based on screen coordinates instead of the actor position.

Sign In or Register to comment.