Javascript Math.pow() missing?

Discussion and feedback on Construct 2

Post » Mon Apr 16, 2012 9:10 am

Hi,

I just started developing my first game with construct.

Its going well so far but due to some Math calculations I would really appreciate a pow() function. E.g. Math.pow(5,2) = 25.

I know, construct is still in development and its great so far. Maybe something for the next release :)
B
3
G
2
Posts: 4
Reputation: 1,108

Post » Mon Apr 16, 2012 9:29 am

Try 5^2
Image ImageImage
B
169
S
50
G
173
Posts: 8,321
Reputation: 110,286

Post » Mon Apr 16, 2012 11:38 am

Thank you!
B
3
G
2
Posts: 4
Reputation: 1,108

Post » Mon Apr 16, 2012 2:51 pm

Worth checking the documentation for the full list.
Scirra Founder
B
397
S
236
G
88
Posts: 24,423
Reputation: 194,560


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests