generating sprite sheet