Author Topic: Pygame?  (Read 4137 times)

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Pygame?
« on: January 30, 2006, 12:21:15 pm »
http://pygame.org/news.html

Quote
Pygame is a set of Python modules designed for writing games. It is written on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system.


http://ipkgfind.handhelds.org/details.phtm...ficial=&format=

There is a patch file but dont locate...  
Any sucess?
« Last Edit: January 30, 2006, 01:06:43 pm by anunakin »
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Pygame?
« Reply #1 on: February 09, 2006, 11:30:15 pm »
Quote
http://pygame.org/news.html

Quote
Pygame is a set of Python modules designed for writing games. It is written on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system.


http://ipkgfind.handhelds.org/details.phtm...ficial=&format=

There is a patch file but dont locate...  
Any sucess?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]


Here are pygame and its dependencies, smpeg and numeric. This may require a full version of python.
There are many playable games in pygame website, [a href=\"http://www.pygame.org/news.html]http://www.pygame.org/news.html[/url] .

"Jools" is one of the games written using pygame.


Enjoy!

----------- Edited ------------
I replaced pygame with new package.
« Last Edit: February 11, 2006, 11:29:35 pm by 2or0 »
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

NXK

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Pygame?
« Reply #2 on: February 10, 2006, 08:29:05 pm »
Is anyone having problems with Numeric?  I has only shown up in the modules list once, and it would not import.  Is there a problem with this package?  Is it really 24.2 or is it 2.4.2?
This is with RC11 on a C860.

Thanks
NXK

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Pygame?
« Reply #3 on: February 10, 2006, 09:12:19 pm »
Thx man!
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

fabianE

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Pygame?
« Reply #4 on: February 11, 2006, 05:25:49 pm »
Hello,

that looks interesting. I installed all three packages (c860, RC12) and tried to run jools and Zephulor but both complained about a missing font:

    font = pygame.font.Font(None, 24)
    RuntimeError: default font not found

Has anybody got it already running and can point me to the missing font?

With best regards,

Fabian

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Pygame?
« Reply #5 on: February 11, 2006, 10:24:44 pm »
Quote
Hello,

that looks interesting. I installed all three packages (c860, RC12) and tried to run jools and Zephulor but both complained about a missing font:

    font = pygame.font.Font(None, 24)
    RuntimeError: default font not found

Has anybody got it already running and can point me to the missing font?

With best regards,

Fabian
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114524\"][{POST_SNAPBACK}][/a][/div]

For jools, I just replaced "font = pygame.font.Font(None, 24)" with "font = pygame.font.Font("fonts/detonate.ttf", 24)", but I haven't tried Zephulor.
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Pygame?
« Reply #6 on: February 11, 2006, 11:27:11 pm »
Quote
Quote
Hello,

that looks interesting. I installed all three packages (c860, RC12) and tried to run jools and Zephulor but both complained about a missing font:

    font = pygame.font.Font(None, 24)
    RuntimeError: default font not found

Has anybody got it already running and can point me to the missing font?

With best regards,

Fabian
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114524\"][{POST_SNAPBACK}][/a][/div]

For jools, I just replaced "font = pygame.font.Font(None, 24)" with "font = pygame.font.Font("fonts/detonate.ttf", 24)", but I haven't tried Zephulor.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114541\"][{POST_SNAPBACK}][/a][/div]

I repackaged and updated pygame because I missed font and icon for pygame.  This donsn't have font-related error as mentioned by fabianE. Please download pygame again.

Enjoy!
« Last Edit: February 11, 2006, 11:27:50 pm by 2or0 »
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Pygame?
« Reply #7 on: February 11, 2006, 11:33:55 pm »
Quote
Is anyone having problems with Numeric?  I has only shown up in the modules list once, and it would not import.  Is there a problem with this package?  Is it really 24.2 or is it 2.4.2?
This is with RC11 on a C860.

Thanks
NXK
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I dont know the problem. It works for me. Mine is C760 with beta.
Numeric is really ver 24.2, see [a href=\"http://sourceforge.net/project/showfiles.php?group_id=1369]http://sourceforge.net/project/showfiles.php?group_id=1369[/url].
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Pygame?
« Reply #8 on: April 13, 2006, 12:49:17 pm »
This other Bejeweled like game works nice (a bit slow, but real time at 624Mhz) with pygame on pdaXrom!
http://sam.zoy.org/monsterz/

[img]http://sam.zoy.org/monsterz/monsterz-3.png\" border=\"0\" class=\"linked-image\" /]
« Last Edit: April 13, 2006, 12:54:04 pm by anunakin »
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)