I want GUI to apear at a fixed position of the window since it's a scrolling game. Anchor seems to be made exactly for that, but is there something special I need to do for it to work? :-/
Develop games in your browser. Powerful, performant & highly capable.
It works best on a layer with parallax set to 0, 0.
Thanks..I just omited that part as it could magicaly work O.o
Just curious about this Anchor behavior, does the object(s) that you want to be anchored have to be on its own layer? So if I have 10 anchored objects, there needs to be 10 layers? Or can they all fit onto 1?
gregmax17 - they can all be on one! Generally you have a single layer with a parallax of 0,0 which you call your "UI" or "HUD" layer. Then, you put all objects you don't want to scroll with the game (with as many anchors as you like) on that layer.