Tagged Questions
11
votes
4answers
3k views
Game engine with good Lua entity creation/management [closed]
I'm looking for an engine that constructs it's entities using Lua or other scripting language. This is in order to find inspiration and do it in my own engine as well.
I know that Cryengine does use ...
10
votes
5answers
587 views
Why place entity config outside of scripts?
I've seen a lot of games that define the entity components in script files, but when they configure each entity and specify what components it has, they use some other file format (like XML). Why do ...
7
votes
2answers
833 views
Handling scripted and “native” components in a component-based entity system
I'm currently trying to implement a component-based entity system, where an entity is basically just an ID and some helper methods tying a bunch of components together to form a game object. Some ...
4
votes
2answers
286 views
Storing Entity Meta-Data
The question is about how to handle data about entities, but not particularly useful to the entity itself. An example of such data may be the external script that controls the entity's behavior or the ...
3
votes
1answer
277 views
Entity position: In map or in script?
I'd like to know how others have handled the issue of storing the entity's position. (Or maybe it's not an issue and I just make it too complicated.)
I'm undecided on whether to store the position of ...
2
votes
2answers
117 views
How might I script the creation of CLR objects?
I am looking for a method to script the creation of entities (arrays of components) for delivery through my entity factory, i.e scripted creation of .net objects.
I have looked into Lua but it seems ...