Jump to content

Typescript or JS for Phaser?


wyattbiker
 Share

Recommended Posts

I am starting to look at Phaser. I am not looking for the pros and cons of Typescript. I know what it does. 

 

What is the preferred way of coding with Phaser? Do its creators prefer TypeScript? Is Typescript being encouraged as the main compiler? Or can I not worry and code in pure JS.

 

Thanks

 

 

 

 

Link to comment
Share on other sites

There is no preferred way. The TypeScript defs are extremely comprehensive now and well maintained, so it's perfectly safe to use them. So really, use whatever you feel most comfortable with.

 

I personally code purely in JS, and Phaser is built in pure JS too (and this will never change, it will just migrate to ES6 when it can). But this shouldn't be a deciding factor for you. Really just use whatever you like.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...