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.24.10
Merged PRs from @codingMASTER398 and @Dukemz 🎉
3.24.8
Added support for sketches written for q5 WebGPU that fall back to the Canvas2D renderer if WebGPU is not available in the user's browser.
3.24.6
Fixed friendly angle rounding, angular slop was not properly calculated.
3.24.5
Fixed #337
3.24.3
When sprite.debug
is true sensors now display as bright yellow with 50% transparency, so that lime green colliders drawn directly under a sensor can still be seen.
3.24.1
Fixed a regression introduced in v3.22.13 that messed up animation scaling. I recommend that npm users upgrade to this version ASAP!
When used with q5.js v2.9 and above, p5play will use q5's default image scale system. p5play will also use the image's defaultWidth
and defaultHeight
to determine the size of group sprites when a group has an image or animation but the user didn't specifying what width and height the sprites should be like in this example.
https://p5play.org/learn/animation.html?page=3