How can I create my own game loop, without using Gosu::Window's? Like SDL-SFML?
Sadly, that's not possible in Ruby/Gosu. Out of curiosity, are you trying to integrate Gosu with EventMachine or a GUI toolkit?
Nope, I'm just trying to use Gosu as I/O parts for an emulator.
I don't know why, the loop works so weird, that's why I thought I should create my own loop.
Fair enough. It should be easy to expose each part of
in Ruby now, thanks to the new unified SDL backend, and that would make it possible to implement other kinds of loops. Feel free to open an issue here: https://github.com/jlnr/gosu/issues
- but as you can see, I am not even close to catching up with all the existing ideas. :/
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill