You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.