4 ms·
https://github.com/go-gl https://github.com/go-gl has opengl and glfw bindings which would serve many of the same purposes.
by sesteel 9y ago
https://github.com/go-gl https://github.com/go-gl has opengl and glfw bindings which would serve many of the same purposes.
- nottorp 9y agoSee? That's the problem. Two different bindings recommended already. Better than 6 tbh, i might look at those 2. And to the twitch guy I'm sorry, I'm old enough to prefer written documentation :)
- Arnavion 9y ago>See? That's the problem. Two different bindings recommended already. You were recommended one binding for SDL and one for GL. Obviously they're different.
- nottorp 9y agoAh sorry, my bad. I thought that since i asked about SDL bindings i got recommendations for SDL bindings ;)
- gameswithgo 9y agoopengl and SDL are different things. glfw and SDL are similar things, in that one may use one or the other to do basic operating system tasks like "get a window" which you can then draw to with opengl (or vulkan or whatever) Even if you were programming in C++ you would have the choice between glfw or SDL for that kind of thing (or directly talking to your operating system's API!), so Go is not adding any confusion here that doesn't exist already. I talk a bit about this in the EP 6 stream that you are too old for =) (I prefer written docs too! EDIT here: https://www.khronos.org/opengl/wiki/Related_toolkits_and_APIs https://www.khronos.org/opengl/wiki/Related_toolkits_and_API... )
- nottorp 9y agoI know, except SDL also has OpenGL support ;) Plus enough stuff to handle the rest of your game. My main confusion is I know some SDL and OpenGL, but no Go. Thus, I don't know how to choose a SDL binding. Fighting with the binding is not a good thing when you want to learn a new language by doing a space invaders clone :)
- gameswithgo 9y agohttps://github.com/veandco/go-sdl2 https://github.com/veandco/go-sdl2 is the SDL binding most people are using. It is solid.
- nottorp 9y agoReplying to myself because I can't reply to my reply - guess too many reply levels. Thank you mr/mrs/whatever gameswithgo! That's what I wanted to hear!
- deleted 9y ago[deleted]