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
Jul 21, 2015

Jul 11, 2015

Jun 24, 2015

Jun 23, 2015

Jun 21, 2015

Jun 17, 2015

Jun 14, 2015

Jun 8, 2015

Jun 7, 2015

May 31, 2015

May 28, 2015

May 18, 2015

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