Non classé

Back to Unity3D

And this time with 2d horizontal side scrolling rpg!

Unity3D is one of my favorite game engine, mostly due to its affinity with the ECS (entity component system) thanks to the scripts.

For this project, I created a script for each capability, as opposed as a more parent-children system where a class would hold all the capability needed. For example a script which manage the health of a character, an other the movement, etc…, etc…. With each script as independant as possible. In the end, to create the player character or even the monsters, I just have to pick up in my script library the different module or system and boom! Character done!

unityECS.PNG

As you can see on the screenshot, the number of scripts grows rapidly, but well, it can be perfect 🙂

Also, I still use derivation, because it is still awesome and necessary for many cases.

Publicités

2 réflexions sur “Back to Unity3D

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l'aide de votre compte WordPress.com. Déconnexion / Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion / Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion / Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion / Changer )

Connexion à %s