Split char sprite image function to char.cs