Jump to content

Choosing a rendering engine or a game framework


Recommended Posts

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.

layout animation

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?

Link to comment
Share on other sites

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.


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...