renathy Posted January 15, 2021 Share Posted January 15, 2021 (edited) I have started already developing my game with Pixi.JS. However, I suddenly found library fabric.js. I am developing simple DragAndDrop "Game" for small kids. They need to drag and drop objects on main screen and write their names. Almost that is it... THere are about 50 different objects in different categories, all objects are images. I see there is a lot of features I need in Fabric.js DEMOS, but in PIXI.js I have to develop them by myself: 1) I need to drag and drop objects on my main scene 2) I need to rotate and resize them 3) I need to have selection of those objects (and fabric.js has already rectangle around each object as selected object and allows to rotate and resize those objects) 4) Writing text on canvas 5) Draing lines on canvas (in Fabric.js - there are DEMOs like this) Basically this is what I need. All other things are just javascript and would be common for both libraries. What are PIXI.JS benefits over Fabric.js? Edited January 15, 2021 by renathy Quote Link to comment Share on other sites More sharing options...
icp Posted January 15, 2021 Share Posted January 15, 2021 Pixi.JS has better rendering performance. Since you are developing a simple game, you don't need that much power. So, for your use case, you can stick with Fabric.js and save time by not developing all the features by yourself. ivan.popelyshev 1 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.