Not logged in
Gosu Forums
Forum
back to libgosu.org
Help
Search
Register
Login
Forum
Search
Words
User
Board
All boards
Gosu
- Gosu News
- Gosu Exchange
- Gosu Showcase
- Extending Gosu
- Gosu on iPad, iPhone & iPod Touch
Field
Text
Subject
Min. Age
Max. Age
Order
Newest first
Oldest first
Search
Topic
Playing Song prevents full game close - Ruby, Mac OSX 10.8
By
zenkalia
Date
2013-01-21 02:52
Hey, I commented further down the thread but in case you don't get notified for that...
The way I got around it was to explicitly stop the background music before calling close.
https://github.com/zenkalia/rubystein/commit/fc14dcdc3f3c42ce3570545e301228556c6fe3b9
<3
Topic
Playing Song prevents full game close - Ruby, Mac OSX 10.8
By
zenkalia
Date
2013-01-21 02:50
Oh I've been seeing this too. Would love to see this resolved. In my project I'm seeing it when trying to call close after playing a second background song.
The way I got around it was to explicitly stop the background music before calling close.
https://github.com/zenkalia/rubystein/commit/fc14dcdc3f3c42ce3570545e301228556c6fe3b9
This project is managing background music using this function (
https://github.com/zenkalia/rubystein/blob/master/wolf3d.rb#L92
) which might be janky? I'm still new to Gosu but thought I'd link to this for context.
Topic
Help with fullscreen?
By
zenkalia
Date
2013-01-19 04:49
in that case, would it help to see the error i'm getting?
~/whatever/rubystein (master) > ./wolf3d.rb
2013-01-18 20:48:08.953 ruby[40610:e07] invalid fullscreen drawable
i'll get to running this on my linux box in a bit, thanks for the quick reply.
Topic
Help with fullscreen?
By
zenkalia
Date
2013-01-18 06:32
So I've been trying to get full screen working and haven't been having a good time...
On linux I'm getting:
ruby: symbol lookup error: /var/lib/gems/1.8/gems/gosu-0.7.45/lib/gosu.so: undefined symbol: XineramaQueryScreens
On OSX I'm getting some other error (but apparently SDL is just messed up in Lion and onwards?).
Is there a fullscreen hello world somewhere that I can run?
(Also, could this be related to using ruby 1.8 rather than 1.9? I haven't installed rvm yet on this computer.)
Thanks!
Powered by
mwForum
2.29.7 © 1999-2015 Markus Wichitill