The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Other › Responsive canvas games?
I’ve been building games inside the canvas element… now I want to build a responsive game.
element
These seem like good resources for that:
http://blog.sklambert.com/responsive-html5-canvas-game
and
https://css-tricks.com/making-sass-talk-to-javascript-with-json/
here is an example:
http://codepen.io/straker/pen/yasit
Has anyone been successful in building one of these? What are the biggest pitfalls?