-
Notifications
You must be signed in to change notification settings - Fork 2
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
Embed on websites #2
Comments
will publish to npm + allow people to pass canvas element to Game class |
this was tricker than I thought due to image paths |
You could also use an |
cross-origin wasn't the issue here, but the paths were relative to the npm directory in the game. |
I see. Let me know if you need any help. |
This would be helpful thx. Maybe the iframe is the simplest approach. |
Would be cool to allow people to embed this game on their sites, eg in a 404 page.
The text was updated successfully, but these errors were encountered: