Jump to content

CreateJS, Haxe and Typescript


gaelbeltran
 Share

Recommended Posts

Hi,

 

I'm about to start creating a little game and I'm considering using createJS.

 

I see that there are Haxe externs files and Typescript definitions files for these libraries.

 

https://github.com/nickalie/CreateJS-Haxe

 

What would be the advantages of choosing one above the other? 

Both Haxe and Typescriot are easier languages to work with than Javascript.

What would you choose? Pure javascript, haxe or typescript?

 

Are there other things to be concerned about?

 

 

I currently use Phaser, Construct 2 and PandaJS for my client work but I'm trying to use createjs for little projects.

Link to comment
Share on other sites

I personally didn't like createJS too much. It tries to mimic flash API (quite successfully tbh), but there were some weird bugs and things I didnt like as no AABB hittests.

Now I'm trying Flambe and so far it looks better for a dev like me who doesn't want to hassle around with lower level stuff.

 

From what I said above, it's apparent I would choose Haxe. Especially if you don't have much experience with javascript. My first project was Haxe + createjs and I didn't have any problems with that.

Link to comment
Share on other sites

I personally like TypeScript. It feels like home for me as AS3 developer.

 

And as for createJS, I made this game for learning https://github.com/goldenratio/shape-shooter it was a nice experience. And again it felt like home because of Flash like APIs  

 

I had to move to pixi.js just becasue of webGL support (loving it), but it seems createJS now supports webGL too.

Link to comment
Share on other sites

Ah

 

now I'm new to javascript ( 5 months part time self taught).

I held off any framework as I wanted to learn the basics first off.

I've done attendance register report systems using php mysql etc.

And javascript to start with, did my head in, compared to php.

 

Createjs got me started straight away with stuff I'd been struggling with for ages.

 

I'm still 'new' so open to any framework - not promoting. But Tweenjs (part of createjs).

 

is soooo easy and independent of the other libraries. I'd never 'tweened' anything in my

life, neither with AS nor js - then with Tweenjs I got carried away with this example in

one day . Sorry bit over the top -  it's all chained ie. getTween.example {(go here . at this speed . relaxing into this place .

then . bounce . overhere . thenoverthere. in a rubberysortofway)} You get the picture.

 

http://harrywatson.altervista.org/momo/index2.html

 

Tweenjs = http://www.createjs.com/#!/TweenJS

 

Js ain't that bad I've decided - but the raw variety is best left to the whizkids who create the frameworks.

 

I tried without a framework and my brain looked like one of those unpleasant things you see first

thing in the morning with a hangover.

Link to comment
Share on other sites

We primarily use CreateJS and Coffeescript at work. CreateJS was chosen because we had a LOT of simple little Flash games to move over to HTML, and the API was pretty consistent. For my personal projects, I'm moving over to PIXI.js and my own game logic. I find that CreateJS carries too much baggage with it, unless you're porting Flash content over, or want to use Flash to create content...

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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