maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Defendguin (defender of penguins everywhere) New Port. (https://talk.maemo.org/showthread.php?t=18740)

tobiasj 2008-04-05 14:58

Defendguin (defender of penguins everywhere) New Port.
 
Hot off the presses, err. hot off the SDK is

Defendguin!

An os2008 (possibly OS2007 as well) port of the Williams Defender clone by Bill Kendrick of New Breed Software (http://www.newbreedsoftware.com/defendguin/)

http://www.n8ftl.com/maemo/images/de...4-18-24-11.png

http://www.n8ftl.com/maemo/images/de...4-18-23-49.png

It requires about 4Mb to install, but copies data to the /media/mmc2/share/defendguin folder and uses about 160k of internal storage when finished.

I changed the code to slow the game down a small bit, at full speed it was somewhat unplayable on the tablet (dpad being what it is..) and if your unhappy with the speed please let me know and I will speed it up and repackage (I happen to like it at the speed it is at)

I also added code to allow fullscreen to be toggled from inside the game, it was only selectable with a switch at load time or as a default at compile time.

As it is too large to attach here, please check it out at http://n8ftl.com/maemo.


Thanks,

-John

ArnimS 2008-04-06 00:17

Re: Defendguin (defender of penguins everywhere) New Port.
 
Hah, this is fun. Thanks!

I can't deal with the dpad-enter as firebutton though.

On n810, it would be best to have return and backspace be fire and superbomb (or some other key on the right)

On 770/N800 i think two onscreen buttons on the right would be best. To see a simple onscreen button with source code, download http://pupnik.de/aliens-1.0.2_Nokia.tgz

tobiasj 2008-04-06 12:14

Re: Defendguin (defender of penguins everywhere) New Port.
 
Quote:

Originally Posted by ArnimS (Post 165610)
Hah, this is fun. Thanks!

I can't deal with the dpad-enter as firebutton though.

On n810, it would be best to have return and backspace be fire and superbomb (or some other key on the right)

On 770/N800 i think two onscreen buttons on the right would be best. To see a simple onscreen button with source code, download http://pupnik.de/aliens-1.0.2_Nokia.tgz

ok I can add other key mappings that is no problem, but isnt the D-Pad center button return anyway? I mean I am using SDLK_RETURN for fire now, so you should be able to use return on the N810 right? I can add more than one key to each event so I can keep RETURN and add perhaps + as well.

I will download your code today when I get into the office and take a look at it. I personally don't want soft buttons but as long as I can keep N800 hard keys mapped as well I don't see why I can't add the soft buttons for anyone else who might want them. Thanks for the feedback.


-John

ArnimS 2008-04-06 22:36

Re: Defendguin (defender of penguins everywhere) New Port.
 
I'm not quite clear on how it differs but it definitely don't work with the enter. Maybe you could try SDLK_RETURN || SDLK_KP_ENTER (the logical OR should work in an IF, otherwise make a seperate entry for a CASE)

I think the backspace is SDLK_BACKSPACE (or SDLK_DELETE)? I'll have to get back to you with definite answers.

tobiasj 2008-04-16 10:25

Re: Defendguin (defender of penguins everywhere) New Port.
 
Quote:

Originally Posted by ArnimS (Post 165966)
I'm not quite clear on how it differs but it definitely don't work with the enter. Maybe you could try SDLK_RETURN || SDLK_KP_ENTER (the logical OR should work in an IF, otherwise make a seperate entry for a CASE)

I think the backspace is SDLK_BACKSPACE (or SDLK_DELETE)? I'll have to get back to you with definite answers.

PM sent ArnimS let me know what you think....

-John


All times are GMT. The time now is 13:59.

vBulletin® Version 3.8.8