p5.play 不会 运行 repl.it

p5.play won't run on repl.it

我刚开始使用 p5.play,但是当我 运行 任何程序(我使用 repl.it)时我总是收到这个错误;

p5 had problems creating the global function "Animation", possibly because your code is already using that name as a variable. You may want to rename your variable to something else. You just changed the value of "camera", which was a p5 function. This could cause problems later if you're not careful.

我无法在 p5.play 中使用任何功能,加载图像不起作用(它创建了一个空文字),精灵也不起作用,我该如何解决这个问题?

const CANVASX = 800;
const CANVASY = 600;

let shipSpriteSheet;

function preload() {
  shipSpriteSheet = loadImage("images/shipsheet.png");
}

function setup() {
  createCanvas(CANVASX, CANVASY);
  pixelDensity(10)
}

function draw() {
  background(100);
  image(shipSpriteSheet)
}

事实证明我实例化了 p5.js 两次并且没有正确使用 instance mode