How can I

Get help using Construct 2

Post » Tue Mar 17, 2015 6:53 am

How can i determine distance and angle in the layout or how can i know it
B
60
S
22
G
12
Posts: 209
Reputation: 10,074

Post » Tue Mar 17, 2015 7:04 am

Hi,
Distance and angle between what?l
You can use system expression angle(sprite1.x,sprite1.y,sprite2.x,sprite2.y) and dist(sprite1.x,sprite1.y,sprite2.x,sprite2.y)
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Tue Mar 17, 2015 7:14 am

For example when i set 270 degrees how can i determine this position in the layout
B
60
S
22
G
12
Posts: 209
Reputation: 10,074

Post » Tue Mar 17, 2015 7:41 am

270 degrees on what?
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Tue Mar 17, 2015 11:08 am

0 degrees is generally facing right.

270 should make the object face up.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,592

Post » Tue Mar 17, 2015 11:55 am

0 = right
180 = left
90 = down
270 = up
B
257
S
43
G
15
Posts: 1,992
Reputation: 41,535

Post » Wed Mar 18, 2015 3:53 am

and (-100,-100) what does it mean ?
B
60
S
22
G
12
Posts: 209
Reputation: 10,074

Post » Wed Mar 18, 2015 5:01 am

in that context it mean nothing. if you mean what angle it means nothing because it not valid as it's not complete
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Wed Mar 18, 2015 8:12 am

bive us more information please. What type of help do you wish? Do you want player movement in degree or what? explain please abdalghani
B
257
S
43
G
15
Posts: 1,992
Reputation: 41,535

Post » Wed Mar 18, 2015 9:43 am

I am confused from some capxes . . and I wanna gathering information about degrees and distances to make sprite move to right position
B
60
S
22
G
12
Posts: 209
Reputation: 10,074

Next

Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 9 guests