How to change the position of the array?

Get help using Construct 2

Post » Sun Nov 02, 2014 10:44 am

Hello!
I have probably a stupid question, but I have yet to find. I need to change the location of the array on the level (by default it is in the upper left corner of the level). Need that he had been in the center or other location as needed. How to do it? Thanks in advance for your reply...

p.s. Sorry for grammar, writing through an online translator.
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 15
Reputation: 205

Post » Sun Nov 02, 2014 11:12 am

Modify line 4

Create object number on layer 0 at (gamenumber.CurX * 32, 0)

gamenumber.CurX*32 is X coordinate
0 is Y coordinate
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sun Nov 02, 2014 11:25 am

Thank you very much for your response. It seems to begin to understand, but it is not yet understood how I can change the "X coordinate", if you put an integer, all values get one over the other.
B
3
Posts: 15
Reputation: 205

Post » Sun Nov 02, 2014 11:25 am

As codah said, you can manually change the X and Y coordinates of your numbers. I made an example file.
You do not have the required permissions to view the files attached to this post.
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Sun Nov 02, 2014 11:31 am

Unfortunately can't see, I 184 version, updated through steam.
B
3
Posts: 15
Reputation: 205

Post » Sun Nov 02, 2014 12:42 pm

All figured out. It turns out it was necessary to insert the coordinate through the "-". Thank you very much for the help :)
B
3
Posts: 15
Reputation: 205

Post » Mon Nov 03, 2014 2:55 am

If you're happy I'm happy
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: dop2000, max2612 and 7 guests