Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Creating Game Loop
- - By marjinal1st Date 2015-01-03 20:01
How can I create my own game loop, without using Gosu::Window's? Like SDL-SFML?
Parent - - By jlnr (dev) Date 2015-01-04 11:43
Sadly, that's not possible in Ruby/Gosu. Out of curiosity, are you trying to integrate Gosu with EventMachine or a GUI toolkit?
Parent - - By marjinal1st Date 2015-01-04 21:24
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.
Parent - By jlnr (dev) Date 2015-01-04 23:30
Fair enough. It should be easy to expose each part of Window#show 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. :/
Up Topic Gosu / Gosu Exchange / Creating Game Loop

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill