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
50
S
17
G
10
Posts: 202
Reputation: 8,284

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
50
S
17
G
10
Posts: 202
Reputation: 8,284

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
53
S
13
G
11
Posts: 1,758
Reputation: 13,830

Post » Tue Mar 17, 2015 11:55 am

0 = right
180 = left
90 = down
270 = up
B
231
S
33
G
14
Posts: 1,908
Reputation: 38,742

Post » Wed Mar 18, 2015 3:53 am

and (-100,-100) what does it mean ?
B
50
S
17
G
10
Posts: 202
Reputation: 8,284

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
231
S
33
G
14
Posts: 1,908
Reputation: 38,742

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
50
S
17
G
10
Posts: 202
Reputation: 8,284

Next

Return to How do I....?

Who is online

Users browsing this forum: Kyatric, oddreal, oosyrag, waguilar and 1 guest