Julian Raschke

Results 166 comments of Julian Raschke

I've fixed two issues with plain-text emails in #202

Re `Image.draw(x, y, z, options)`: I like it! The long argument list has been annoying for ten years(!) now, see this discussion thread: https://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=14 tl;dr my plan was to build...

Re: `Image.from_blob`, are you aware of how `Image.new(...)` already supports RMagick images in place of the filename parameter? I've added it for consistency with the `Image(Bitmap)` constructors in the C++...

Re: AM_REPLACE, I'm not convinced :) But I do agree with every bit of renaming from AlphaMode to BlendMode.

A big PR but definitely the right direction 👍 Time for me to finally fix my own PR :)

Regarding my previous comments on `gosu.i`: > If Gosu::Image works (because it's default constructible now?), we should always just return images directly instead of working with pointers and `%newobject`. I...

@Kjarrigan Not at all! :) `Window#screenshot` is gone, but `Gosu.render` lives. So you should be able to retain all tests *and* have them work without the double-tick-and-wait hack, or without...

Random idea: C++20 will support (a restricted form of) C99 struct initializers. I think all major C++ compilers already support this syntax as an extension. Why not use named arguments...

Sounds like a fun technology. How would that work with a typical Gosu game? Let everything wiggle around a bit based on its Z component? :)

The feature makes sense, but I wonder if percentage-based scaling factors aren't easier to understand. I think under the hood Windows and X11 always express zoom in terms of DPI,...