Skip to main content

Questions tagged [entity]

0 votes
0 answers
100 views

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 ...
Muhammad Faizan Khan's user avatar
3 votes
1 answer
161 views

I have a number of entities running around in my game, and I am running into a headache trying to design and implement a system for them to both generate and assign the tasks. More than anything else, ...
Raven Dreamer's user avatar
0 votes
0 answers
53 views

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 ...
Kaeru's user avatar
  • 3
0 votes
0 answers
1k views

Let's say we have three enemies, a bear trap, a fire trap, and a minotaur. When you walk over the bear trap, the game spawns an invisible entity that, upon the player colliding with it, slows the ...
Ryan Peschel's user avatar
0 votes
1 answer
571 views

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&...
Ryan Peschel's user avatar
1 vote
0 answers
265 views

I'm trying to determine all the items, crafting methods and recipes to put in my game, and the relationships between them. I need a tool that allows me to do this both top down (boat needs sails and ...
Teeracroptus's user avatar
1 vote
1 answer
2k views

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 ...
user avatar
1 vote
1 answer
3k views

I'm trying to get into Unity's Hybrid ECS feature. Creating and Manipulating Entities has worked fine so far for me, but somehow I can't find a viable option to delete Entities which works 100% of the ...
BloodEchelon's user avatar
1 vote
1 answer
986 views

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 ...
Picachieu's user avatar
  • 117
1 vote
1 answer
388 views

I have a multiplayer cooperative game (PVE) in where there can be up to 200 enemies at a time (somewhere around that) and I was wondering how devs generally synchronize these? I already have packets ...
justanotherdev's user avatar
0 votes
1 answer
198 views

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 ...
Ryan's user avatar
  • 41
3 votes
1 answer
456 views

Lately I've been looking into networking and sockets and made small test programs to get the basics down. So far I've made a TCP turn-based game from where I learnt a lot and helped me getting some ...
Dennis Björk's user avatar
1 vote
2 answers
2k views

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 ...
Danny Yaroslavski's user avatar
0 votes
0 answers
694 views

Say I have an entity that has these components: -Transformation -Visual Imagine that these components can nest: If I have a parent transformation component, a child transformation relies on the ...
Danny Yaroslavski's user avatar
1 vote
2 answers
481 views

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 ...
scranley's user avatar
  • 115

15 30 50 per page