3 ms·
I need it specifically for games, building an interface on a canvas without even layout managers or mouse click aware components feels like the stone age, so I
by johnyzee 14y ago
I need it specifically for games, building an interface on a canvas without even layout managers or mouse click aware components feels like the stone age, so I am in the market for a wheel actually. Though it does seem like a bit of a waste as the other poster also said.
- 1123581321 14y agoI thought the menu pattern for canvas-based games is to use DOM elements and display them above canvas.
- lopatin 14y agoThat works fine to an extent, but sometimes you want your menus integrated with your game and have consistent graphics and animations and so on. I used dom elements for snaketron, but in hindsight I think it felt tacky (it might partly have been because I used Bootstrap). For most games, which are more complicated, I can imagine it would be a pain to maintain dom menus.