Which way it is good for making games,DOM mainpulation or Canvas programming? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

Which way it is good for making games,DOM mainpulation or Canvas programming?

I've been through various projects for making html5 games and most of them are canvas games but some people also make DOM games by using CSS. Is it a good idea? I mean Canvas needs more programming and by using libraries like phaser.js it is much easier.

19th Apr 2018, 1:12 PM
Harsh Yelne
Harsh Yelne - avatar
2 ответов
+ 3
Definitely more control with canvas and js than with DOM manipulation, but DOM manip could work well for making the GUI for a game.
19th Apr 2018, 1:43 PM
Bebida Roja
Bebida Roja - avatar
0
i would say canvas
20th Apr 2018, 9:10 AM
Nikos Astyrakakis
Nikos Astyrakakis - avatar