Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu News / Preview: Gosu on Raspberry Pi (SDL 2 based)
- - By jlnr (dev) Date 2014-04-29 22:09
My little experiment to implement Gosu on top of SDL 2.x looks promising so far:

I'll release this as version 0.8 as soon as it works on Windows; it does work on the Raspberry Pi though!

• Install Raspbian and all dependencies that don't have anything to do with X (should be: build-essential,libfreeimage-dev, libopenal-dev, libpango1.0-dev, libsdl2-ttf-dev, libsndfile-dev)
• Install SDL 2 (I've built 2.0.3 from source, took me about an hour)
gem install gosu --pre

The only caveat I've noticed is that you should really run in fullscreen mode, because windowed mode is really fullscreen mode without scaling :)

This gem also works on Linux and OS X (with sdl2 installed via homebrew).
Parent - By jlnr (dev) Date 2014-04-29 22:20
...I guess the bad news about this is that 0.8.0 will not be the release in which I clean up Gosu's interface, but cleaning up the internals is equally satisfying. :)
Parent - By jlnr (dev) Date 2014-05-01 22:14
There's a guide on getting it all set up now:

Getting Started on Raspbian (Raspberry Pi)
Parent - - By RunnerPack Date 2014-05-02 04:30
I hope SDL 2 supports the GPU on the Banana Pi, as well; now or in the future. Gosu on a 1GHz dual-core ARM7 with 1GB of RAM sounds SWEET! (pardon the pun ;) If it works, I am DEFINITELY building a game-console/arcade cabinet with one! (I'm not sure it's worth it on the RPi...)
Parent - - By jlnr (dev) Date 2014-05-02 15:30
If the Banana Pi team is planning to build a gaming machine, then let's hope they work closely with the SDL people! :) I'm just afraid Gosu will not put the second CPU core to good use right now...
Parent - By RunnerPack Date 2014-05-02 19:15
That's okay about Gosu only using one core; the BPi is still over twice as fast as the RPi, even with one core tied behind its back! ;)
Besides, there are plenty of non-Gosu things the other core could be used for. Maybe something to do with custom input hardware or computer vision (PS Move?).
Up Topic Gosu / Gosu News / Preview: Gosu on Raspberry Pi (SDL 2 based)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill