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
113
S
41
G
20
Posts: 1,586
Reputation: 19,096

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
381
S
222
G
84
Posts: 23,975
Reputation: 189,160

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 1 guest