Skip to content

v3.26

Latest
Compare
Choose a tag to compare
@quinton-ashley quinton-ashley released this 19 Dec 17:04

Use these links in your projects to always get the latest version of p5play:

https://p5play.org/v3/planck.min.js
https://p5play.org/v3/p5play.js

3.26.3

The sprite.addImg function has been deprecated so long, it didn't even have documentation to mark it as such. It was removed in this update. This is to avoid confusion with sprite.image because sprite.addImg actually added a single frame animation.

Users need to explicitly add a single frame animation using sprite.addAni or set an image using sprite.image.

3.26.1

Revised p5play's frame cycle (aka "game loop"):

https://github.com/quinton-ashley/p5play/wiki/Developer-Log#frame-cycle-revision--december-19-2024

Also several deprecated properties and functions marked for removal were removed. This is to prepare for development on version 4.