Skip to main content

localiz - 1.2

localiz est un simple outil 'drag&drop' vous permettant de placer une surface sur le display afin de faciliter la mise en page de vos projets.


josmiley / Luke spywoker
(mutualaccount)
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

Releases

localiz 1.3 — 15 Jun, 2011

localiz 1.2 — 11 Mar, 2010

Pygame.org account Comments