pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
localiz

localiz - 1.2

josmiley / Luke spywoker (mutualaccount)

Tags:

Description

Localiz is a simple 'drag & drop' tool which allows you to place a 'surface' on the display to help to manage the layout of your projects.

localiz.run (surface, pos = None, sub = None, nfile = None): return (x, y)

'pos' is a relative position in sub(subsurface) if it is defined, otherwise it is an absolute position in the display.
'sub' subsurface of display
'nfile', if defined, is the name of the destination file, calls to localiz.run will be substituted by the coordinates that have been validated.
-move the surface such an icon using the mouse
-hit esc to show/remove the frame
-hit return to complete and confirm.
see example.py

Changes

il est à présent possible de valider les coordonnées en dur dans le fichier courant ou dans un nouveau fichier.
ainsi:
screen.blit(img,localiz.run(img,nfile='file.py'))
deviendra:
screen.blit(img,(20,50))

Links

Home Page: http://joel-murielle.perso.sfr.fr/localiz.zip

Screenshot


click to view original size

Releases

localiz - 1.3 - Jun 15, 2011
localiz - 1.2 - Mar 11, 2010

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 28, 2014

Oct 21, 2014

Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)