Search the Community
Showing results for tags 'fabricjs'.
-
Hello, how can i convert a PixiJs Sprite to add it to my Canvas stage (fabricJs)? iam getting this error: fabric.min.js:8168 Uncaught TypeError: obj._set is not a function slideBildMesh = PIXI.Sprite.from($jsonDefault.img); $app = new fabric.Canvas('itemcontent1', { backgroundColor: 'lightgrey', width: divWidth, height: divHeight }); $app.add(slideBildMesh); //<--- error
-
I've been programming for a few years now, and started writing javascript several months ago. I'm writing a web game in C# and javascript using SignalR and Fabricjs. If I could chat with a web dev guru, I would have an annoying number of questions. This is mainly because I'm completely self-taught and uncertain that I'm doing things the right way, or rather, that I'm not doing things the wrong way. I'm here to ask for general guidance about my code. I'm not asking for anyone to try to find bugs, but rather, I'm asking for a more experienced developer to let me know if there is something which is obviously a bad practice in my code. Here is my GitHub repo: https://github.com/Rydez/SignalRApp Here is the live app: http://Www.rmmelendez.com/justforfun Thanks to anyone who takes the time to help. P.S. Please use Chrome or Firefox