Search the Community
Showing results for tags 'noCanvas'.
-
Hi there, I already told you about my HTML/SVG game called esviji a while ago in the Game Shocase threads. This first verson works pretty well, but it's only a pet project I developed on my spare time (not a lot), and the JavaScript source code is pretty ugly IMHO. I would like to start working on a second version that would be much better, and try to stop reinventing the wheel. The issue I'm facing is that almost all HTML5 game developement frameworks are closely tied to Canvas, which most games use indeed. But I don't use Canvas at all. My v1 game interface was almost only one single SVG element with sub-elements shown or hidden according to game states/screens (welcome screen, playing, pause, scores, settings, etc.). The v2 interface I'm currently working on mixes plain HTML for most screens, and only the SVG for the "active" part of the game (board and balls). I did this because I want it to be truely responsive, working as well on portrait and landscape, on any device ratio, from 9/16 to 16/9 at least but even more "extreme". So, I'm looking for a framework, or at least a code template/boilerplate, that would help me create a better JavaScript architecture, including: modularitygame states/screensgame loopetc. Any advice or comment?