anchor behaviour doesnt work or..

Get help using Construct 2

Post » Fri Nov 29, 2013 4:44 pm

I insert a new sprite to my project on a layer with 0,0 paralax and add the Anchor behavior to it (Left Edge = Window left & Top Edge = Window top)

but when I press F5 in order to look at the result, it didnt move at all and stayed on its default position.trance2013-11-29 16:45:40
B
14
S
4
Posts: 110
Reputation: 1,538

Post » Fri Nov 29, 2013 6:43 pm

That's because anchor holds objects to a relative position based on different resolutions.

This is mainly used for cross device or resolution of games. it's not really used to for placing objects on to the side.

So if you have an object that is 100px from the LEFT and TOP. Then it should remain 100px from the LEFT and TOP on all resolutions. This also holds true for RIGHT and BOTTOM which I find will be more influenced by different resolution sizes.
B
92
S
18
G
9
Posts: 2,455
Reputation: 15,113


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests