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
164
S
49
G
137
Posts: 7,946
Reputation: 91,358

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
378
S
219
G
84
Posts: 23,854
Reputation: 187,881


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests