Show:
Defined in: lib/p5.play.js:6108

p5.play is a library for p5.js to facilitate the creation of games and gamelike projects.

It provides a flexible Sprite class to manage visual objects in 2D space and features such as animation support, basic collision detection and resolution, mouse and keyboard interactions, and a virtual camera.

p5.play is not a box2D-derived physics engine, it doesn't use events, and it's designed to be understood and possibly modified by intermediate programmers.

See the examples folder for more info on how to use this library.