Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with renderer #68

Closed
Dokmak opened this issue Apr 13, 2013 · 8 comments
Closed

Problem with renderer #68

Dokmak opened this issue Apr 13, 2013 · 8 comments

Comments

@Dokmak
Copy link

Dokmak commented Apr 13, 2013

Hello Sir [Urgent]

I'm currently doing a project assignment for a game using pixi.js and I viewed much of your examples attached with the project's folder ( pixi.js ) and found a problem when viewing it in chrome nor comodo dragon and it's working fine with firefox and IE ....

it displays the following error :
107
Uncaught Error: SecurityError: DOM Exception 18 pixi.js:1887
299
Uncaught Error: SecurityError: DOM Exception 18 pixi.js:1887

I tried to surround the line with a try and catch .. it showed some kind of a rectangle for the image's sprite but didn't show it. I guess maybe there is a cross browser problem or maybe I need some guidance on how to use it

Thanks guys and good job 👍 :)

p.s when I finish the game ... looking forward to send you a link to play it ;)

@MarxGames
Copy link

you need to run those examples through a webserver, see #33

@Dokmak
Copy link
Author

Dokmak commented Apr 13, 2013

Can xampp solve the case ? :) just sayin ...

@MarxGames
Copy link

Xampp would solve the issue. It all comes down to your browser version/configuration.

@Dokmak
Copy link
Author

Dokmak commented Apr 13, 2013

Could you please illustrate how I would solve it with xampp ?
I mean is there some turnaround to be done in xampp in order to operate it locally with no security restrictions with chrome ?

@MarxGames
Copy link

If you are not familiar with any webserver software I recommend you go with the Python's built-in webserver. Instructions can be found from https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally#run-local-server

@Dokmak
Copy link
Author

Dokmak commented Apr 13, 2013

Thanks dude 👍

@GoodBoyDigital
Copy link
Member

Hey peeps!

I added an FAQ section to the wiki: https://github.com/GoodBoyDigital/pixi.js/wiki/FAQs
It only has one point at the moment which is about the webGL running locally issue. I also included the link that @MarxGames shared as its very useful!

Will add more points as we go :)

Thanks all!

@lock
Copy link

lock bot commented Feb 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants