user123 Posted March 26, 2015 Share Posted March 26, 2015 Hey,It has been a while ago since I used pixi last time, so please help me.For simplicity, I tried to get the tutorial code to work:http://www.goodboydigital.com/pixijs/examples/1/I copy-pasted the code correctly, and adjusted the pixi.js path.However, the entire screen goes black, and I get in FireFox Web Console the error:"TypeError: PIXI.Stage is not a constructor".I host it here, some shady free webhost, I don't blame you if you refuse to see it haha: http://paperclip.netai.net/ Any idea what I couldve done wrong?I use the latest version, I downloaded it today off github.The only thing I can think of is a problem with the <script> tag part, but I checked multiple times and the link is correct.Help please? Quote Link to comment Share on other sites More sharing options...
Sebi Posted March 26, 2015 Share Posted March 26, 2015 Maybe use the full file. https://github.com/GoodBoyDigital/pixi.js/tree/master/bin Or even better start using v3: https://github.com/GoodBoyDigital/pixi.js/tree/dev/bin Your Pixi.js file only has some declarations + the sayHello method. The rest of the lib is missing in your file. Quote Link to comment Share on other sites More sharing options...
user123 Posted March 27, 2015 Author Share Posted March 27, 2015 Maybe use the full file.https://github.com/GoodBoyDigital/pixi.js/tree/master/binOr even better start using v3:https://github.com/GoodBoyDigital/pixi.js/tree/dev/binYour Pixi.js file only has some declarations + the sayHello method. The rest of the lib is missing in your file.Dammit im stupid... imma try that and see if it works, ill reply after it Quote Link to comment Share on other sites More sharing options...
user123 Posted March 27, 2015 Author Share Posted March 27, 2015 Just tested it. Thanks man! It worked!I didn't know pixi only used 1 actual file, thats cool.I feel so dumb having copied so many useless files xD Quote Link to comment Share on other sites More sharing options...
user123 Posted March 27, 2015 Author Share Posted March 27, 2015 oh btw, http://www.pixijs.com/THe official website,When you click download, thats the wrong linkCan you replace it with the correct one , that would be great 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.