Jump to content

Performance in HTML5 Games


Mejingjard
 Share

Recommended Posts

Hello guys!

 

Well i'm a Web Developer front-end based, and i'm  starting to learn more javascript to start dev my first HTML5 Game, and i have this Question about performance in mind:

 

~Native Apps can use hardware acceleration because they have more access to device, can use video card or something else, the graphic/performance quality of ipad games are an example

We can get some hardware acceleration developing an HTML5 Game? we can dev some game like Eternity Warriors 2 of ipad or something with sprites like King Of Fighters series using HTML5/JS/CSS3?~

 

I'm really interested, someone can talk a bit about this?

 

Link to comment
Share on other sites

Hi

 

Are you talking about HTML5 wrapped in something like CocoonJS or just a web HTML5 game ?

 

For web it all depends on the browsers feature, webgl, WebAudio Api, 2dcanvas acceleration and so on. HTML5 game will probably lack performance of native app like 25%-50%. It all depends on your game.

 

If you want smooth 2d animation you might want to explore Spriter or Spine.

 

If you want to sell it to Google Play or App Store then you should explore CocoonJS which should increase your game performance alot.

 

 

Link to comment
Share on other sites

Hi @Tumira!

 

i don't know what is wrapped HTML5, i did not know CocoonJS appears look totally amazing!!

I did not know Spriter and Spine, look amazing too! i will go test these tools thank you *-*

 

So, my goal is to develop my first platform html5 game2D on this vacation, and i want to use sprites and probably will be a web app for firefoxOS :) 

 

Thank you for all tips o/

Link to comment
Share on other sites

Data/object pooling is a matter of having your engine create and keep a certain amount of objects/instances at runtime instead of deleting them and creating new instances from scratch. It just means that you want to make the way your code handles objects as efficient as possible (at least I think ;) ).

 

Cheers,

Nathan

Link to comment
Share on other sites

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...