How would you choose between Piston, Cairo and so on if you’d want a good lib to start doing 2d graphics with (i.e. simple games)? I basically need a way to use png files, sound and it would be nice to be able to get help handling keyboard input events. I guess Piston would be my choice? It’s for non-professional uses, experiments and so on. In the end I will (perhaps) try to connect stuff with the web using WebAssembly (I guess I’ll have to rewrite the key-handling then and communicate such events from JS to my app in that case?)
I am a beginner (if my level is of relevance in relation to what crate and so on that may suit me). Game programming is also only a hobby. Thanks! /C-M