![]() |
[ANNOUNCE] Paper toss N900 (Python+pygame)
I've been playing with Python and Pygame over the last few days and decided to make a version of the best thing that is available for Android.
Now you can play Paper Toss without having to install Nitdroid, although you should still do that anyway :) Its packaged as a zip file, simply extract to a folder on your n900 (preferably under your mydocs folder) and then launch the python file from xterm with "python game.py" to download click here hope you enjoy! http://2.bp.blogspot.com/-Jms6QHkbZ3...screenshot.jpg |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Lol awesome. Who has never played this in the office? Will check this out. Thanks.
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Im impressed! I've always liked your software. From Sensitive5800 to this. :)
Good performance with no lag, the controls work nicely, all good. The only missing feature is to have different backgrounds. :D |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Cheers jamie, you always produce something fun. hope you keep playing with python.
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Awesome!
(best: 4) |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Thanks guys!, glad you like it.
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Yeah baby! Grabbing it now.
This is the only thing I nick my kids ipod touch for! |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
i get no such file or directory in terminal?
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
1 Attachment(s)
i have downloaded the file and extracted to Mydocs and did this
EDIT:just got that working! opened folder in file box and open terminal from file box !!! |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
got it working. just use filebox to open that folder in xterminal
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
It is very very nice. There's a problem, though.
I have installed the community ssu with autorotation of programs, and so, when I rotate the device in portrait mode to play, the program window rotates too. Could you please do something to make it stay portrait and ignore rotation signals from outside? Thanks |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Oooh!
Since this is in python, will it also work under Diablo as well? |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Sorry. My stupids.
I should have just tried it first before asking such a dumb question like I did. Anyway, many super thanks Jamie! I loves it! :D |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
thanks a lot
can you make deb file of this game so it can be launched from the menu? i guess doodle jump will be the next game. |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Hey Jamie, everything works just fine under Diablo unless it makes it in the basket.
[1|user@Nokia-N800-43-7|/usr/bin/toss]python game.py game.py:1: RuntimeWarning: import cdrom: No module named cdrom import pygame, math, random,time game.py:1: RuntimeWarning: import joystick: No module named joystick import pygame, math, random,time Traceback (most recent call last): File "game.py", line 116, in <module> fo=open("game.dat","w") IOError: [Errno 13] Permission denied: 'game.dat' Any suggestions? I have no game.bat file anywhere. Thanks! |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Hi Addison,
Is the game stored on a fat or ext partition?, it sounds like a simple permission issue, you might have to make the whole folder writable, Its failing on writing out the high score file. (game.dat) another thing to try might be to create a blank game.dat file and chmod 777 that file. |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Thanks!
I have it in /usr/bin/toss/ From there all I did was change permissions on all of the .py files. I'll try your ideas right now. :) |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Joy!
I just changed permissions for the whole stupid folder. :thumbsup: :D |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
if you package it and and upload to extra-devel it would be nice =)
thanks for game |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Glad to hear it Addison,
ZogG, I'll try to package it later, but the wiki page for py2deb looks very complex. I'll try though, |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
If you need help with packaging, maybe talk to epage. He helped on this thread:
http://talk.maemo.org/showthread.php?t=69887 Cheers, Stefan |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
No work,I do not know how to do
http://images.plurk.com/d8542e0679b9...6657af70d7.jpg i know apt-get install python-pygame it, work thank |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Quote:
edit: read above post and installed python-pygame lol :) |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Quote:
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
I have managed to package and upload to the garage, it can be found in extras-dev at the moment, once I'm sure its ok I'll promote it.
be sure to only grab build 3 or higher (1.0.0-3) and as usual becareful when using extras-dev. |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Quote:
Thank you for supporting this community. |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Very nice try dude but I ve got 2 problems. Firstly, the rotation problem as mentioned some posts ago and secondly when I m putting the paper into the bucket the game exits.
*installed version 1.0.0-3 |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Sorry guys, Unfortunatly I am not aware of any way to disable the autorotation of a thirdparty app within Python, so I doubt that it will ever be resolved. Unless someone can advise me how?
:( The bin error should have been resolved in 1.0.0-3. could you go to xterm and type "ls /opt/papertoss/ -l" (without the quotes) and let me know the output (mainly for the game.dat line) Thanks |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Here is the output you asked
Code:
-rw-r--r-- 1 root root 6334 Feb 26 22:17 bin.png |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Cool lil' game - thanks for sharing it with us.
But why in the name of holy mother of mercy did you use *THAT* font? http://bancomicsans.com/ :) |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Quote:
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
I have done
Code:
/opt/papertoss $ sudo chown user:users game.dat But it would be better if game.dat were somewhere under /home. |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Hi Guys,
The autobuilder script should automatically perform the command that debernardis mentions, so I am a little concerned as to why it doesn't work? It changes the permission of the game.py file to executable so I am more than a little confused by it? I'll try to repackage it again this evening. Did the people who are getting this problem have any other version installed previously? |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Nope, I only tried your first version in a subdirectory under MyDocs.
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
|
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Paper toss deb good
bug: Opinions thrown out automatically hope to deb Nokia N900 Rifle Python Script with PyGame http://www.youtube.com/watch?v=DglT-...feature=relmfu Nokia N900 image shooting Python Script with PyGame http://www.youtube.com/watch?v=b3iEx...layer_embedded Clock game for N900 http://talk.maemo.org/showthread.php...441#post956441 |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Hi Everyone,,
I've just uploaded a new package to extras-dev , pretty sure I have fixed the problem this time. new one is 1.0.0-4 cheers |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
hey, i have the problem that the game even does not start.
Just black screen and loading... then shut down of program. Also I'm not the only one with that problem. Any idea? Updated on newest package 1.0.0-4 thanks |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
Hi Lingling92,
could you try running the game from xterm and see if it gives you any errors? in xterm, type the following python /opt/papertoss/game.py cheers jamie |
Re: [ANNOUNCE] Paper toss N900 (Python+pygame)
hi thank you for packing it in a deb file.
I hope you will release a doodle jump clone. |
All times are GMT. The time now is 08:24. |
vBulletin® Version 3.8.8