Skip to content

Verly.js v1.1.4

Compare
Choose a tag to compare
@anuraghazra anuraghazra released this 05 Jul 08:57
· 21 commits to master since this release

Fixed

  • independent internal rendering engine
  • multiple instance of verly.js was causing global var collisions (WIDTH, HEIGHT, CTX)

Changed

  • Entity.js Class now expects two arguments (iteration, verlyInstance) because previously we used global variables to keep track of WIDTH, HEIGHT and ctx which was casing some problems
  • When extending Entity class we have to do super(iteration, verlyInstance)
  • Point.js Class's render, constrain, update methods now expects verlyInstance and ctx variables to be passed.