Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / I made a gem for simply creating gosu projects
- - By erikskoglund Date 2013-02-07 07:58
Hi!

I recently made a gem that sets up a basic ruby/gosu game with some helper classes. Mostly for my own use when prototyping games I often create new projects, so I thought I might as well share it.

I call it chobo
Parent - - By lol_o2 Date 2013-02-07 13:23
I made something very similar. You should check: http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=834
Your one looks very advanced, but mine is simpler and has very useful things. Also, chobo looks a bit like XNA.

One thing I noticed: in Chobo.color it could be clr = Gosu::Color.new(r, g, b, a)
Parent - - By Spooner Date 2013-02-08 00:03
Not sure what you are meaning to correct there, but I think that should be Gosu::Color.argb(a,r,g,b) or Gosu::Color.rgba(r,g,b,a) (#new is equivalent to #argb, not #rgba)
Parent - By lol_o2 Date 2013-02-08 12:15
Oh, anyway he could do this in one line without writing the color's values individually.
Up Topic Gosu / Gosu Exchange / I made a gem for simply creating gosu projects

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill