I'm having trouble displaying a simple shape in easeljs. I'm using version 8 and sub-classing Shape. This is not the problem. If I just write linear code the shape, a circle or rectangle displays correctly but I'm trying to embed the code using a module pattern. I've included a codepen in which I've put a circle just using Shape and a rectangle,called Tile, which is sub-classed from Shape. Neither the circle or the rectangle are displayed. For debugging purposes I've exposed both the Tile and the Shapes public funtions.
Aucun commentaire:
Enregistrer un commentaire