-
Notifications
You must be signed in to change notification settings - Fork 555
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
Crafty wont display in Electron #1204
Comments
Hi @gingkathfox, what error do you get? :) |
@kevinsimper TypeError, Crafty.scene is not a function |
Uncaught TypeError: Crafty.scene is not a function
at Level1.js:4 |
Looks like either the code is not loaded, as the code for scene is correct. Can you create a codepen that shows the error, I can't sadly help you without having all the code available. You can see the actual code Crafty.scene is https://github.com/craftyjs/Crafty/blob/develop/src/core/scenes.js |
@kevinsimper Does Codepen use Electron? My game runs fine using Beefy. |
Heres the zip of the files used by Electron: |
Hello again 👋
I have a issue with running crafty without Beefy+Browserify. I need my game to run in Electron, and the only issue i have right now is that i cant figure out how to run the game in a html page. Heres my code+markup:
The text was updated successfully, but these errors were encountered: