p5.Play in p5.js editor

Does anyone know how to use the P5.Play library in the p5.js editor? I believe that the library has to be referenced in the index.html file, I just do not know how to do that or where to point the reference too.

1 Like

https://editor.p5js.org/kll/sketches/_1NnYvVhB

  • upload the library to /lib/
  • call it in index.html <script src="lib/p5.play.js"></script>
  • use command from lib like createSprite
1 Like
1 Like