Adrian Papari

Results 25 comments of Adrian Papari

Might want to deprecate some things too (`@EntityDescriptor` comes to mind). I also think entities should only be inserted/removed from systems at the end of `World::process` - this would simplify...

I'll take a closer look tomorrow, but I think it's intentional. IIrc - only clean-up/callback when entity has been purged by the EntityManager, otherwise entities may be evicted prematurely (ie;...

Ah, sorry, purge as the final step in `world.process()` - ComponentManager and EntityManager purging/resetting: ```java public void process() { invocationStrategy.process(); IntBag pendingPurge = batchProcessor.getPendingPurge(); if (!pendingPurge.isEmpty()) { cm.clean(pendingPurge); em.clean(pendingPurge); batchProcessor.purgeComponents();...

Ouch. Yeah, sounds like a bug with impl.

Yeah, I need to brush up on the inner workings as well... (a testament for the need for good documentation!)

> At the end I want something like this: > param: Engine/PooledEngine In my experience, typical usage is to save a subset of entities. > I think it would be...

> Occasionally, you want custom serialization/deserialization logic eg. As long as the underlying serialization framework exposes a means of supplying serializers, or maybe put an interface on the component, it...

> The client can customize component, system and listener serialization using json.setSerializer() And, per default - implementing `Json.Serializable` would also be an alternative. > - Do we wan to serialize...

We have a SerializationTag component (not to be confused with some global tag id). When loading, the object wrapping the entities also builds key:entity lookup map. I'll see if I...

> It's simpler now and it includes an EngineSerializer that works with both Engine and PooledEngine as well as an EntitySerializer. I took a quick look. I like the design,...