3 ms·
This assumes all web games primarily, or exclusively, use canvas. Is that accurate? (Sincerely asking.)
by trynewideas 4y ago
This assumes all web games primarily, or exclusively, use canvas. Is that accurate? (Sincerely asking.)
- deleted 4y ago[deleted]
- nassimsoftware 4y agoWell you could make a web game that uses the DOM but you could be having issues with the UI not rendering the same on different platforms. Otherwise I think most games uses the canvas.
- Waterluvian 4y agoOn this topic: has anyone seen a web game with anything beyond a rudimentary UI that’s in canvas? For RPG inventory menus and management I love putting DOM on top of my canvas frame. I’m not sure I’ve seen any good examples of rich UIs in canvas, though I’m sure some exist.
- sdwr 4y agoCheck out shapez.io. It has an full rpg/builder UI (I think in canvas), and the full code is up on github.
- Waterluvian 4y agoOooh thanks. A full RPG UI builder has got my attention! I’ll check it out when I’m at work as their website just says that there’s no mobile support. :/
- sdwr 4y agoFull builder game w ui, not ui builder :D
- nassimsoftware 4y agoI think an example would be the famous 2D Action RPG CrossCode [0] which is a game that was made using the canvas alone [1]. I doubt that the UI in that game is made using the DOM. 0 : https://store.steampowered.com/app/368340/CrossCode/ https://store.steampowered.com/app/368340/CrossCode/ 1 : https://steamcommunity.com/app/368340/discussions/0/1291817208507901095/ https://steamcommunity.com/app/368340/discussions/0/12918172...
- d13 4y agoMany html5 games use a dom layer above the webgl layer for UI. Phaser, arguably the most popular html5 game engine, depends on this.