I'm following this tutorial that uses the layer() function in the latest version of kaboom (v3000)
But I got this message where the layer function is not defined
ReferenceError: layer is not defined
Did they remove it ? or did they rename to something else ?
According to this github issue
layers()has been removed and the functionality of layers can be converged into parent game objects, making it an redundant system.Old:
New