#147 closed enhancement (invalid)
Drawing Pixels with Keyboard
Reported by: | Owned by: | pulkomandy | |
---|---|---|---|
Priority: | major | Milestone: | 2.7 |
Component: | GrafX2 | Version: | 2.6 |
Keywords: | Cc: |
Description
Hello, I want to request this feature because I hate drawing pixel art with a mouse.
Arrow keys - move cursor one pixel
Z - place down a pixel of the primary color onto where the cursor is
X - secondary color
A/S - change primary color to previous/next one in the palette
Q/W - same but for the secondary
E - Automatically switch secondary color to transparent color - "Eraser"
I'm sorry if these already conflict with some of the bindings in Grafx2 but I feel this is the most ergonomic way to use the keyboard to move the cursor and plot pixels. Perhaps have a setting you can check off in the options that that enables these bindings as an override.
Please I am begging you, I am trying to make open source sprites for the copyright free version of Zelda Classic (Action game maker, the community is at PureZC.net) so that we don't get sued. But I can't draw sprites well using the mouse no matter how hard I try, so I really need to be able to just draw pixel art using the keyboard only.
Change History (13)
follow-up: 2 comment:1 by , 4 years ago
comment:2 by , 4 years ago
Replying to Thomas Bernard:
well using the keyboard is already supported.
by default, it is CTRL + arrow keys.
You can change all key bindings in the Help (Keyboard Shortcuts section)
Oh, good. Most image editors don't let you change the bindings! So how do I place down a pixel where the cursor is, using a button. Is that already in GrafX2 or needs to be added?
comment:3 by , 4 years ago
For painting with primary and secondary color, set the controls for "Left click" and "Right click".
I just notice that we have a button to set the secondary color to the "transparent" color (right-click "Get/set transparent col" button when the Anim/Layers toolbar is set to "Layers") but there's no keyboard shortcut attached. At the time, I didn't think it would be useful, sorry.
change primary color to previous/next one in the palette
same but for the secondary
Near the end of the list :
"Select foreground color", default [ and ]
"Select background color", default Shift-[ and Shift-]
comment:4 by , 4 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
default keys are in the documentation : http://grafx2.gitlab.io/grafX2/htmldoc/grafx2_02.html
comment:5 by , 4 years ago
Er, when I try to replace the move cursor 1px up with "Up Arrow", it sets it to "Ctrl+Shift+PgDown". This is using the latest stable release. Is the "pan viewing area" shortcut (on Up) contradicting with that? I'm not sure how to swap them.
Also don't sweat about not having the keyboard shortcut for setting secondary to transparent color. That's miniscule. Thanks for all the other keyboard shortcuts.
comment:6 by , 4 years ago
follow-up: 8 comment:7 by , 4 years ago
Which "API" version are you using ? win32 ? SDL ? SDL2 ? X11 ?
comment:8 by , 4 years ago
Replying to Thomas Bernard:
Which "API" version are you using ? win32 ? SDL ? SDL2 ? X11 ?
Win32
Also I should mention that I tried "Right" again and it was Alt+Shift+PGDN. But that doesn't change the underlying issue, just a little accident I did before by accidentally holding Ctrl when trying to test it. The issue at hand with assigning the "Up" "Left" and "Right" keys to move the cursor is still there.
comment:10 by , 4 years ago
Replying to Thomas Bernard:
could you try with the SDL version ?
http://grafx2.chez.com/index.php?static3/downloads
Link me please. All I see here is Win32.
comment:11 by , 4 years ago
If you download the "Nightly build (latest changes, may be unstable)" you'll notice you get 3 versions. They are all for windows but uses different UI API :
win32, SDL and SDL2
Keyboard input is different between all versions.
by the way, can you always details the precise GrafX2 version you are testing ?
it is displayed in the statistics screen
comment:12 by , 4 years ago
I notice there is a bug in the win32 version with the emulation of mouse cursor move :(
So test with SDL and SDL2 only.
comment:13 by , 4 years ago
Oh yes, the SDL2 nightly build works well. Thanks for that advice. I guess that new version fixes the bug in the 2.6 Win32 milestone version.
well using the keyboard is already supported.
by default, it is CTRL + arrow keys.
You can change all key bindings in the Help (Keyboard Shortcuts section)