Moving character implementation