MFGG Forums
What is your preferred keyboard button layout for playing fangames? - Printable Version

+- MFGG Forums (https://forums.mfgg.net)
+-- Forum: MFGG (https://forums.mfgg.net/forumdisplay.php?fid=4)
+--- Forum: Developer Discussion (https://forums.mfgg.net/forumdisplay.php?fid=10)
+--- Thread: What is your preferred keyboard button layout for playing fangames? (/showthread.php?tid=2944)



What is your preferred keyboard button layout for playing fangames? - Burninleo - 01-22-2023

Everyone who makes a game has to decide which buttons are going to be used to play it.  For most MFGG games, the buttons typically include the following:

-Arrow keys
-Shift (do you want to turn on sticky keys?)
-Ctrl
-Alt
-Spacebar
-Letters - 'Z' , 'X' , 'C'

We are well beyond the point where if you don't like the control layout, you can change it using code, keyboard mapping apps, pc controllers, etc.

But since we are discussing the keyboard:

What is your preferred layout?  
Do button actions (run, jump, start, pause, etc.) feel most natural in a particular layout?
Any layouts that you dislike?

(This post may or may not be valuable for the current generation of fangame creators)


RE: What is your preferred keyboard button layout for playing fangames? - Vert - 01-23-2023

Arrow keys, Z to run and X to jump. C to do some other thing I guess.

Some people got really mad at me for making that the default for my game's demo, as we hadn't implemented remapping yet. I was really surprised by that as that's practically the standard for emulators.


RE: What is your preferred keyboard button layout for playing fangames? - Luigibonus - 01-23-2023

I often add control customization in my games within the settings as I think that's always a good idea, but by default it's usually:

Z: jump
X: run
C: other action, e.g. spin or spinjump
Space: something scenario-specific, e.g. using power-up

← / →: move
↑: look up / enter door
↓: duck

Personally I don't like using Ctrl and Shift for controlling the character, but that's just my preference Big Grin I think they're fine for some other actions tho, like releasing the reserve item or bringing up an inventory.


RE: What is your preferred keyboard button layout for playing fangames? - VinnyVideo - 01-23-2023

Basically, what @Vert said. When I make platformers, I typically use Z as the default for running/shooting, and X as the default for jumping. On a QWERTY keyboard, most people will use their left hand for the action buttons and their right hand for the movement keys. This means you'll have your left index finger on the X key and your left middle finger on the Z key. The index finger is more dexterous than the middle finger, and in a Mario game, you'll be pressing the jump button more frequently than you'll be pressing the run button. In some levels in some games, you'll be holding the run button pretty much nonstop.

I'm also OK with the Shift-Ctrl-Space-Enter scheme. Of course, it's extra-awesome if you include a keyboard configuration menu in your game.


RE: What is your preferred keyboard button layout for playing fangames? - DJ Coco - 01-24-2023

Z/X, even on a German keyboard. I'm a masochist.


RE: What is your preferred keyboard button layout for playing fangames? - OssieTheOstrich - 01-25-2023

It kinda depends on what is the console style of the game.

If it's a NES/Gameboy styled experience, it's probably like:
Z: Run
X: Jump

If it's a SNES styled experience, then it's:
S: Run
Z: Jump
Z: Special (like spin jumping or something)

That said I do think that allowing the player to customise their controls is really a must have feature, as this thread obviously shows, people have different preferences for what is comfortable for them.


RE: What is your preferred keyboard button layout for playing fangames? - Vert - 01-25-2023

(01-24-2023, 06:18 AM)DJ Coco Wrote: Z/X, even on a German keyboard. I'm a masochist.

Remember when Yooka-Laylee and the Impossible Lair just put its actions on H, K and O because using Z, X and C wouldn't work on German keyboards and they didn't bother to program in key remapping support? Effort lol


RE: What is your preferred keyboard button layout for playing fangames? - Gate - 01-25-2023

Control + Shift here but since the release of the eighth installement of GME, configurable controls are a thing now.


RE: What is your preferred keyboard button layout for playing fangames? - Burninleo - 01-28-2023

(01-25-2023, 10:21 AM)Gate Wrote: Control + Shift here but since the release of the eighth installement of GME, configurable controls are a thing now.

I never got around to learning how to do that in GME.  From the other replies it seems that the Z, X, C layout is naturally the most comfortable for platformers.  This layout also naturally places your thumb on the spacebar and your pinky on the shift key.


RE: What is your preferred keyboard button layout for playing fangames? - newredstone02 - 08-06-2023

In AZERTY keyboards X is better suited for jumping because when you use a game controller the jump button is always in the bottom
I used to just use shift for jump and Ctrl for Running/interact because I disabled the sticky keys message box Cool
nowdays i use Z for jumping and X for Running/interact but i give the option to inverse for AZERTY/QWERTZ keyboards or remap


RE: What is your preferred keyboard button layout for playing fangames? - Q-Nova - 01-21-2024

Long ago, my games used the Z/X button layout (Z for jumping, X for other actions like shooting). I believe I sometimes used just the space bar if there's only one action (aside from movement). By the time I started releasing games on MFGG, I switched to the Shift/Ctrl button layout, thanks to Clickteam fangames. I initially disliked the Shift/Ctrl button layout because of the whole Sticky Keys thing, but after I figured out how to disable that annoying pop-up and then played tons of games using said layout, I've grown to appreciate it. I consider the layout an iconic part of a bygone era of fangames, when Clickteam products were the norm. I use the Shift/Ctrl layout because of that -- to pay tribute to the old fangames, and also because I think it's cool. It's similar to why I keep using the 4:3 resolution to this day (though, part of that is because I want my games to playable in CRT monitors). If I ever make another game, however, I definitely should let players reconfigure the controls. I implemented that in Bob-Ball vs. Toads, but it never came out. I considered putting it into Go! Go! Gooble!! but I never bothered with it, even though I set variables for the keys early on. I like how Clickteam games have control reconfiguration by default.

As for playing games, I just stick with the defaults provided, unless they're too uncomfortable. If a game has no defaults and instead forces me to choose the keys, I'd probably do Shift/Ctrl/Z or Z/X/C, depending on whatever I feel like. When playing DOS games, I always like using Ctrl/Alt/Space.


This forum uses Lukasz Tkacz MyBB addons.