3 ms·
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?
by percentcer 9y ago
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?
- megaman22 9y agoI would think SDL would be an easy cross-platform choice there.
- deleted 9y ago[deleted]
- emmelaich 9y agoYou might look at https://sciter.com/ https://sciter.com/ Which apparently uses Cairo, Direct2D or Skia depending on the platform.
- PeCaN 9y agoI used https://github.com/jkuhlmann/gainput 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.