Skip to content

v2

Compare
Choose a tag to compare
@quinton-ashley quinton-ashley released this 04 May 19:03

v2.3.0 📓

  • creating sprites with the Sprite constructor new Sprite(x, y, w, h) is equivalent to using createSprite so extending Sprite can work properly
  • revised the Asteroids example to include winning and losing mechanics
  • added a different version of the Asteroids game that demonstrates how Sprite can be extended

v2.2.8 👾 🪄 💨

  • added a new method Group.cull
  • the primary use case for Group.cull is the easy removal of offscreen sprites
  • I also added an culling example to the p5.play site

v2.2.6 🌴

  • Quadtree fix when removing sprites #124

v2.2.5 🚇 🤓

  • tunneling fix with dev logs for demo purposes #214

v2.2.4 🟢 🔵 🟠 🟡 🔴 ⚪

  • use createSprite(x, y, r) with three parameters to easily create a placeholder circle
  • new feature, you can add animations to groups, sprites can use the animations added to a group it belongs to

v2.2.3 🎥

  • cameraPop, cameraPush bug fix #218

v2.2.2 😮

Big update to p5.play which now uses ES6 JavaScript classes!

  • instanceof works on instances of these classes
  • fully backwards compatible with version 1