# How do i speed check

Get help using Construct 2

### » Sat Jan 21, 2012 4:31 am

By the way, talking of using function to do something they weren't meant to, you can do a :
[code]cos(angle(0,0,number,0))[/code]to get the sign of number.
Basically if the number is positive, the angle is 0 and if it's negative the angle is 180.
cos(0) = 1
cos(-180) = -1
you will have the equivalent of the sign() function in Construct ClassicYann2012-01-21 04:32:27
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

### » Sat Jan 21, 2012 7:44 am

I can use this all in System: compare two values? (confused)
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

### » Sat Jan 21, 2012 8:30 am

you can compare any expression to any other expression via the 'System: compare two values' yes
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

### » Tue Jan 31, 2012 8:24 pm

One question, how slow down volecity of fired ball? i mean if bal hit the box( box destroy) ball rushes on to the front and another box... every time when ball destroy box, ball slows down a little ?
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Previous