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

From X-Moto
Jump to: navigation, search
Line 2: Line 2:
  
 
<?xml version="1.0"?>
 
<?xml version="1.0"?>
 +
 
<keys name="My awesome keys">
 
<keys name="My awesome keys">
 +
 
<bind key="t" action="org.ekips.filter.changeblocktexture"/>  
 
<bind key="t" action="org.ekips.filter.changeblocktexture"/>  
 +
 
<bind key="b" action="org.ekips.filter.changeblocktype"/>  
 
<bind key="b" action="org.ekips.filter.changeblocktype"/>  
 +
 
<bind key="e" action="org.ekips.filter.addedge" />
 
<bind key="e" action="org.ekips.filter.addedge" />
 +
 
<bind key="s" action="org.ekips.filter.addsprite" />
 
<bind key="s" action="org.ekips.filter.addsprite" />
 +
 
<bind key="z" action="org.ekips.filter.addzone" />
 
<bind key="z" action="org.ekips.filter.addzone" />
 +
 
<bind key="x" action="org.ekips.filter.launchlvl" />  
 
<bind key="x" action="org.ekips.filter.launchlvl" />  
 +
 
</keys>
 
</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...)
 
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...)

Revision as of 06:23, 5 January 2008

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

<?xml version="1.0"?>

<keys name="My awesome keys">

<bind key="t" action="org.ekips.filter.changeblocktexture"/>

<bind key="b" action="org.ekips.filter.changeblocktype"/>

<bind key="e" action="org.ekips.filter.addedge" />

<bind key="s" action="org.ekips.filter.addsprite" />

<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...)