Areknawo Posted August 10, 2017 Share Posted August 10, 2017 Hi, I've recently started making my new (first) game. I decided to go with ThreeJS and A-frame as framework/engine but these aren't very well prepared for game development (lack features I need) so I've switched to BabylonJS. But with my UI being created in Vue (worked well with A-frame HTML elements) there isn't any advice in Google. I've tried integrating it with my Vue component but in a console it says : Quote "Error: WebGL not supported" I thought it is because of Canvas isn't the correct element by when I tried to log it, it prints it is. I don't know if this integration is even possible. As I said I'm new to BabylonJS and maybe I lack some knowledge. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 10, 2017 Share Posted August 10, 2017 Hello, This should work:) Do you mind sharing a sample page somewhere? Quote Link to comment Share on other sites More sharing options...
Areknawo Posted August 11, 2017 Author Share Posted August 11, 2017 Hi, I've manage to get it working. It was because my element note being canvas sorry for that as I said I'm newbie. I also delete DomContentLoaded event and placed my code im Vue mounted function. Now I have problem with Canvas filling all availible space but I would rather make it myself. Sorry again for question. 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.