I am having a really weird issue. I am creating a sprite from an image as follows:
var grid1_texture = new PIXI.Texture.fromImage("whiteSquare.jpg");
Now this works fine and I am able to add this to the stage. I basically want to add all my images to a folder called resources. So I changed the code to this:
var grid1_texture = new PIXI.Texture.fromImage("/resources/whiteSquare.jpg");
When I do this, I can see in Brackets editor that the link is being made however, the sprites do not get rendered on the stage.
Please help!