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
172
S
50
G
183
Posts: 8,440
Reputation: 115,599

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
402
S
238
G
89
Posts: 24,644
Reputation: 196,095


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests