Sin, Cos, an tan?

For questions about using Classic.

Post » Fri Feb 20, 2009 2:54 pm

Is it possible to do that in Constrcut?
IN MMF, the event would look like
Cannon Power( "Shooter" )*Sin(Angle( "Shooter" ))

So, how would it look like in Construct?
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Fri Feb 20, 2009 3:07 pm

It's the same, actually. sin(Angle) cos(angle) tan(angle)
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Fri Feb 20, 2009 3:07 pm

sin()
cos()
tan()

They're under the System object.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Fri Feb 20, 2009 3:51 pm

Your expression would look more like this in Construct:

Shooter('Cannon Power') * Sin(Shooter.Angle)
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Fri Feb 20, 2009 9:03 pm

much cleaner looking in my opinion
B
2
S
2
G
4
Posts: 239
Reputation: 1,928


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests