How do i put the control buttons and it move with me

Get help using Construct 2

Post » Mon Feb 29, 2016 3:15 am

Hey guys i wanna ask for how when i put the walking buttons or any buttons how can it move with the player not like another things that we walk and it get behind the screen so how can i do this like here "https://www.youtube.com/watch?v=sVqd4HKJzJM" As you can see it move with the player
Pls help and thnx ^^
B
4
Posts: 10
Reputation: 222

Post » Mon Feb 29, 2016 4:26 am

Hello there, If you are talking about a HUD (like the 3 hearts in the video or a score) :
Make a new layer on top of all the others and set it's parallax to 0,0.
Next create all the HUD related things in that layer, in this case I guess it would be the sprites of your buttons.
Finally, select those objects and give them the behaviour "Anchor"
I hope you find this helpful and good luck!
PD: Any HUD related objects must be inside the margins of the window size, otherwise you wont be able to see them!
B
10
S
2
G
1
Posts: 21
Reputation: 1,161

Post » Mon Feb 29, 2016 4:33 am

OMG it wokred :DDD thnx so so so so so so so so so much ^^
B
4
Posts: 10
Reputation: 222

Post » Mon Feb 29, 2016 4:38 am

And pls can you tell me how when i touch the buttons of walking (Buttons on screen "For touch screen devices") when touch the button how make him walk ?
B
4
Posts: 10
Reputation: 222

Post » Mon Feb 29, 2016 4:43 am

Oh i know now thnx :)
B
4
Posts: 10
Reputation: 222

Post » Tue Mar 01, 2016 12:02 am

No problem, happy to help!
B
10
S
2
G
1
Posts: 21
Reputation: 1,161


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests