SebastianMtl Posted May 12, 2020 Share Posted May 12, 2020 hello , I need orientation in choosing between a Javascript rendering engine like Pixi JS or a full game framework like Phaser JS. I am trying to create a 2D grid layout in witch I can draw shapes like shown on this gif. The user could hold a key to draw straight lines and so on. I am building the component in Vue.js and I am still not sure if I need a game framework to do so or a rendering engine would do the trick. What is the most straightfoward way to achieve this? Quote Link to comment Share on other sites More sharing options...
b10b Posted May 12, 2020 Share Posted May 12, 2020 1 hour ago, SebastianMtl said: What is the most straightfoward way to achieve this? Canvas and JS, no extra lib needed imo (for the goal as defined). Various ways to do the floodfill either using the Context2d API or abstracting the grid to something higher level. That said, I expect the grid and layout has a purpose beyond what is explained here? That purpose should be considered for a more considered answer ... probably unlikely to be disappointed with selecting Pixi. 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.