Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Tutorials, somewhere?
- - By CrimsonSunrise Date 2015-05-02 07:55
Since this forum kinda lacks the usual 'meeting' section, let's start with a post of relevance to me atm.

Letting alone the kind of annoying thing of the latest Gosu not working with Ruby 2.2 for some reasons that are not clear to me, since I couldn't find why anywhere and couldn't be bothered to study the source code and trace the issue...There seems to be a lack of tutorials on the library...All the ones I found are outdated and will make the interpreter trow out errors at some point, as well as having completely different methods than the official 'tutorial' on Gosu's wiki/github, which are confusing and may distance people away from the library(Considering RubyGame seems to be an abandonend project, leaving the ecosystem without much in the way of simple libraries without having to resort to OpenGL bindings, that may not happen or will make people give up on the language if game making is their goal). I'm still trying to(maybe without any reason) produce something with the library without any success at all. Also, the documentation seems to be absent.

So, how do you use this library at all?
Parent - - By jlnr (dev) Date 2015-05-02 09:36

> Gosu not working with Ruby 2.2 for some reasons that are not clear to me


I assume you are on Windows. I need to pre-compile Gosu for each version of Ruby, and I haven't done this for Ruby 2.2 yet. (Maybe I'm wrong and 2.1 and 2.2 are actually compatible, who knows...)

> All the ones I found are outdated and will make the interpreter trow out errors at some point


Give us examples and we have a chance to fix these errors :)

> Also, the documentation seems to be absent.


https://www.libgosu.org/rdoc/ works, so there's a reference at least.

You are right that documentation is really, really lacking, but there's not much that I can do right now. If I had more time to work on Gosu, I would still try to work down the known issues on GitHub before I'd write another tutorial. Typical Open Source priorities, I guess. Sorry - if you ever figure out how to use Gosu and write down the results, let me know and I'll link to it.
Parent - - By CrimsonSunrise Date 2015-05-02 20:20
Yes. I am on Windows. While I could allocate some space for linux on my laptop, linux distros outside of Arch or Gentoo are becoming slower and slower and packages are turning less and less compatible depending on which desktop environment you're using. And the faster stable distros are comprised of outdated packages. Now it's more about eye candy than performance, IMO.

I could install linux and try ruby on that, but things are kind of slim...But I might try that, since...The tutorials on other gaming libraries are bad...if not worse than no tutorials at all.

For some reason, Microsoft seems to hate programmers.
Parent - - By jlnr (dev) Date 2015-05-02 23:23
Or you could just use Ruby 2.1 on Windows, that sounds like the easier plan :)
Parent - - By CrimsonSunrise Date 2015-05-03 00:26
I guess that would be safer.
Parent - By CrimsonSunrise Date 2015-05-03 03:45
And...it can't be done in my case. Even the Rdocs are vague and tell nothing.

Kinda refering to this:

http://blog.codinghorror.com/if-it-isnt-documented-it-doesnt-exist/

Even though is from 2007 and about JS, all you have to do is replace JS for Ruby and it all makes sense, IMO.
Up Topic Gosu / Gosu Exchange / Tutorials, somewhere?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill