• Advertisement
  • Popular Tags

  • Popular Now

  • Advertisement
  • Similar Content

    • By eldwin11929
      We're looking for a Unity (C#) Programmer for our 2D Project. We're looking for a new lead programmer to continue with an existing project.
      Project is an open-world RTS, and is very close to a prototyping (playable) phase. Our existing lead, unfortunately, has no more time for the project, and thus we are in search of a new one who is interested.
      Game is purely fantasy based, and we'll be able to give you much more detailed info about the project as we begin to work you into it.
      You'll be working with our junior developer, who has been here since the beginning.
      Primary skills needed are just being able to work within Unity. But skills within XML are also a plus.
      Our list of major goals we'd need you to do is minimal, yet still fairly extensive:
      -Edit our current Pathfinding system to account for a few extra features.
      -Setup our global map system. You’ll be working off an existing random node-map web generator and existing random map generation system and essentially linking the two together. This includes handling random spawns (which has already been semi-setup) unique to each node’s respective map.
      -Further implementation of an existing random spawning algorithm (used to spawn things like enemies randomly across the Map).
      -Making sure to Save and Record all respective aspects of what was mentioned above.
      -Handling our XML database- database is created, but we’ll need to be integrating it. This includes all various things from units to abilities and so forth. Will also need to handle implementing an object’s unique attributes we cannot take care of within XML.
      -Various Content Implementation (to be done once our XML has been integrated).
      -Various Saving and Recording of all respective aspects of the database info mentioned above.
      -Various Performance Enhancements.
      -Potential for various misc things, such as further UI work.
      -Setting up a Menu system.
      We have a considerable amount of things done already- however I must warn ahead of time we have quite a bit of unclean code, which may be fairly overwhelming for a new developer on the project.
      Let me know your rates per hour, and we'll see if we can work out a good deal between both of us. Royalties are also included.
      If interested, send an email to: eldwin11929@yahoo.com
    • By jhocking
      My bestselling and highly recommended Unity book has been fully revised! Unity in Action, Second Edition teaches you to write and deploy games with the Unity game development platform. You'll master the Unity toolset from the ground up, adding the skills you need to go from application coder to game developer.

      Foreword by Jesse Schell, author of The Art of Game Design

      Don't take my word for it being good, look at the sky-high ratings on GoodReads.

      You can order the ebook directly from the publisher's site, or order the book on Amazon to get both the physical book and a coupon to download the ebook!
    • By ThunderTwonk
      Hello everyone, I am working on a game idea and since I am still in the process of learning C# and the features available in unity I was hoping some of you might be able to offer me a little insight on things in general for getting started.
      I guess the basic components of what I'm wanting to create would be a Multi-levels management/city builder/rpg.
      The goal is to provide a framework for players to interact with, build in and affect the world both from a 3rd person action RPG as well as a zoomed out 4x style view (This would be something unlocked through gameplay)
      As for my questions go I was wondering if anyone had resources that could help me learn.  I've been on youtube as well as enrolled in an online course for basic unity and C# and will continue those but if anyone has any words of advice, a place that has good information and tutorials etc.
      Thanks for your time.
    • By Cahit Karahan

      Hi, I'm new in this forum. It is honorable to see such communities exist. I would like to share my new game. I did for android with unity. I know the game is a little awkward , but you have to know that this game is from the time when Unity's name is Unity3D  I have made my first game when I was 12. Now I am 22.  I have taken a lot of experience in this process and I can make better games nowadays. I have published this game nowadays but actually this game is very old but also it is very special for me :))
      I have just wanted to retouch and share this game, because it has a very important place for me.

      It's a special free 3D horror adventure action game for the halloween. Fun with scary sound effects and musics, 3D realistic graphics, you will feel the horror in the deep of your heart. Use your reflex. Totally free adventure. Totally scary horror game. 

      Tamarra, she is a beast from our world. She needs to consume souls from innocent people to stay alive. Story begins, the old Elaris tribe had lost their everything because of this beast who lived in the well. Araknas was the most powerful warrior of the tribe. One day, Araknas's mother was killed by the servant beasts of Tamarra. That's how Araknas's journey to the well begins. Tamara's well is guarded by horrible beasts. Araknas has to pass all servant beasts until he reaches Tamarra.

      Even death at the end is worth the revenge. 
      Are you brave enough to jump into Tamarra's well?

      Survive from witch attacks, clown attacks and many scary creature.

      - Realistic 3D graphics.
      - Scary sounds.
      - Scary musics.
      - Best experience with headphones.
      - A demon cage where you can imprison all the demons one by one
      - The witches do not like help, but they love blood stone. Witch store where you can develop your abilities and get new abilities.
      - Countless beasts.
      - At the end of the well there is a hidden surprise for you.

      *We do not recommend this game to people with clown phobia, spider phobia, or panic attacks.*

      **!!!**Note : This game is an early-access game, we are upgrading new features every day, new beasts, new improvements, as an example online 1vs1 fall on the list, so stay on connect and follow Halloween : Horror Well on Google Play.**!!!**

    • By INFRA
      SCAN. DRILL. SURVIVE.   ISOLATED Release in May 1st 2018   https://store.steampowered.com/app/805950/Isolated/   A game by Jérémie Bertrand Music & Sound Design by Pierrick Querolle *** Our solar system has been invaded by strangers. For the purpose of a possible negotiation, a team of astronauts is sent to the moon. Alas, they are shot before even arriving on the scene. Only one astronaut survives the crash and his only goal will be to go home...   GAMEPLAY   Shoot enemy ships to avoid being invaded. Be precise in your movements, because it's better to lose a bit of life at the top than to lose it all at the bottom. Take out your drill to destroy the stones in your path. Validate your identity to cross the different laboratories. Reach the flag before losing your three lives.   And all that... at the same time! Will you be able to go home? If the answer is yes, how long will it take?
  • Advertisement
  • Advertisement
Sign in to follow this  

Unity Help me understanding Svelto ECS

This topic is 659 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

So far I have downladed this new ECS framework and runned the example successfully, I've been following the blog of its author and readed all blog posts related to ECS and IOC from 2 to 10 times. But I'm still missing something about Svelto ECS,

I really like the idea of the author of storing the events inside entities, however I don't get what Nodes are and how should I introduce the concept of nodes when designin Entities and components,

In old-fashion ECS systems I do just design entities made of components, and I refine what components are needed until I get to a very essential set, then I design systems, I polish, I eventually change entities and so on..

But here we have nodes, how do Svelto know wich Implementors to instantiate  inside each Node? and how do I design that?, seems that partially the design of the framework was done to workaround Unity3D design issues, however I feel I'm missing something essential that goes beyon the mere Unity3D design and the fact of storing events inside entities. I've been on the issue weeks, so I don't expect a quick answer (unelss of course you already use that framework or you are the author )

the gituhub link:

Edited by DemonDar

Share this post

Link to post
Share on other sites

<disclaimer>I have not used this framework and I have not used Unity either, so I could be way off base here.</disclaimer>


Through the github link you provided I found this article: http://www.sebaslab.com/ecs-1-0/

And the key phrase in there seems to be this:



Nodes are a way to map Components inside Engines


It then goes on to elaborate on that in more detail.


Having read it myself I think I have an understanding on the concepts being discussed. So here's my explanation to you:

It is common for "systems" (or "engines" as they are known here) to need to access multiple components per entity. For example an EnemyEngine might need to access a Health component, an Ammo component and a Positioning component. This creates at least a 1-to-many relationship between Engines and Components. (In fact once you share components among several engines that turns into a many-to-many relationship - but only the 1-to-many side of it need be modeled).
Their solution to this problem is the Nodes concept. They represent that 1-to-many relationship as a Node object and that object might hold several components within it. Then they simply have a 1-to-1 relationship between Engines and Nodes. It also means an Engine need only manage a single object which fully embodies the relevant aspects of an entity.
Going further, I would imagine that a Node could slightly abstract over the components if it so wished. For example an EnemyNode might have a shoot() method which deducts from the Ammo component and uses the Positioning component to decide where to spawn a bullet entity. This provides a higher-level and more engine-specific API for the EnemyEngine to use, rather than it having to dig in and drive the components directly. Now the EnemyEngine can concentrate on just the AI logic itself and the menial details of keeping components in-sync is offloaded to the Node concept.
That's my take on it anyway. Hope it helps.
Edited by dmatter

Share this post

Link to post
Share on other sites

thanks that makes much sense. but then how are implementors mapped to nodes?, it should handle the case where implementor have X,Y,Z components while the node says X,Y,A.

Edited by DemonDar

Share this post

Link to post
Share on other sites

From the article I linked to before where they talk about EntityDescriptors we can see that it is these descriptors which are responsible for defining the various Node types that comprise an Entity; it also takes an array of Component implementors through its constructor.


As far as as a user of this library is concerned that's all there is to it: The EntityDescriptors are where we map implementors to nodes and the underlying magic of the framework takes care of the rest.


If you want to know how that magic works under the hood then we go back to Github and take a look at the EntityDescriptor source code. We can see that from line 37 it processes the assignment of Components to Nodes and on line line 64 it will throw an exception if a component required by a Node is not satisfied by any of the implementors. So if a Node says X,Y,A and the implementors only have X,Y,Z then 'A' is not satisfied and the framework will politely blow up in your face with an exception  :wink:

Edited by dmatter

Share this post

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

  • Advertisement