[code update] preload images, render a character animation