(Solved) Anchor Behavior is Funky

Get help using Construct 2

Post » Mon Jul 16, 2012 1:32 am

Hey, all. I'm creating a sidescrolling platformer, and I've gotten most everything working that I need. The biggest problem that I'm running into now is that I need the UI and everything (including pause menu, etc) to always stay within the screen. The Anchor behavior seems to do this, but I'm running into a problem where, if I'm running, the UI twitches as if it's trying hard to catch up with the screen. It's kind of awkward, and I was wondering if there was something I could do instead of/in addition to adding the anchor behavior, that would keep the UI on screen.
Thanks in advance! =DMadameBerry2012-07-16 06:09:20
B
18
S
5
G
1
Posts: 95
Reputation: 2,666

Post » Mon Jul 16, 2012 3:32 am

Drop the anchor behaviour and put your UI on it's own layer. Then set the parallax property of the layer to 0,0.

Look up layers in the manual if you're not sure how to do that.Nimtrix2012-07-16 03:35:45
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Mon Jul 16, 2012 6:06 am

Crap, thanks!
They were already all on a UI layer, but I didn't know parallax could be used that way.
B
18
S
5
G
1
Posts: 95
Reputation: 2,666


Return to How do I....?

Who is online

Users browsing this forum: Artpunk, gregorysforster, harrio, onzephyr and 3 guests