Jump to content

View more

Image of the Day

I've done more tweaks to my color palette selector. #gamedev #screenshotsaturday #madewithunity https://t.co/aJXrC4ruRg
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

Sign up now

Recommend a javascript framework?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 jjd   Members   


Posted 02 February 2014 - 05:44 AM



I want to put together a relatively simple game using a javascript. The game is going to be pretty similar to like cookie clicker, so nothing particularly high-powered is necessary. However, I would prefer to learn something that is well crafted and, preferably, has an active community. Can anyone recommend a framework?


[edit] I should mention that at the moment I an considering using 'crafty', but it would be good to hear from anyone with experience in the area.



Edited by jjd, 02 February 2014 - 05:45 AM.


#2 richardurich   Members   


Posted 02 February 2014 - 07:37 AM

Crafty looks like it's a solid choice, so use it if you like it. You could also check out Construct 2 and see if it fits your preferences better. Both of those are definitely way up at the top for HTML5 development.


If you decide you don't like either of those, search for HTML5 game engines instead of javascript frameworks. Even engines like Entity JS show up in HTML5 searches. But Crafty and Construct 2 are pretty much the top contenders, so I wouldn't worry too much about searching for others if one of those two works.

#3 xenobrain   Members   


Posted 04 February 2014 - 11:47 PM

I'm a fan of LimeJS, it has an API modeled on Cocos2D and works well on mobile.

#4 jbadams   Senior Staff   


Posted 05 February 2014 - 02:17 AM

If you don't mind commercial licencing Impact is a nice library.  


Crafty is a good option, but the documentation is almost non-existent and it can be hard to get started or figure out some of the more complex details unless you're willing to dig through the source.  Note that the getting started guide is provided by a third party.


I've also hard good things about the above-mentioned LimeJS, but don't have any personal experience with it.



Construct 2 (also suggested above) is an excellent development environment if you want to create HTML5 games -- it's more than capable of simple games like you're after, it's extremely well crafted, updated frequently, has excellent documentation, and has an active community -- but it's definitely not what you'd consider a "JavaScript framework" like many of the other options; it's much more akin to Game Maker, and has you create games using a simple editor for snapping together configurable behaviours and a surprisingly capable visual event system, although it does expose a JavaScript plugin SDK.



Hope that helps! smile.png

- Jason Astle-Adams

#5 BeerNutts   Members   


Posted 07 February 2014 - 02:30 PM

While I haven't tried it, Phaser looks like a nice js/HTML5 game framework

My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.