Jump to content

ECS


elux101
 Share

Recommended Posts

Panda2 is awesome, minimal, performant and small! However, I was wondering whats the opinion of using an ECS along with Panda2 to write a game? is an ECS (entity-component-system) still a favourable architectural pattern and if not, whats the alternative model to be thinking about the objects of a game?

Link to comment
Share on other sites

@elux101

Panda 2 is designed to use modules and classes. Module is basically one JavaScript file, that can contain unlimited number of classes. Modules can require another modules, and classes can extend and inject others. That is in my opinion a really powerful architecture to make games, and there are really no limitations on how you use them. Only thing that is required is that every game needs to have at least one module that contains one scene class.

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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