How to move the text along with character

Get help using Construct 2

Post » Sat Apr 27, 2013 6:15 pm

Hello, I am new to forums.
I had made a short game but there is a problem ->
the score text is not moving as the screen moves with player.
can anyone please help me by giving the example or capx.

https://www.dropbox.com/s/5cvdj1dvl9oe5qh/game.capx

I have not edited level 2.
B
3
Posts: 30
Reputation: 660

Post » Sat Apr 27, 2013 6:57 pm

This should be in the "how do I" section

but you need to set the position of your text object to your character using "set position to object"

>Character is on layer...text set position to character.

It would also be a good idea to go over the tutorials, lots of this basic stuff, and much more is covered...

welcome to the forum...Pixel perfick2013-04-27 18:57:37
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Sun Apr 28, 2013 5:33 am

You try yourself , its not working.
it sticks with the player om image point 0
so it gets glued with the player where the player moves.
B
3
Posts: 30
Reputation: 660

Post » Sun Apr 28, 2013 10:42 am

Create a new layer (Layer 1), set its parallax propriety to 0,0 put the text objects on this layer and you should be set.

Explained in the beginner's guide to C2 page 7
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Mon Apr 29, 2013 7:59 am

Thanx KYATRIC
B
3
Posts: 30
Reputation: 660


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests