trueicecold Posted December 22, 2014 Share Posted December 22, 2014 For a simple game, with very few moving elements (very simple animations with very few elements using GSAP), Is there a real reason to use canvas or webgl programming rather than DOM?For me at least, writing simple html and javascript is much faster than writing a PIXI/Phaser code, and I really can't see the reason of using canvas for the type of game I need, especially if working with crosswalk or WKWebView, where the browser is fast enough to render more than simple animations... Your thoughts? Firenibbler 1 Quote Link to comment Share on other sites More sharing options...
ericjbasti Posted December 29, 2014 Share Posted December 29, 2014 No way is it a must. If you can make it work with just DOM elements go for it. I do everything in Canvas/WebGL because I move it through Ejecta and into an iOS app. But you can save a lot of headaches by not using them for everything (or anything). Quote Link to comment Share on other sites More sharing options...
Firenibbler Posted December 29, 2014 Share Posted December 29, 2014 I prefer using canvas, however, it is in now way a requirement. also, if it is just a simple game than why use phaser or pixi? just make it without a framework. Firenibbler 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.