Re:Skia: an open source 2D graphics library
by percentcer on Sunday January 14, 2018 @05:53PM
(#16147008)
I have a little 2d game that I'd like to port over to Skia. What did you end up using to handle input and audio and other gamey things?
[ Parent
| on HN ]
Re:Skia: an open source 2D graphics library
by megaman22 on Sunday January 14, 2018 @06:14PM
(#16147119)
I would think SDL would be an easy cross-platform choice there.
Re:Skia: an open source 2D graphics library
by emmelaich on Sunday January 14, 2018 @11:46PM
(#16148538)
You might look at https://sciter.com/ Which apparently uses Cairo, Direct2D or Skia depending on the platform.
Re:Skia: an open source 2D graphics library
by PeCaN on Monday January 15, 2018 @02:31AM
(#16149130)
I used https://github.com/jkuhlmann/gainput for input. I never did get around to handling audio.
For the UI I used imgui. Skia actually comes with an imgui backend (it's used for the Viewer tool) that is easy enough to hack into whatever you need.