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
164
S
49
G
124
Posts: 7,790
Reputation: 84,534

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
373
S
218
G
84
Posts: 23,444
Reputation: 186,078


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests