Performance: CraftyJS vs GameQuery vs MelonJS

1,097 views
Skip to first unread message

gabrie...@gmail.com

unread,
Sep 24, 2012, 8:34:11 AM9/24/12
to mel...@googlegroups.com
Hello there.

Im building a simple tiled tactical game, and while its still simple, its not very performatic on my mobile android. Its just the begining and im already having some performance issues witch is not good. Heres the link of a demo: http://orientabrasil.com.iis2101.shared-servers.com/ClanTactics/

  But then, i just discovered BrowserQuest from Mozilla, witch runs on amazing performance on my cellphone probably having way more things drawed on the screen  then my simple game.

  I wish to know witch of this engines would be the best to fit a tiled tactical mmo (with node.js). I dont really mind of 'coding the way i usually code' i can change that by no deal, i just want to know the easyest way to do it. Crafty is component based, witch makes it very easy to code the game, but makes you create entityes for nothing (like, every tile i have is a different entity...) witch may be the cause of lag.

  So, in my search for performatic engines, witch would be the recommended ? Im tryng out melonJS today, gamequery seems promising as well as BrowserQuest was made on jquery and its performance is amazing. Thanks alot for the attention !

Greg Houston

unread,
Sep 24, 2012, 12:58:21 PM9/24/12
to mel...@googlegroups.com
Hi,

Regardless of which game framework you go with you will likely want to use directCanvas or CocoonJS for Android in order to get hardware acceleration. Without one of those options Android performance will likely be poor in all frameworks. Also avoid using PhoneGap.

http://www.scirra.com/blog/85/the-great-html5-mobile-gaming-performance-comparison

Henrique Barone

unread,
Sep 24, 2012, 11:21:00 PM9/24/12
to mel...@googlegroups.com
hello
I was tried first gamequery and after crafty js. I my opnion I like the tutorial to get start with the engine both with gamequery ( spaceship shooter) and melon (platform). Crafty has a tutorial to construct a very very basic rpg like zelda style that based on older versions. But crafyt's cool becouse  is extend the components with the commmunity modules like box2d, 3d support(three.js and tQuery) and a tiled exporter (use json standard instead xml). Crafty can render both DOM and canvas. You write the same code for both renderes, you just change the argument canvas by dom and the engine write two differents codes.

The performance with html5 games with DOM or canvas on mobile ( I tried with android browser)  is very low if you don't get hardware acceleration

many reference links about performance:

http://www.html5gamedevs.com/tag/performance/


2012/9/24 Greg Houston <gregory...@gmail.com>



--
Henrique Barone
Idealizador e desenvolvedor de projetos  multimídia e de cultura digital - Quadro-Chave produções e Núcleo de Cultura Digital


(21) 80612990

"Não ande atrás de mim,talvez eu não saiba liderar.
Não ande na minha frente,talvez eu não queira seguilo.
Ande ao meu lado,para podermos caminhar juntos."
Provérbio Ute


"Normal é aquele que reconhece e sabe lidar com sua loucura"
(Henrique L. Barone)

Reply all
Reply to author
Forward
0 new messages