Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu News / Gosu 0.7.24 released
- - By jlnr (dev) Date 2010-09-07 18:31
Some old and new annoyances being fixed, nothing ground-breaking to see here.

• Windows: Fixed speed issues (re-introduced optimization switch)
• C++: Made Image, Sample, Font copy-constructable because they are immutable - should greatly reduce the need of shared_ptrs.
• OS X: Improved text rendering
• Ruby: line_height (argument to Image#from_text) is now a signed int, not unsigned int
• All: Made all beginClipping/clip_to arguments doubles instead of ints

The second item should come as a great delight to anyone who is getting nightmares from all those shared_ptrs and scoped_ptrs already. There is still no default constructor though, because I hate empty dummy objects. If you need an Image sometimes/later, use boost::optional—it's a header-only lib without any real overhead.
Reply
Parent - - By lol_o2 Date 2010-09-08 18:21
Yeah, now speed on Windows is good, but there is another issue... It's not so important to fix it, but it's a small problem. Just images won't draw in update and button_down? doesn't work in draw. It makes need to write more lines in code.
Parent - - By jlnr (dev) Date 2010-09-09 00:05
You are not supposed to draw in update—that is correct. It may work or not. Just avoid it ;)

But button_down? in draw—do you have a minimal sample program to reproduce that? That would be a pretty critical bug!
Parent - By lol_o2 Date 2010-09-09 13:05
In previous versions this draw just was always working. It's a small problem because I need to change something if I want newer Gosu.
And this button_down? hasn't got any issue. I made a mistake while updating code :)
Parent - By kyonides Date 2010-09-09 05:55
I think I also experienced a similar problem some time ago, but since I changed the code to avoid the issue...
Reply
Up Topic Gosu / Gosu News / Gosu 0.7.24 released

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill