Julian Raschke

Results 166 comments of Julian Raschke

> Should this wrapper be available in C++ and Ruby? Good question. If we are going to deprecate Song, we might as well write the wrapper twice - as a...

Can we please use Sound instead of Audio? It is more in line with other libraries (gdx and sfml, not sure about others). Gosu used to have an Audio class,...

No, Audio was a part of Window like Graphics or Input. It managed audio initialisation, which was dependent on having a window with the old FMOD library (Windows likes to...

Creating Samples from a buffer is realistic and consistent with the `Image.from_blob` method (see also #198). Applying effects while streaming is out of scope for Gosu, and it sounds like...

I am not sure if there is such a thing as a perfect OpenGL restore, but that use case totally makes sense :) I think that `glUseProgram 0` is good...

Oh but there is one problem. I think `glUseProgram` is an extension and needs to be looked up, or some dark magic like that. In any case I should add...

Might be useful to leave this open until shader support is implemented. Not resetting the shader accidentally allows for a workaround in #133.

`Image.from_text("abc \n abcabcabc", align: :center)` could create an image that is as wide as the second line, and then center the first line within that image. In the absence of...

If you want, you can add a unit test for it. (I didn't even get to test it manually...) Otherwise, LGTM, and thanks!

Thanks again, merged. :+1: