Jump to content

Tutorial problem


user123
 Share

Recommended Posts

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?

 

Link to comment
Share on other sites

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.

Dammit im stupid... imma try that and see if it works, ill reply after it

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...