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
41
S
11
G
9
Posts: 194
Reputation: 6,871

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
41
S
11
G
9
Posts: 194
Reputation: 6,871

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
50
S
10
G
10
Posts: 1,728
Reputation: 12,867

Post » Tue Mar 17, 2015 11:55 am

0 = right
180 = left
90 = down
270 = up
B
212
S
28
G
14
Posts: 1,865
Reputation: 36,864

Post » Wed Mar 18, 2015 3:53 am

and (-100,-100) what does it mean ?
B
41
S
11
G
9
Posts: 194
Reputation: 6,871

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
212
S
28
G
14
Posts: 1,865
Reputation: 36,864

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
41
S
11
G
9
Posts: 194
Reputation: 6,871

Next

Return to How do I....?

Who is online

Users browsing this forum: Greaver, jeffige, resdesign, Yahoo [Bot] and 14 guests