| Actually there is very important 4th point about implementation (browser) A few years ago a made a Monopoly-Deal-Clone game using mostly SVG + CSS + Svelte. I was intrigued by the promise of SVG: - Loss-Less Scaling
- Looks the same (or somewhat) the same on all browsers
- Text would also scale and be readable up and down.
Build playing cards on the fly with SVG elements dynamically (base-card-svg + text + icon/image/glyph)All of these were never true-enough even for even a card-based game. The SVG text never looked good-enough or readable at all sizes used.
Depending on scaling the text/icons and lines got blurred worse. The "fix" for many of these were endless and browser version-dependent magic-css properties and values. TL;DR
I wouldn't use SVG for more than 50% of your game or professional product that uses images/visual-elements. Its not worth the pain and effort ! |
https://myfonj.github.io/tst/SVG-decimal-precision-results.h...