wyattbiker Posted June 2, 2014 Share Posted June 2, 2014 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 More sharing options...
rich Posted June 2, 2014 Share Posted June 2, 2014 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 More sharing options...
Mathieu Anthoine Posted June 3, 2014 Share Posted June 3, 2014 @wyattbiker Maybe you can also try Haxe : There's some externs avalaible for Phaser, for example: https://github.com/Blank101/haxe-phaser I have worked on differents HTML5 projects with Typescript and Haxe and I have to say that Haxe is more robust and easy to use than Typescript. My 2 cents Link to comment Share on other sites More sharing options...
Recommended Posts