maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   New port : LBreakout2 (https://talk.maemo.org/showthread.php?t=17982)

Yann Benigot 2008-03-16 19:28

New port : LBreakout2
 
I made a port of LBreakout2 for ITOS2008.
What has been changed from the original code :
  • When the game asks you to choose between y (yes) or n (no), you can use the zoom keys : the + key is for "yes", the "-" key is for "no".
  • The original game uses the relative movement of the mouse to move the paddle. It is unplayable with a tablet. I edited client/paddle.c to make the paddle follow exactly the mouse when clicking on the left button. On the tablet, the paddle will follow your stylus.
  • The game can only do fullscreen. When the windowed mode was activated, it was unplayable.
Known problems :
  • The default online game server doesn't seem to work...
  • If you have a N800 without keyboard, using the level editor will be difficult because you have to type your name...
  • The port only do 640*480. The frame rate is a bit low, but the game is still playable.

http://yannbng.free.fr/Maemo/lbreakout2.png
Deb file here
Modified source code

MiBi 2008-03-16 20:02

Re: New port : LBreakout2
 
Nice, will try :)

Thank's MiBi

Rocketman 2008-03-16 20:41

Re: New port : LBreakout2
 
Now if only Nokia had the foresight to put some accelerometers in the n810...

CyberCat 2008-03-16 22:14

Re: New port : LBreakout2
 
Thank you! I really like this game. It actually had an error at the end of the installation "installation error, install aborted" or something, seems to play fine anyway. :D

I don't know what you meant about the speed, it seems to play full speed to me. Anybody else play this sideways?

Mara 2008-03-16 22:22

Re: New port : LBreakout2
 
Nice... Refresh my memories when I played Arkanoid on Atari 520ST about 20 years ago... :eek:

Yann Benigot 2008-03-16 22:23

Re: New port : LBreakout2
 
You're welcome :-)
I wanted to say the frame rate was a bit low. I corrected the original post.

qwerty12 2008-03-17 07:28

Re: New port : LBreakout2
 
@Yann

I think you are putting this port down too much. :)

People like games full screen, I can play quite well until the stylus gets in the way >.< and you set it up so d-pad works too.

Thanks for the game! :)

El Amir 2008-03-17 08:31

Re: New port : LBreakout2
 
U rule Yann ! :)

ArnimS 2009-12-10 14:55

Re: New port : LBreakout2
 
Bump for N900 and accelerometer support!

Aweb 2009-12-10 16:29

Re: New port : LBreakout2
 
Same here !

DaSilva 2009-12-11 12:48

Re: New port : LBreakout2
 
Would be awesome!

白い熊 2009-12-11 14:02

Re: New port : LBreakout2
 
Quote:

Originally Posted by Yann Benigot (Post 156059)
I made a port of LBreakout2 for ITOS2008.
  • The port only do 640*480. The frame rate is a bit low, but the game is still playable

Your port runs on the N900 as well. It's quite fast, in fact not slow at all, very playable.

Could you give me a hint on which portions of the code you had to modify (pointers...) to make it run fullscreen, as I want to make other apps run fullscreen on the N900 and can't get them to?

Thank you.

qwerty12 2009-12-11 14:13

Re: New port : LBreakout2
 
Quote:

Originally Posted by 白い熊 (Post 422777)
Could you give me a hint on which portions of the code you had to modify (pointers...) to make it run fullscreen, as I want to make other apps run fullscreen on the N900 and can't get them to?

Isn't this specific to the toolkit being used?

In this case, LBreakout2, utilizing SDL, sets the SDL_FULLSCREEN flag.
A GTK program would use gtk_window_fullscreen(GTK_WINDOW(window));, etc.

Try building wmctrl if you want a generic solution; http://www.emacswiki.org/emacs/FullScreen has the basic command usage for using wmctrl to fullscreen the currently displayed window.

白い熊 2009-12-11 16:26

Re: New port : LBreakout2
 
Yeah, wmctrl was the first thing I tried. Doesn't work. It sets the app fullscreen not covering the top hildon bar... Tried hard with it, no go. Unless I'm missing something.

n950 2015-04-08 18:42

Re: New port : LBreakout2
 
http://yannbng.free.fr/Maemo/lbreako..._7-1_armel.deb

Dead link

Where can i download harmattan version? perhaps this file work for harmattan?

Thanks in advance

endsormeans 2015-04-08 19:35

Re: New port : LBreakout2
 
it's in gronmayers under chinook extras....
it's also right here...
http://demetriusvas.blogspot.ca/2010...okia-n810.html

this os2008 beastie on harmattan?
wow.
dunno man...
you could try ...
cross your fingers and pray ...
buuuut....i dunno 'bout that happenin' man.
gotta do some hoo doo ju ju voodoo there.
hrm..I imagine it'd be easier for someone to port the original to harmattan rather than porting a port of the original.


All times are GMT. The time now is 10:25.

vBulletin® Version 3.8.8