In stead of clearing the screen each time then writing new sprites try writing the new sprite over the old sprite then erasing the old sprite, the code may be longer but the human brain will see a continus moving image insted of a flickering one.