Questions tagged [entities]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
950 views

IConvertGameObjectToEntity interface on Unity ECS

Was working on ECS and following the tutorials by Mike Geig in Unite Copenhagen on YouTube(https://youtu.be/BNMrevfB6Q0), and understood that unity automatically converts transforms, mesh renderers ...
0
votes
2answers
786 views

Implementations for storing entities in an ECS system

I'm restructuring my model of entities, components and systems, where entities are: ...
0
votes
1answer
63 views

Does a Standard Exist for Game Entity View Frustums

I was just recently adding the ability for my in-game entities to have their own Frustums, with the intentions of making them able to see enemies later down the road of my development cycle. My custom ...
0
votes
1answer
75 views

Ideas for refactoring regarding simple state management in entities and level

I'm actually developing a very simple 3D game, Arkanoid/Breakout style, with very simple mechanics, and it's progressing while I learn the game dev domain own concepts and techniques (My background is ...
1
vote
2answers
895 views

Organizing Setup(), Update() and Draw() function in a game engine

I'm creating my first game engine and I want help with organizing the Setup(), Update() and Draw() functions in the correct way. Here is how my main() function looks like ...
2
votes
2answers
700 views

Assigning IDs to entities and obects for use in scripts and by other objects

I'm currently planning a small, simple scripting system for my game engine that will allow me to easily define scenes (similar to the "cutscenes" found in 2D RPGs). It consists mainly of simple ...
0
votes
2answers
331 views

Creating Entities from Identifiers (C#)

I am writing a game in C#/XNA. Often, it's useful to have a function like this in a game engine: ...
0
votes
1answer
155 views

Crafty - How to get the id of the collision element?

As the topic says, I want to know how to get the ID of an active colliding entity. My Player Entity is called with Crafty.e("Player") Please notice, that I do ...
1
vote
2answers
927 views

How do I create a sound manager? [closed]

I have a basic entity system in place. Now I want to add audio. I want to make a database class that watches over entities, pulls data out of them, and creates audio streams whenever necessary. I'm ...
2
votes
1answer
306 views

MMORPG Entitiy handling on different maps

Is this a good approach for a MMORPG entity handling on different maps? Map Structure and entity existece: A map is basically a parent node in a scene graph. There's one map for each town, room etc. ...
-2
votes
1answer
170 views

Will this Entity Code work? [closed]

How do you create 2D entities? Here is something i tried to write up as a base for entities but is this usable and is entites like this?: ...
7
votes
3answers
6k views

What's a good entity hierarchy for a 2D game?

I'm in the process of building a new 2D game out of some code I wrote a while ago. The object hierarchy for entities is like this: Scene (e.g. ...