Skip to content

v0.4.0

Compare
Choose a tag to compare
@chanind chanind released this 31 Jan 02:30
· 127 commits to master since this release
  • Adds a loopCharacterAnimation() method which makes it easy to animate a character over and over.
  • Returns a promise from animateCharacter(), hideCharacter(), showCharacter(), hideOutline(), and showOutline() which resolves when the action completes, instead of needing to pass an onComplete callback (but passing onComplete will still work).
  • If no width or height is provided, they will be inferred from the size of the parent element
  • Adds stroke-linecap: round and stroke-linejoin: round to the user-stroke drawn during quizzing which makes it look slightly nicer.
  • Adds a comment to the compiled JS with the current version number and a link to the website