{Scene, Sprite, Path, Group} = spritejs;
    const container = document.getElementById('adaptive');
    const scene = new Scene({
      container,
      width: 1200,
      height: 600,
      // contextType: '2d',
    });
    const layer = scene.layer();

    (async function () {
      await scene.preload([
        'https://p5.ssl.qhimg.com/t01f47a319aebf27174.png',
        'https://s3.ssl.qhres2.com/static/a6a7509c33a290a6.json',
      ]);

      const robot = new Sprite('guanguan1.png');
      robot.attr({