As the game progresses we will need a system to handle the user interface with menus, multiple overlapping windows, chat etc.
We have two possibilities:
Use HTML and CSS layered on top of the canvas.
Re-implement input fields, sliders and others UI element in the canvas.
In a sense the browser has already implemented all these things on a canvas (the web page) using HTML and CSS thus in my opinion it seems like reinventing the wheel.
As the game progresses we will need a system to handle the user interface with menus, multiple overlapping windows, chat etc.
We have two possibilities:
In a sense the browser has already implemented all these things on a canvas (the web page) using HTML and CSS thus in my opinion it seems like reinventing the wheel.