Author Topic: Python 3 & Pygame, possible ?  (Read 6084 times)

Monstercrunch

  • Guest
Python 3 & Pygame, possible ?
« on: January 18, 2011, 04:56:50 pm »
Hi  :)

I would like to know if it's possible that somebody make a portage of python 3 & pygame for dingux. I could be nice to make games with this easy language on the A320  ;D.

So ?


pcercuei

  • ***
  • Posts: 1576
    • My devblog
Re: Python 3 & Pygame, possible ?
« Reply #1 on: January 18, 2011, 05:32:46 pm »
It has already been made with Python 2.6, unfortunately it was too slow to be really usable on dingoo.

Monstercrunch

  • Guest
Re: Python 3 & Pygame, possible ?
« Reply #2 on: January 18, 2011, 07:01:34 pm »
http://boards.dingoonity.org/dingux-releases/tuxletics/msg24014/#msg24014

this game is made with python, is it slow ? ( I can't test it, I don't have dingoo yet )

Coccijoe

  • *
  • Posts: 366
    • Underground Portables
Re: Python 3 & Pygame, possible ?
« Reply #3 on: January 18, 2011, 07:06:24 pm »
no it's not slow, but it run by python 2.5.(and pygame)
« Last Edit: January 18, 2011, 07:15:01 pm by Coccijoe »

Monstercrunch

  • Guest
Re: Python 3 & Pygame, possible ?
« Reply #4 on: January 19, 2011, 10:41:54 pm »
So python 2.5 + pygame = good speed for a game ?

@Coccijoe: could you please make a video of it ( gaming live ) ? ( bizarre de se parler en anglais  ;D )

SiENcE

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Python 3 & Pygame, possible ?
« Reply #5 on: January 19, 2011, 11:35:00 pm »
It's not that slow. But you have to use or develop games directly for Dingoo handheld. Do not use PC pyGames.

Her you can download python + pygame ports for dingux ;-).

http://sience.schattenkind.net/dingoo/SiENcE_downloads.htm

Coccijoe

  • *
  • Posts: 366
    • Underground Portables
Re: Python 3 & Pygame, possible ?
« Reply #6 on: January 20, 2011, 12:00:17 am »
@Coccijoe: could you please make a video of it ( gaming live ) ? ( bizarre de se parler en anglais  ;D )
yep  :)

<a href="https://www.youtube.com/watch?v=EprzF0f4-5k" target="_blank">https://www.youtube.com/watch?v=EprzF0f4-5k</a>

release topic here


<a href="https://www.youtube.com/watch?v=lr4pmBhUFL4" target="_blank">https://www.youtube.com/watch?v=lr4pmBhUFL4</a>

and here

Monstercrunch

  • Guest
Re: Python 3 & Pygame, possible ?
« Reply #7 on: January 20, 2011, 09:41:11 am »
Thanks a lot for those videos  :).

Bye

EXL

  • *
  • Posts: 29
Re: Python 3 & Pygame, possible ?
« Reply #8 on: January 29, 2011, 05:19:19 pm »
Hi everyone! Games based on pyGame very easy to port.
You can port the game knowing only the syntax of language pyGame.
Example post on my blog, etc. Other games/apps look on my blog
Manual for porting pyGame's games (Spanish)
MGX package - the usual 7z archive. Unpack it, please fix the script launch. Correcting path to folder and rename *.sh to *.dge
Fixed in the source. py desired values the keyboard, and I'm sure it all run in dingux
PyGame Keycodes for Dingux.
Code: [Select]
UP            K_UP     
DOWN      K_DOWN
RIGHT       K_RIGHT
LEFT         K_LEFT
R              K_BACKSPACE
L              K_TAB
A             K_LCTRL
B             K_LALT
X             K_SPACE
Y              K_LSHIFT
SELECT       K_ESCAPE
START         K_RETURN
END           K_UNKNOWN

Best regards! Sorry for my English!
« Last Edit: January 29, 2011, 05:21:30 pm by EXL »

Coccijoe

  • *
  • Posts: 366
    • Underground Portables
Re: Python 3 & Pygame, possible ?
« Reply #9 on: April 03, 2011, 09:16:30 pm »
i confirm it's very easy, i just edit the .sh file and this 2 games run on my dingoo.
Of course you need python and pygame on your dingoo to use them.

Pytetris



(left, right, up: rotate, down: fast, select: quit)

download

Breakout



(left, right and select for quit)

download


Thanks you EXL!

« Last Edit: April 03, 2011, 09:18:20 pm by Coccijoe »

 

Post a new topic