debugging game animation