Inkscape-0.4.0

From X-Moto
Revision as of 21:12, 12 July 2007 by The only dude (talk | contribs) (First steps)
Jump to: navigation, search

Svg made with the 0.2.0 version of svg2lvl are not compatible with this version of svg2lvl.

Windows installation

To install Inksmoto level editor 0.4.0 on a Windows box, just double-click on the Inkscape-0.45.1_svg2lvl-0.4.0_win32.exe installer.

Linux & Mac OS X installation

Required software

  • Inkscape (>= 0.45)
  • Python (>= 2.3)
  • python-tk
  • pyXML
  • Svg2lvl converter (0.4.0)

To install the required softwares on an Linux Ubuntu box (Festy Fawn):

$ sudo apt-get install inkscape python python-tk python-xml

To install the required softwares on a MacOS X box, use Fink and/or get the .dmg on the Internet. (TODO: get the exact procedure)

Installation

$ wget http://download.tuxfamily.org/xmoto/svg2lvl/0.4.0/svg2lvl-0.4.0.tar.gz
$ tar zxvf svg2lvl-0.4.0.tar.gz
$ cd ~/svg2lvl-0.4.0/
$ mkdir -p ~/.inkscape/extensions/
$ cp -f * ~/.inkscape/extensions/

Tutorial

First steps

This part of the tutorial learns the basics to be able to create a level.

Quick look at inkscape

Inkscape0.png

Here is the list of useful tools from Inkscape to create Xmoto levels:

  1. The selection tool
  2. The path editing tool
  3. The zoom in/out tool
  4. The rectangle tool
  5. The circle tool
  6. The star tool
  7. The hand draw tool
  8. The bezier curves draw tool
  9. The Xmoto properties menu

To learn how to use Inkscape you can use the official Inkscape tutorials: Inkscape2.png

The Xmoto extensions

Drawing a simple level

Set level properties

Save the level

Test it in Xmoto

More advanced topics