Active Topics

 



Notices


Reply
Thread Tools
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#11
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
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#12
Oooh!

Since this is in python, will it also work under Diablo as well?
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#13
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!
 
Posts: 293 | Thanked: 81 times | Joined on Dec 2010 @ Al Quds, Isawiya
#14
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.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#15
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!
 
Posts: 145 | Thanked: 304 times | Joined on Jan 2010 @ Milton Keynes, UK
#16
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.
 

The Following User Says Thank You to jamiefuller For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#17
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.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#18
Joy!

I just changed permissions for the whole stupid folder.

:thumbsup:

 
ZogG's Avatar
Posts: 1,389 | Thanked: 1,857 times | Joined on Feb 2010 @ Israel
#19
if you package it and and upload to extra-devel it would be nice =)
thanks for game
 
Posts: 145 | Thanked: 304 times | Joined on Jan 2010 @ Milton Keynes, UK
#20
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,
 
Reply

Tags
bada rox


 
Forum Jump


All times are GMT. The time now is 07:36.