Ambrosia Garden Archive
    • Editor place/edit modes keyboard shortcut?


      is it possible?

      Is there any way to add a keyboard shortcut to the map editor to switch between place/edit modes? I'm using a touchpad and it's a little bit of a pain to keep moving up into the corner of the window.

    • You could try editing the NIB in Interface Builder; you may just luck out. If not, though, then it's not.

      But, in any case, it's not a big deal, since in general you should only need to use place mode to add sprites that you haven't already placed. For everything else, there's option-drag. In fact, when I go to make something, I place all the sprites I will use and set them up with the attributes they'll need, then option-drag them into place as needed. Sort of like an artist's palette.

    • Yes, this is what I usually do, I rarely place new sprites and most often copy already placed ones. That being said, I indeed tried to edit the nib in Interface Builder, and it indeed works beautifully (yum It's like tinkering with RedEdit again ). If you really mean to do it, install the Developer Tools, then right-click (or ctrl-click) SketchFighter Editor.app, go to Contents/Resources/English.lproj and double-click MyDocument.nib. In the main editing window, click one of the two buttons so that it's selected, and hit command-shift-I so that the inpector appears. In the "Attributes" section of the inspector, you have the possibility of adding a key equivalent, i.e. a keyboard shortcut. Once you've set one for this button, you can put another one to the other button (note: I don't think it will work to put the same one to both in the intent that the shortcut will toggle state, as it will in fact be equivalent to sending a click in the two buttons at once). Save, and there you go!

      Note: I'm putting this as its own discussion topic, it is not a frequently asked question at all. 😉