2 ms·
I've used it to create a desktop port of http://diep.io/ http://diep.io/. It's great (easy to use, reasonably documented), but it's a pretty big dependency (I d
by Matheus28 9y ago
I've used it to create a desktop port of http://diep.io/ http://diep.io/. It's great (easy to use, reasonably documented), but it's a pretty big dependency (I don't remember exactly, but I think like 20 MB or so?). Since diep.io uses the canvas 2d API, porting was pretty straight forward. The performance on desktop is unsurprisingly many times faster than the browser.
- electricslpnsld 9y agoWhat motivated your choice of Skia over WebGL?
- Matheus28 9y agoYou mean canvas 2d? If you're making a 2d game, it's good enough and looks really nice. Performance is good enough in most cases. Because of some OpenGL gotchas in some drivers (macOS mostly), some operations are a lot slower in those OSes (I have a demo that runs at 3 fps on my macbook, and >144 fps on my windows). It's easier to use canvas 2d as you don't have to deal with any of that.