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 Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

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
359
S
214
G
72
Posts: 22,949
Reputation: 178,534


Return to Construct 2 General

Who is online

Users browsing this forum: Ad3L and 7 guests