Difference between revisions of "Shortcuts for most used actions in the editor"

From X-Moto
Jump to: navigation, search
m (Reverted edits by Opofefemucu (Talk) to last revision by Avova)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
You can define shortcuts for the xmoto extension actions. In Linux or Mac OS X just create a file '''~/.inkscape/keys/default.xml''' containing the following
+
You can define shortcuts for the xmoto extension actions. Just save the file below to:
 +
*'''~/.inkscape/keys/default.xml''' if you are on Linux or Mac OS X, or <br>
 +
*'''C:\Documents and Settings\''user name''\Application Data\Inkscape\Keys\Default.xml''' if windows is you operating system.
  
<?xml version="1.0"?>
+
===The .xml===
 +
[[media:Default.xml|Default.xml]]
  
<keys name="My awesome keys">
+
===How it works===
  
<bind key="t" action="org.ekips.filter.changeblocktexture"/>
+
When inkscape has been restarted and the hotkeys loaded, try to click on a block and press "t". This will bring the texture change dialog. The hotkey list looks like this:
  
<bind key="b" action="org.ekips.filter.changeblocktype"/>
+
* T for '''T'''exture
 
+
* B for change '''B'''lock type
<bind key="e" action="org.ekips.filter.addedge" />
+
* E for add '''E'''gde
 
+
* S for add '''S'''prite
<bind key="s" action="org.ekips.filter.addsprite" />
+
* Z for convert into '''Z'''one
 
+
* X launches the level in xmoto
<bind key="z" action="org.ekips.filter.addzone" />
 
 
 
<bind key="x" action="org.ekips.filter.launchlvl" />
 
 
 
</keys>
 
 
 
If you are in Windows then figure out the file name yourself. restart Inkscape, click on a block and press "t". This will bring the texture change dialog, "b" for block properties, etc. Press "x" to launch your level in xmoto(Don't forget to save it first, just in case...)
 

Latest revision as of 11:19, 26 November 2010

You can define shortcuts for the xmoto extension actions. Just save the file below to:

  • ~/.inkscape/keys/default.xml if you are on Linux or Mac OS X, or
  • C:\Documents and Settings\user name\Application Data\Inkscape\Keys\Default.xml if windows is you operating system.

The .xml

Default.xml

How it works

When inkscape has been restarted and the hotkeys loaded, try to click on a block and press "t". This will bring the texture change dialog. The hotkey list looks like this:

  • T for Texture
  • B for change Block type
  • E for add Egde
  • S for add Sprite
  • Z for convert into Zone
  • X launches the level in xmoto