Namek / artemis-odb-entity-tracker

:game_die: Visual Entity Tracker for ECS library: artemis-odb
http://namek.github.io/artemis-odb-entity-tracker/
26 stars 5 forks source link

Synchronize attribute values of component #11

Open desenvolvedorindie opened 7 years ago

desenvolvedorindie commented 7 years ago

It's possible synchronize attribute values of component in window in every in update? Because if window is opened and the game update value of component attribute, the value in window is differente from real value

desenvolvedorindie commented 7 years ago

I think it's a big deal only update visual components values only for selected row of entity and component in grid

Namek commented 7 years ago

Hi, I had big plans for this but didn't make it yet. Implementing GUI in Java Swing is a pain in the butt when it comes to implementing custom controls or do something performantly with existing ones.

Actually, I work on another iteration of the software and definetely plan to do that but it'll take a long time. I do this making a client with Elm language. On top of that I have already developed a whole serializer to inspect objects more deeply than just primitive fields of components. You can read more about this on my blog. However, as I said, it will take a long time until it'll be usable.

What's more if you want to improve current published version (that treats only primitive fields) then go on but I suppose you'd have to go back in time to January. Next iteration is being worked on on another branches than master.

desenvolvedorindie commented 7 years ago

Very nice, I'll check the code and verify how I can help. Thanks