1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-18 02:34:57 +00:00

Updated editor controls (markdown)

False.Genesis 2018-12-25 20:08:29 +01:00
parent ccdb16a3f9
commit bc275bf045

@ -8,6 +8,8 @@ Note that by default you'll only be able to open the editor in mods; for vanilla
[OSE only] Mods can also choose to disable normal access to the editor by setting `blockEditor="1"` in the [[Mod main XML|mod-xml]] file. This setting is ignored when developer mode is on.
It's generally advised to save often when using the editor. Sometimes there are weird problems that are usually fixed when the map is reloaded, but for this to be effective you need to _actually save it before reloading_!
# Keyboard gotchas
This wiki uses the [US keyboard layout](https://en.wikipedia.org/wiki/File:IBM_Model_M.png) as a reference. Remember that the US keyboard layout is not the only one in existence.
@ -36,7 +38,7 @@ Switch between modes by pressing _F5_-_F7_ keys.
* _W_/_A_/_S_/_D_, Hold _MMB_/Mouse wheel and drag: Move the viewport aroun_
* _P_: Place Naija on the mouse cursor
* _F9_: Toggle obstruction overlay
* _F9_: Toggle [[obstruction]] overlay
* _F10_: Open dialog to move all tiles from one layer to another layer
* You need to use actual [[Layer numbers|layers]] here.
* It's recommended not to use this (You can just zoom out a lot, select everything, and move the selection to the new layer)
@ -45,6 +47,7 @@ Switch between modes by pressing _F5_-_F7_ keys.
* _PgUp_/_PgDown_, Mouse wheel: Zoom
* OSE zooms to the cursor
* Older versions zoom relative to the upper left corner of the map. Very inconvenient.
* _F_: Open text prompt. Entered text will be placed as Aquaria text tiles on the currently selected layer.
# Tile edit mode (_F5_)
@ -52,13 +55,23 @@ When this mode is active, tiles on the currently active layer are highlighted (b
There are two modes of selection in this mode. All operations normally affect the tile under the cursor on the currently active layer. Alternatively you can use _Alt_ to select multiple tiles, then all selected tiles will be affected. Tap _Alt_ to clear the multi-selection.
There is also the "ghost tile" that follows your cursor. It's the tile that will be placed when you press _Space_.
Key bindings:
* Press one of the [[Layer|layers]] keys to switch to that layer. Tiles on that layer will be highlighted by a white border.
* Drag while holding _LMB_: Move tile(s) around.
* Shift+[[Layer|layers]] key: Move tile(s) to that layer.
* _Shift_ + _LMB_: Clone tile under cursor.
* Multiple tiles: Clone all selected tiles, and select the new tiles.
* _Space_: Place tile
* _Backspace_/_Delete_: Delete tile(s)
* _E_/_R_: Cycle through [[tileset|tilesets]]
* If nothing is selected: Cycle ghost tile to the next/previous tile in the tileset
* If hovering a single tile: Change tile to the next/previous tile in the tileset
* If multiple tiles are selected: Change each tile into its respective next tile in the tileset.
* [OSE only] _Shift_ + _Mouse wheel_: Much faster alternative to cycle through tiles.
* Works the same way as _E_/_R_ except with a lot less keyboard hammering involved.
* Drag while holding _LMB_: Move tile(s) around
* _Shift_+[[Layer|layers]] key: Move tile(s) to that layer
* _Shift_ + _LMB_: Clone tile under cursor
* Multiple tiles: Clone all selected tiles, and select the new tiles
* Hold _RMB_ + drag mouse to the left or right: Rotate tile under cursor
* Multiple tiles: rotate all tiles around the selection center.
* Hold _Shift_+_RMB_ + drag mouse to the left or right: Uniformly scale tile under cursor
@ -68,6 +81,10 @@ Key bindings:
* This is quite fiddly and there's rarely a use case for this.
* _Shift_+_C_+_RMB_ + Drag mouse left/right: Stretch tile in X-direction
* _Shift_+_V_+_RMB_ + Drag mouse up/down: Stretch tile in Y-direction
* [OSE only] _Shift_+_X_+_RMB_ + Drag mouse left/right: Adjust texture repeat scale
* Only effective if tile texturing is in **repeat** mode (_L_)
* Because _X_ is also used for other things unless _Shift_ is held, be careful not to accidentally press _X_:
* Hold _Shift_ first, **then** press _X_, then move the mouse, release _X_, **then** release _Shift_
* _T_: Flip tile under cursor horizontally (does not respect multi-selection)
* _Y_: Flip tile under cursor vertically (does not respect multi-selection)
* It's recommended not to use this. The same orientation can be achieved by flipping horizontally and then rotating by 180°.
@ -75,7 +92,17 @@ Key bindings:
* _Z_: Move tile to the back in the current layer (draw under everything else)
* Hold _Alt_ and drag the mouse to select multiple tiles. Think that this spans an invisible selection rectangle between where the cursor was when you pressed _Alt_ and where the cursor is now. All tiles inside of this rectangle are selected until you release _Alt_.
* Tap _Alt_ to clear the multi-selection
* _Home_: Set ghost tile to [[Tile 0|tilesets]]
* _End_: Set ghost tile to the last entry in the [[tileset|tilesets]]
* Arrow keys (_Up, _Down_, _Left_, _Right_): Tap once to move the tile by [[1 unit|default-distances]].
* Numpad 0-9: Set [[tile effect|tile-effects]] for selected tile(s)
* **I**: Set tile [[obstruction]] to **Hurt** (Hurts when touched), or unset
* Visible in yellow on the obstruction overlay (_F9_)
* _O_: Cycle through normal [[obstruction]]types
* Visible in red/orange on the obstruction overlay (_F9_)
* _L_: Toggle texture repeat mode for tile under cursor
* Ignores multi-selection
# Entity edit mode (_F6_)