maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Brain Party for Linux (and now for N900) (https://talk.maemo.org/showthread.php?t=48817)

cb00 2010-03-31 07:52

Brain Party for Linux (and now for N900)
 
Looks like we could easily compile this for maemo

http://www.tuxradar.com/brainparty



-----
cb00
http://www.freemaemohelp.com

zehjotkah 2010-03-31 08:39

Re: Brain Party for Linux
 
good idea
maybe we could ask the developer to include the one game with accelerometer support..

Flandry 2010-03-31 14:38

Re: Brain Party for Linux
 
Quote:

Brain Party relies on SDL, SDL Mixer, SDL TTF, SDL Image, SDL GFX and OpenGL.
OpenGL will take a little work, but this sounds like a good candidate for a port.

hudzilla 2010-03-31 19:24

Re: Brain Party for Linux
 
Hey!

That sounds cool! I'm the developer, and I'd be happy to release the extra accelerometer game, but it's currently in Objective C - it would take 10 minutes or so for someone to convert it to C++.

Two questions:

- Why would OpenGL take some work? I haven't coded for Maemo before, but the SDK seems to say that OpenGL ES is supported just fine. And there's QGLWidget, if Qt is acceptable.

- There's quite a difference in screen resolutions: Brain Party is 320x480, whereas the N900 is 480x800 - you could fit Brain Party about 2.5 times onto the N900's screen! Is there a standard solution for that? If not, a simple fix might be to set the GL viewport to be 320x480 (essentially making it upscale everything 1.5x, giving 480x720), then add a fixed 80-pixel bar across the bottom with the Brain Party logo. It'd be a bit blurry, mind you.

I might ask Nokia to send me a Maemo to try out for development; it would certainly make it easier for me to help you if you have trouble porting.


Paul

zehjotkah 2010-03-31 19:42

Re: Brain Party for Linux
 
Quote:

Originally Posted by hudzilla (Post 590292)
- Why would OpenGL take some work? I haven't coded for Maemo before, but the SDK seems to say that OpenGL ES is supported just fine. And there's QGLWidget, if Qt is acceptable.

Hi Paul!
Thanks for joining our community!

We thought first, that your game requires OpenGL, not OpenGL ES. Because the N900 supports OpenGL ES only. There are so many cool open source games out there but many require OpenGL. Now you understand it better, why Flandry said it would be some work.

hudzilla 2010-03-31 20:06

Re: Brain Party for Linux
 
Hey!

Yes, it's OpenGL ES - and the GL parts are almost totally encapsulated, so any changes that need to be made should take only a few minutes.


Paul

pelago 2010-03-31 20:47

Re: Brain Party for Linux
 
Quote:

Originally Posted by hudzilla (Post 590292)
a simple fix might be to set the GL viewport to be 320x480 (essentially making it upscale everything 1.5x, giving 480x720), then add a fixed 80-pixel bar across the bottom with the Brain Party logo. It'd be a bit blurry, mind you.

The top bar on Maemo 5 is 56 pixels high, so that could (should) take up some of the space.

Flandry 2010-03-31 22:29

Re: Brain Party for Linux
 
Hi Paul, welcome to maemo.org. Thanks for joining us. I think you'll find a really good reception for your game here. You are welcome to distribute the accelerometer game through the maemo.org nonfree repo as shareware or make the whole thing available in the free repo if you don't mind releasing the source for that game: whichever you prefer.

If it's already using OpenGL ES then that's awesome. If you need help with anything maemo-specific let me know.

thp 2010-04-01 14:08

Re: Brain Party for Linux
 
Quote:

Originally Posted by pelago (Post 590401)
The top bar on Maemo 5 is 56 pixels high, so that could (should) take up some of the space.

That takes space off the short side (the 480), whereas the game is a bit too short on the long side (the 800). The game should most likely be run in fullscreen "portrait" mode (even if the portrait is simply faked by setting the viewport accordingly).

zehjotkah 2010-04-01 14:11

Re: Brain Party for Linux
 
Quote:

Originally Posted by thp (Post 591398)
That takes space off the short side (the 480), whereas the game is a bit too short on the long side (the 800). The game should most likely be run in fullscreen "portrait" mode (even if the portrait is simply faked by setting the viewport accordingly).

the bar can als be on the short side.
for example the phone app is using it.


All times are GMT. The time now is 05:58.

vBulletin® Version 3.8.8