I have a BIG layout. And I have some touch controls.
I set up the game so that the camera is always following the hero. But I can't figure it out how to make the HUD or touch controls to always stay visible on screen.
try to put them into different layer, and set parallax to 0
Develop games in your browser. Powerful, performant & highly capable.
puntodamar I tried but didn't work...
Take a look at the tutorial that Ashley wrote about this topic.
https://www.scirra.com/tutorials/202/touch-controls-and-a-trick-to-detect-input-method