Questions tagged [entity]
The entity tag has no summary.
47 questions
0 votes
0 answers
100 views
Entites are not rendering
I stuck in the problem that my entites are not showing. I found Entities graphic rendering sample for runtime it perfectly worked. But when i am integrating its code, there is no luck. Please tell me ...
0 votes
0 answers
53 views
Entity initialization in an online game
How do online games handle creation of new entities? I currently have an EntityFactory class that requires an ID (specifying the entity type). A bunch of subroutines are executed to determine exactly ...
0 votes
1 answer
569 views
Cannot decide between using a MessageBus and entities for events in my ECS game
For example, let's say that the player walks into an enemy and in response, a chain of events should occur (such as: his score goes up, the enemy dies, a cinematic starts, etc.) I see two "proper&...
1 vote
1 answer
2k views
Is there a way to make the enemy start its pathfinding once the player is in a certain distance than the enemy
I am currently using A stars' pathfinding code here: https://arongranberg.com/astar/. So I didn't create any scripts, and used the scripts provided by astar. But the problem here is that even though ...
1 vote
1 answer
985 views
How can I make an entity invulnerable to fall damage?
I've been using minecraft forge 1.12 to make a mod that gives the user super-jumping abilities. However, I've been having trouble making the player invincible to fall damage. I've tried to use a ...
0 votes
1 answer
197 views
Java - Entity Collision only working for last index of the Entity Array
I am in the early stages of creating a Java 2d platformer / sidescroller game where the Entity class requires (at this point) basic Rectangle bounds collision detection. In my code I check to see if ...
1 vote
2 answers
2k views
Should entities auto-register to systems based on their component signature?
I see all the upside in entities registering automatically for basic components. If an entity has a Renderable component, it should be registered to a list that's used by a Renderable System. If an ...
1 vote
2 answers
480 views
The most correct/efficient way to update millions of entities that change over time in an mmo?
We have a server and a database in the cloud. We have a game where each player can grow a farm on a massive x,y grid. Each hour is a grow cycle. All players can harvest anyone's plants. Player A ...