How to make the Touchpad static on the screen
C. Victory
Member, PRO Posts: 19
in Tech Support
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
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
See the attached video. Any help will be greatly appreciated.
Good day. Could you show me how to add the "layer"? Is it another actor?
Oh, I have seen the layer; okay, let me try it and let you know. Thanks.
Thank you, @uptimistik, it worked like magic.
@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
@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.