Es:Inkscape-dev

From X-Moto
Jump to: navigation, search

English - Català


Documentación para la versión de desarrollo de svg2lvl


Atención

Esta versión de svg2lvl aun no es estable y no ha estado completamente comprobada, pero puedes probarla igualmente. Requiere algunas funcionalidades del Inkscape que aun no están disponibles hasta la siguiente versión del Inkscape, así que para probar esta versión, tendrás que compilar el Inkscape desde el código fuente.

Mira te Inkscape svn para conseguir el código fuente del Inkscap y Inkscape developper documentation para compilarlo.

Hasta ahora, la versión de desarrollo solo se ha comprobado en Linux. Así que puede que no funcione en otros sistemas operativos.

Requisitos Mínimos

  • Inkscape (versión svn)
  • Python (>= 2.4)
  • Svg2lvl converter y la extensión del Inkscape desde el cvs
$ cvs -z3 -d:pserver:anonymous@xmoto.cvs.sourceforge.net:/cvsroot/xmoto co -P xmoto/tools/svg2lvl/

Antes de nada

Has de instalar la extensión svg2lvl del Inkscape.

GNU/Linux

Supondremos que has descargado el cvs en ~/xmoto-cvs/

$ cd ~/xmoto-cvs/xmoto/tools/svg2lvl/
$ mkdir -p ~/.inkscape/extensions/textures/
$ cp *.inx *.py ~/.inkscape/extensions/
$ cp textures/*.jpg ~/.inkscape/extensions/textures/
$ ln -s /usr/share/inkscape/extensions/bezmisc.py ~/.inkscape/extensions/bezmisc.py
$ ln -s /usr/share/inkscape/extensions/inkex.py ~/.inkscape/extensions/inkex.py
$ ln -s /usr/share/inkscape/extensions/embedimage.py ~/.inkscape/extensions/embedimage.py

Entonces, ya puedes arrancar Inkscape.

TODO

  • change the way xmoto properties are handled in inkscape objects label. DONE
  • fix the xmoto level size. DONE
  • show xmoto textures in Inkscape. DONE
  • show xmoto sprites in Inkscape. IN PROGRESS
  • use list of value in extensions windows. DONE
  • allow xmoto to update texture informations when new textures are downloaded by xmoto. IN PROGRESS
  • change the way inkscape object style is handled by svg2lvl extensions. IN PROGESS
  • create an automatic installation for Unix and Windows. TODO