Im making a game for android and ios and i was wondering is there a way to build a control pad for the user to touch and follows the screen as the character is moving?
Is there any behaviors, plugins, or examples that someone can show me?
Develop games in your browser. Powerful, performant & highly capable.
To make your gui "follow" the screen, place your control pad sprites on a separate layer and set the layers parallax to 0,0.
another way is to position the controls on the screen and give them the ANCHOR behaviour.
You still need to place it in a separate layer with 0,0 parallax
Manual Excerpt:
"Objects using the Anchor behavior should also be played on a layer with its parallax set to 0, 0. Otherwise as the game scrolls the objects may "lag" behind the screen."
https://www.scirra.com/manual/88/anchor