Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu News / Gosu 0.7.25 released
- - By jlnr (dev) Date 2010-11-02 00:05
Hello,

Gosu 0.7.25 is out and features (among really minor fixes):

• All: Fixed Gosu::Image#to_blob/ImageData?::toBitmap
• Ruby: Now seeding Gosu::random with the system time on startup
• Ruby: Added missing scale(x, y, around_x, around_y) (thanks to Spooner)
• Ruby: Added Image#save(fn)
• All: Un-deprecated button_id_to_char/char_to_button_id (and fixed them on 64-bit OS X)
Reply
Parent - - By kyonides Date 2010-11-02 21:48
I thought I would never see the last feature coming back, why did you change your mind?

Can we now save images with Gosu + Ruby? Nice...
Reply
Parent - - By jlnr (dev) Date 2010-11-02 22:03
I found out how to implement it for 64-bit OS X, but at the same time, I don't have time to rework the feature the way I think it should be reworked. There is still no way to get the name of a key (for option screens), or to serialize button ids across machines. :(
Parent - Date 2010-11-03 05:12
Parent - By Spooner Date 2010-11-03 13:50
All brilliant stuff that I'll get plenty of use out of in my project. Thanks!
Reply
Parent - By Maytsh Date 2010-11-03 15:21

> • All: Un-deprecated button_id_to_char/char_to_button_id (and fixed them on 64-bit OS X)


Oh, so it might not actually have been my binding that screwed it up? Must re-check that :)
Parent - - By bestguigui Date 2011-01-08 15:48
Hello Julian,

I would like to upgrade Gosu (I'm using a really old version and there are lots of new features I would love to get) but there is one question I don't find the answer when I read all modifications.

Did you fix the opengl textures problem, when we want to use coordinates like 0.2 from cropping or 3.0 for repetition ?
You solved that problem in my version (I don't know how to figure out which one I have) but when I last upgrade it, it didn't work properly.

Thanks a lot
Reply
Parent - - By jlnr (dev) Date 2011-01-08 15:53
I think it works for textures larger than 64x64 which are powers of two and quadratic. And you need to create them with "tileable" set to true.

But you can just update the gem to try and see. If it's broken, you can continue development by deleting the new gem version. gem doesn't delete old versions when updating.

This will be cleaner once we have the new 0.8 Image constructor.
Parent - - By bestguigui Date 2011-01-08 16:14
Thanks for the very quick reply !
I can't install the Gem (I'm using the .so version) because I get a Gem::RemoteSourceException. Any place where I can get the .gem and install it locally ?

Thanks in advance
Reply
Parent - - By jlnr (dev) Date 2011-01-08 17:02
No idea, I just call "gem push" and it's available magically (to me). But one thing to try is to upgrade your rubygems installation.
Parent - - By bestguigui Date 2011-01-08 18:15
I already tried... it just doesn't work. Do you have a place where I can download directly the gem file ?
Reply
Parent - - By jlnr (dev) Date 2011-01-08 19:44
Parent - By bestguigui Date 2011-02-01 19:01
Hello !

Sorry for the late feedback, but unfortunaltly,  the 0.7.26.1 version doesn't work properly with textures repetition :(

I think I'm gonna switch to full 2D, at least Gosu is on 2D the greatest lib I've ever seen.
Reply
Up Topic Gosu / Gosu News / Gosu 0.7.25 released

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill