Ca:Inkscape-dev

From X-Moto
Revision as of 18:44, 23 January 2007 by Trullo (talk | contribs)
Jump to: navigation, search

English - Español


Documentació per la versió de desenvolupament de svg2lvl


Atenció

Aquesta versió de svg2lvl encara no es estable u no ha estat completament comprovada, però pots provar-la igualment. Requereix algunes funcionalitats de l'Inkscape que encara no estan disponibles fins la següent versió de l'Inkscape, així que per a provar aquesta versió, hauràs de compilar l'Inkscape des de el codi font.

Mira't Inkscape svn per aconseguir el codi font de l'Inkscap i Inkscape developper documentation per compilar-ho.

Els Svg fets amb anteriors versions de svg2lvl (0.2.0) no son compatibles amb aquesta versió de svg2lvl.

Programari Requerit

  • Inkscape (versió svn)
  • Python (>= 2.4)
  • Svg2lvl converter i l'extensió de l'Inkscape des de el cvs

$ cvs -z3 -d:pserver:anonymous@xmoto.cvs.sourceforge.net:/cvsroot/xmoto co -P svg2lvl/

Primer de tot

Has de instal·lar l'extensió svg2lvl de l'Inkscape.

GNU/Linux

Suposarem que has descarregat el cvs en ~/xmoto-cvs/

$ cd ~/xmoto-cvs/svg2lvl/
$ mkdir -p ~/.inkscape/extensions/
$ cp -rf * ~/.inkscape/extensions/

Aleshores, ja pots arrencar Inkscape.

MacosX

Has d'instal·lar PyXML. Mira't http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX#Enabling_python_effects for an howto.

Aleshores, instal·la svg2lvl seguint el model de GNU/Linux.

Windows 95 & 98

Copia tots els arxius del cvs al directori share/extensions/ de l'instal·lació de l'inkscape. (Preguntara si vols sobre-escriure els arxius index.py i bezmisc.py, contesta no)

Aleshores, ja pots arrencar Inkscape.

Windows 2000 & XP

Amb la següent versiò de l'Inkscape, es podra posar els arxius de svg2lvl en el directori C:\Documents And Settings\<USER>\Applications Data\Inkscape\extensions\, pero per un problema de l'Inkscape, has de posar les arxius de svg2lvl en el mateix lloc que en Windows 95 & 98.

(El problema encara no ha estat solucionat en la actual versiò de desenvolupament de l'Inkscape)

Aleshores, ja pots arrencar 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. DONE
  • create an automatic installation for Unix and Windows. TODO

Showing the textures and sprites into inkscape will not be available in the next version of svg2lvl, wait for the next next one.