Status on Screen

Get help using Construct 2

Post » Sat Apr 06, 2013 3:57 am

Greetings there! ^.^
I have been searching for this for few hours now and been trying to solve it myself but i just started to use this awesome program and need some help!

I want to make an side scrolling action type game where the camera follows the player - thats solved -

BUT how do i make the life bar/lvl and exp bars etc to stay at the TOP LEFT of the screen where the camera follows the player? I have made one at the position of the player above, but when the character jumps, the status screen follows, cant i set it to the top left angle of the camera/view? To stay there all the time no matter where my char moves?

Thanks in advance - awesome community btw!
B
5
S
1
Posts: 70
Reputation: 809

Post » Sat Apr 06, 2013 4:56 am

use behavior: Anchor
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Sat Apr 06, 2013 4:56 am

btw, welcome to the forum!
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Sat Apr 06, 2013 5:51 am

Actually, its not anchor. Just set the parallax to every status object to "0,0".

Simple as that. Good luck on your game!
B
14
S
5
Posts: 345
Reputation: 2,427

Post » Sat Apr 06, 2013 6:03 am

Eh what? You said couple things there i didn't understand at all ;D
Very nice helpfull forum btw, i like it and enjoy it alot! But the above.. I don't understand it, sorry ^.^
B
5
S
1
Posts: 70
Reputation: 809

Post » Sat Apr 06, 2013 10:33 am

I think what GameThirsty means to say is that you should put all of your UI elements into their own layer, and set that layer's parallax property to 0,0. Details here.

You should really read at least a few of the basic tutorials before charging off into your own project. If you ask for help, the expectation is that you've read them and have a basic understanding of these sorts of things.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Sun Apr 07, 2013 2:52 am

Thanks! No i do understand, just didnt get the parallex thing!
B
5
S
1
Posts: 70
Reputation: 809


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests