jamescherry0123 Posted April 24, 2015 Share Posted April 24, 2015 Hello guys, I'm having some issues with AssetLoader. When I try to load my files from a directory, it just doesn't generate the path right and behaving very weirdly. var path = "assets/"var asts = [path+"bg1.jpg", path+"bg2.jpg", path+"bg3.jpg"] My Pixi app is at: localhost/myapp and my assets are at this url: localhost/myapp/assets When I open my app, it doesn't load any assets from that directory and it shows errors in the console with invalid paths like localhost/myapp/bg1.jpglocalhost/myapp/bg2.jpglocalhost/myapp/bg3.jpg I just can't understand why it is ignoring my "assets" directory and looking for those files in the root. Am I doing something wrong? I'll appreciate your help. Thanks Quote Link to comment Share on other sites More sharing options...
xerver Posted April 25, 2015 Share Posted April 25, 2015 Do you have a running example we can look at? What version of pixi are you using? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.