The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
79 views

Entity System and “composite” entities

I'm new to the Entity Component System pattern and there's something I cannot figure out. Let's say I have the following entity: Player: { Components: [ Position: { x: 0, ...
0
votes
0answers
24 views

Why are my components empty in my Entity-Component Model Javascript/Phaser implementation?

I'm developing a game in JavaScript using the Phaser framework, I'm trying to implement the entity component model so that all my objects can be Entities, so far I've got an Array of entities that ...
0
votes
0answers
73 views

Avoiding circular referencing using a Finite State Machine in a Component Based Architecture

While answering this question, I realised I had made the same mistake in my own code for a game I am writing using an Entity-Component System. The problem arose when I decided to use a Finite State ...