Difference between revisions of "Shortcuts for most used actions in the editor"
From X-Moto
(a space too much ;)) |
|||
Line 5: | Line 5: | ||
===The .xml=== | ===The .xml=== | ||
[[media:Default.xml|Default.xml]] | [[media:Default.xml|Default.xml]] | ||
+ | [code] | ||
+ | <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> | ||
+ | [/code] | ||
===How it works=== | ===How it works=== |
Revision as of 17:53, 14 January 2008
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 [code] <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> [/code]
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