Skip to content

v3.13

Compare
Choose a tag to compare
@quinton-ashley quinton-ashley released this 11 Sep 19:31
· 108 commits to main since this release

3.13.5

Added group.velocity alias for group.vel.

Fixed a small mistake made in v3.13.0, group sprites should inherit group.speed.

3.13.4

Sprites made with the GroupSprite constructor new group.Sprite() now have auto-completion! Same with Subgroup groups.

3.13.2

Added types for input devices so that they can get auto-completions in VSCode too! #254

I also added contro.leftTrigger and contro.rightTrigger getters, thanks to discord user @ Metamere

Fixed #255

3.13.1

Removed all private (underscored) properties and methods from p5play.d.ts.

3.13.0

BIG update! Auto-complete in VSCode is here!

To add auto-completion to an existing project use npm or bun to install @types/p5 and p5play and add this jsconfig.json file to your project folder:

 {
  "compilerOptions": {
    "target": "ESNext"
  },
  "include": ["*.js", "**/*.js", "node_modules/@types/p5/global.d.ts", "node_modules/p5play/p5play.d.ts"]
}

Optionally, you can use the new p5play-vscode extension to create a new p5play project that will have auto-complete enabled. Huge thanks to @ Yog for his research and work on the extension.

This update to p5play adds a p5play.d.ts file to the p5play npm package.

This update also includes:

  • fix for sprites not inheriting the name of an animation from a group animation (including when used with the Tiles constructor)