Jump to content
  • Advertisement
Sign in to follow this  
__UFNHGGI_H__

Component Or Entity ?

This topic is 1970 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

in the name of god && coding rolleyes.gif
Hi Programmers cool.png
Wich Is Beter ?  ComponentBase (like unity3d) or EntityBase (like cryengine) unsure.png
why? When? dry.png

My previous choice was the Component.  mellow.png
But now, I chose the Entity. tongue.png
What is your opinion ?angry.png

sory if my english is not good laugh.png
thanks angry.png

Share this post


Link to post
Share on other sites
Advertisement

Both are essentially the same thing.

 

They represent a game object, and can use composition to add functionality as needed.

 

Both are reasonably well implemented and are good answers to the problem they are trying to solve.

 

Neither is strictly better or worse than the other.  They are very similar solutions to the same problem, and both work quite well.

 

Well said.

Share this post


Link to post
Share on other sites

Both are essentially the same thing.

 

They represent a game object, and can use composition to add functionality as needed.

 

Both are reasonably well implemented and are good answers to the problem they are trying to solve.

 

Neither is strictly better or worse than the other.  They are very similar solutions to the same problem, and both work quite well.

 

Well said.

And that is why, when I first looked into component based, I was somewhat confused as to the difference between the two until I actually tried it.

 

Which is better would depend upon the situation... from my understanding the component based architectures work quickly and are great for adding in something new without having to re code a lot... but if you are doing your object orientated programming to its fullest, it will be the same sort of situation.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!