What's new in q5play?
q5play v4.0 will be released soon!
In this article, I’ve highlighted some of the most important new features documented in Learn q5play.
Grabbable Sprites
Introducing “grabbable” sprites!
https://q5play.org/learn/input.html?page=2
Silly name huh? 😅 But this is a super convenient GrabberJoint wrapper!
You can use any pointer (mouse, touch, or pen) to grab a sprite.
The position at which you grab the sprite matters. Try grabbing a corner and the sprite will rotate realistically, with respect to gravity.
In p5play, this was sort of thing was done by checking sprite.mouse.dragging() and using sprite.moveTowards(). Now it’s as simple as setting sprite.grabbable to true!
Pointer Overlap
In q5play, you can check if a pointer is overlapping a sprite, similar to the sprite overlap functions.
https://q5play.org/learn/input.html?page=4
It replaces p5play’s sprite.mouse.hovering(), which was not intuitive.
Rounded Shapes
In q5play, you can make capsules…
https://q5play.org/learn/sprite.html?page=4
…and capsule chains!
Polygons can have rounded corners too!
https://q5play.org/learn/sprite.html?page=12
Tiles
In p5play, it was a bit weird that the Tiles constructor returned a group.
Now in q5play, the group.addTiles function makes it clear that users are adding sprites to a group based on a tilemap.
https://q5play.org/learn/group.html?page=3
New Physical Attributes
https://q5play.org/learn/sprite.html?page=9
Explosions
https://q5play.org/learn/world.html?page=6
q5play v4 beta11 Released
Read the full migration guide to learn more about q5play.
Stay tuned for the release of q5play v4.0!










This looks great! The grabber joint function might be a lot of fun to try in combination with ml5.js hand-tracking!
Very small point: the link in https://q5play.org/learn/world.html?page=6 above is broken.