Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu News / Gosu 0.7.19 released
- By jlnr (dev) Date 2010-04-24 16:16
Hello,

Even though there are still some problems left with Linux/RVM and apparently Ruby 1.9.2 on OS X, I decided to release Gosu 0.7.19 in time for the currently running Ludum Dare competition. Excuse the delay, the first item took a lot longer than expected.

As usual, the release is available on GoogleCode and as a RubyGem.

Changes:

* Mac: Fixed custom TTF loading on 64-bit OS X 10.6 (thanks Tri&Alex for trying it out); see GettingStartedOnOsx for necessary Xcode project setup instructions.
* All: Renamed the semi-documented gosuToRadianScale to degreesToRadian and vice versa (in Ruby, instance methods of Numeric). gosuToRadians and radiansToGosu remain unchanged. Sorry for anyone who already used this and has code breaking now. I only know of one person though, who agreed with the change. :)
* C++: Sockets should work on 64-bit systems now.
* Ruby: Added Gosu::enable_undocumented_retrofication. It globally disables all texture bilinear filtering. Will be removed when proper interface is available, please put this in a "try" block when using. This is provided so developers can avoid the hard-to-distribute ruby-opengl gem to achieve this effect. (Hey, ippa. ;) )
Reply
- By jlnr (dev) Date 2010-04-25 19:45
If anyone should run into problems with RubyGosu App.app, this might be because there is one line missing from Resources/gosu/run.rb:


require 'gosu/patches'
require 'gosu/swig_patches' # previously missing
require 'Main'


Just add this line and Image.from_text should work again.

Also, I somehow managed to STILL have a bug in Gosu::angle_diff that can be monkey-patched as follows:


module Gosu
  alias broken_angle_diff angle_diff
  def angle_diff(a, b)
    broken_angle_diff((a%360.0+360) % 360.0, (b%360.0+360) % 360.0)
  end
end


Sorry, I will push a bugfix release out shortly, but not before the end of this LD. Unless somebody runs into an unpatchable bug, of course.
Reply
- By ickylevel Date 2010-04-26 20:53
Pardon my ignorance , but what is so important about this version that you needed to release it absolutely for LD ?
Reply
- By jlnr (dev) Date 2010-04-26 23:00
Well, it was a good motivation to wrap up what I had. :P

Mostly it was that usually a bunch of Ludum Dare games would use ruby-opengl to do the "retrofication" thing, then everybody ran into trouble when deploying. It's just, this time nobody wanted to do a retro-looking game, so it didn't really matter.
Reply
Up Topic Gosu / Gosu News / Gosu 0.7.19 released

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill