how can I make a character move?

I am trying to make a game in blender. I have a man and he needs to step forward if I press the forward button, but the whole mesh comes forward and not only one leg.

Use armature to make a walk cycle? Explain what you’ve done.

Not everything is done for you in Blender you know.

Use this tutorial to animate your character walking in place (its the BSoD Intro to Animation - very good!). When you have the “walk” action done, then do the logic bricks.
[Sensor: W] ----- [AND] ------ [Action: Walk] (Try the “loop stop” option)
… ----- [Motion: DLoc] (Whatever numbers/axis are appropriate for your character)

thanks for the reaction.
It really helped.
can someone maybe give me some advanced tutorials?