Slick Forums

(updated) artemis-odb 0.5.0
Page 1 of 2

Author:  junkdog [ Sat Oct 26, 2013 9:38 pm ]
Post subject:  (updated) artemis-odb 0.5.0

updated 2013-11-28
Figured the new release didn't warrant a new thread, considering how little activity this forum fosters nowadays.

artemis 0.5.0 and agrotera 0.3.0 was released last Sunday. I'm a little lazy, so forgive me for pointing you to the thread I created over at JGO earlier today: artemis-odb 0.5.0 and agrotera 0.3.0

Highlights for 0.5.0:
- Changed artemis to a multi-module project (the `artemis` folder is the old root).
- Entity instances are recycled.
- New component types, `PooledComponent` and `PackedComponent`.
--- Optionally transform components with `@PackedWeaver` and `@PooledWeaver` by configuring the `artemis-odb-maven-plugin`.
- New method `Entity#createComponent(Class<Component>)`.
- Annotation processor validates pooled and packed component types.
- Managers support `@Mapper` annotation.
- No longer necessary to stub `Manager#initialize()`.
- `GroupManager#getGroups` returns an empty bag if entity isn't in any group.
- `World#dispose` for disposing managers and systems with managed resources.
- Fix: DelayedEntityProcessingSystem prematurely expired entities.
- Fix: Recycled entities would sometimes have their components cleared when
recycled during the same round as the original entity was deleted.
- Fix: GroupManager avoids duplicate entities and removes them upon deletion.

original thread
artemis-odb 0.4.0 was recently released. Actually, it was released almost a month ago, but I'm quite slow sometimes.

This one aims to:
  • Maintain original API's ease-of-use.
  • Fix bugs present in original artemis.
  • Reduce memory allocations.
  • Extend with new functionality without breaking original API, wherever possible.
  • Do whatever fancy stuff behind the scenes, ie; keep it simple to the outside world.

Up until now, the main focus has been to resolve existing bugs and reduce memory allocations. We believe
that 0.4.0 is the first release to fix all known bugs, as reported on this forum and the issue tracker. The latest version
is also fully API-compatible with the orignal artemis.

Special thanks to lopho for making numerous commits leading up to 0.4.0.

Artifacts available in maven:

The next feature release, 0.5.0, introduces entity and component pooling, plus array-packed component types.
There are some minor API-changes, but existing code works the way it used to.

Author:  tescott [ Sun Oct 27, 2013 5:16 am ]
Post subject:  Re: artemis-odb 0.4.0

I think it's great you are keeping things alive! Keep up the great work! I plan on investigating / using your fork on my next project.


Author:  junkdog [ Sun Oct 27, 2013 11:08 pm ]
Post subject:  Re: artemis-odb 0.4.0

Cheers! Let me know how it goes.

Author:  hefty [ Mon Oct 28, 2013 10:46 am ]
Post subject:  Re: artemis-odb 0.4.0

Thank you for keeping artemis alive!
I am using your lib in my current game as well :)

Author:  junkdog [ Tue Oct 29, 2013 12:22 am ]
Post subject:  Re: artemis-odb 0.4.0

Cool ;), let me know if you want your game listed in the readme on github.

Author:  Steelsmasher [ Sun Nov 03, 2013 10:18 pm ]
Post subject:  Re: artemis-odb 0.4.0

Is there a way I could download it as a jar file?
I've already started using artemis and all I want to do is plug this in. Woould be very helpful.

Author:  junkdog [ Sun Nov 03, 2013 10:52 pm ]
Post subject:  Re: artemis-odb 0.4.0

Sure, you can download it from maven's repositories directly: ... odb/0.4.0/

You only need artemis-odb-0.4.0.jar, but the -source and/or -javadoc jar might be useful too.

Author:  Steelsmasher [ Sun Nov 03, 2013 11:47 pm ]
Post subject:  Re: artemis-odb 0.4.0

Thanks, it worked perfectly. And I'm glad you fixed some of the spelling mistakes.

Author:  junkdog [ Mon Nov 04, 2013 12:04 am ]
Post subject:  Re: artemis-odb 0.4.0

Cheers. Most of the updated docs are thanks to lopho though; nothing I can take credit for ;)

Author:  Steelsmasher [ Mon Nov 04, 2013 1:05 am ]
Post subject:  Re: artemis-odb 0.4.0

Btw do IntervalEntitySystems work at all?
No matter which value I set them at they seem to process at every frame.

Author:  junkdog [ Mon Nov 04, 2013 9:56 am ]
Post subject:  Re: artemis-odb 0.4.0

Hmm, they should work - which unfortunately has no bearing on whether they actually work. I'll look into it today or tomorrow after work.

There was a bug with DelayedEntityProcessingSystem, it's possible that a similar bug affected IntervalEntitySystem, though I'm pretty sure it does work.

IntervalEntitySystem expects a float value expressing seconds between processing.

Author:  Steelsmasher [ Mon Nov 04, 2013 2:54 pm ]
Post subject:  Re: artemis-odb 0.4.0

Yup sorry, I've just looked at the source and realized it uses the checkProcessing to time executions. I thought checkProcessing merely enabled the system, so I set it to true.

Anyway, I'm happy to see I can finally get iterators from bags. Makes my code a bit neater.

Author:  junkdog [ Tue Nov 05, 2013 10:21 am ]
Post subject:  Re: artemis-odb 0.4.0

Ah, nice - saves me from going off on a bug hunt ;)

Author:  junkdog [ Thu Nov 28, 2013 8:26 pm ]
Post subject:  Re: (updated) artemis-odb 0.5.0

*release bump*

Author:  TriangleMan [ Tue Dec 24, 2013 4:01 am ]
Post subject:  Re: (updated) artemis-odb 0.5.0

Hey I just want to say thanks for supporting Artemis! I ran across it a couple weeks ago and lamented a bit at the date of the last update. I just started fooling around with libgdx and Artemis seemed super convenient. Since I noticed artemis-odb I've decided to go back and use it in my next project.


Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group