Answer the question
In order to leave comments, you need to log in
What is the best way to make html5 games? With canvas or html elements?
Hello, tell me please.
What is the best way to make games on html5, where are more opportunities and why?
canvas or with divs?
Thanks for your help and your time.
Answer the question
In order to leave comments, you need to log in
Of course canvas, using special js frameworks for development.
In addition, most browsers support WebGL, if the framework supports rendering in webgl, then the game will work even faster due to hardware acceleration.
Partly depends on the game you want to implement - it can be very simple or quite complex.
In general, canvas, if you are working with raster graphics - it provides the most opportunities for this.
And SVG, if with vector objects.
PS Perhaps, IMHO, but today making games on html5 using divs has long been irrelevant due to the capabilities of html5 itself
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question