how to turn character in platform game without python?

I want to make it so when the A key is pressed, he walk left and he faces left, and vice versa for the D key. How do I do this using only logic bricks?

have a ‘core’ that never rotates and a graphics armature parented to it, rotate the whole armature using a animation or with track to or logic and properties.

Duplicate your character make one face forwards one face backwards.Make the one face backwards
invisible while the one facing forwards is visible.With the visibilty actuator.Make the one facing forwards invisible while the one facing backwwards is visible.With the visibilty actuator.

or have a turn property:

if you only want a and d (no w or s), then make a Boolean Property (True/False)

untitled.blend (462 KB)

edit: wrong file :stuck_out_tongue:

click the upper link if there is one below