drawing textured blocks and avatar