maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   QBASIC Gorillas on N900 (Python) (https://talk.maemo.org/showthread.php?t=69887)

xxxxts 2011-02-17 15:59

Re: QBASIC Gorillas on N900 (Python)
 
1 Attachment(s)
I made an icon and a desktop file:

Make gorilla.desktop in /usr/share/applications/hildon and insert this;

Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Gorillas
Exec=python /home/user/MyDocs/Games/gorilla.py (or where ever you put it)
Icon=gorilla
#X-Window-Icon=timerwidget
X-Window-Icon=gorilla
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

Then place the attached icon in /usr/share/icons/hicolor/64x64/apps

vi_ 2011-02-17 16:03

Re: QBASIC Gorillas on N900 (Python)
 
For the love of god someone package this!

xxxxts 2011-02-17 16:12

Re: QBASIC Gorillas on N900 (Python)
 
Just a few observations/bug reports:

-A screen tap at "Press any key to continue" would be pretty nifty, as well as using a screen tap as the return key.

-Of course the N900 keyboard isn't mapped for this, and for some it is quite tricky (and annoying) having to hold down the alt key while pressing a number. Same goes for shift.

-If the buildings are moved closer to the bottom of the screen we will have more image of the sky and the bananas trajectory. It would also look better and be closer to the original.

-Some things aren't centered, not really a big deal.

StefanL 2011-02-17 16:24

Re: QBASIC Gorillas on N900 (Python)
 
Quote:

Originally Posted by xxxxts (Post 949011)
Just a few observations/bug reports:

-A screen tap at "Press any key to continue" would be pretty nifty, as well as using a screen tap as the return key.

-Of course the N900 keyboard isn't mapped for this, and for some it is quite tricky (and annoying) having to hold down the alt key while pressing a number. Same goes for shift.

-If the buildings are moved closer to the bottom of the screen we will have more image of the sky and the bananas trajectory. It would also look better and be closer to the original.

-Some things aren't centered, not really a big deal.

I haven't yet volunteered to be the keeper of the N900 version ;).

The screen tap is easy to implement, also moving the bottom of the buildings down is not a big deal, will do some more code hacking :).

Appreciate help on packaging, I am absolutely clueless!

arora.rohan 2011-02-17 16:30

Re: QBASIC Gorillas on N900 (Python)
 
Haha the game is so fun

to play it

put the gorilla.py in your mydocs folder
then in root
apt-get install python-pygame

after that
/home/user/MyDocs/python gorilla.py

and we have lift off ! :]

xxxxts 2011-02-17 17:12

Re: QBASIC Gorillas on N900 (Python)
 
Quote:

Originally Posted by arora.rohan (Post 949027)
Haha the game is so fun

to play it

put the gorilla.py in your mydocs folder
then in root
apt-get install python-pygame

after that
/home/user/MyDocs/python gorilla.py

and we have lift off ! :]

And if you want an icon on the desktop then just follow what I wrote previously.:D

xxxxts 2011-02-17 17:14

Re: QBASIC Gorillas on N900 (Python)
 
Quote:

Originally Posted by StefanL (Post 949024)
I haven't yet volunteered to be the keeper of the N900 version ;).

The screen tap is easy to implement, also moving the bottom of the buildings down is not a big deal, will do some more code hacking :).

Appreciate help on packaging, I am absolutely clueless!

Well I hope you stick around! It's great seeing Gorillas on the N900!:D

govprog 2011-02-17 17:57

Re: QBASIC Gorillas on N900 (Python)
 
I don't want to bother anyone, but why not KBasic?(Basic with Qt export function) you can copy the code there,export it,and compile it to debian using MADDE.(Full version of this program is available for free under linux platform.)

epage 2011-02-17 18:07

Re: QBASIC Gorillas on N900 (Python)
 
Sorry I've been too busy lately. Depending on my schedule maybe tonight or tomorrow I can try packaging it?

StefanL 2011-02-17 18:11

Re: QBASIC Gorillas on N900 (Python)
 
Quote:

Originally Posted by govprog (Post 949087)
I don't want to bother anyone, but why not KBasic?(Basic with Qt export function) you can copy the code there,export it,and compile it to debian using MADDE.(Full version of this program is available for free under linux platform.)

I like Python because it let's me do the programming and testing right there on my N900. :)


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

vBulletin® Version 3.8.8