Slick Forums

Discuss the Slick 2D Library
It is currently Sun Oct 20, 2019 9:57 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sat Oct 26, 2013 9:38 pm 
Offline

Joined: Sun Jun 03, 2012 9:21 pm
Posts: 49
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:
Code:
<dependency>
    <groupId>net.onedaybeard.artemis</groupId>
    <artifactId>artemis-odb</artifactId>
    <version>0.4.0</version>
</dependency>


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.

_________________
agrotera: bytecode-weaving antiboilerplate lib for artemis. | artemis-odb: bugfixing and performance optimized fork.


Last edited by junkdog on Thu Nov 28, 2013 8:25 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Sun Oct 27, 2013 5:16 am 
Offline

Joined: Sun Aug 05, 2012 3:37 pm
Posts: 24
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.

--tim


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Sun Oct 27, 2013 11:08 pm 
Offline

Joined: Sun Jun 03, 2012 9:21 pm
Posts: 49
Cheers! Let me know how it goes.

_________________
agrotera: bytecode-weaving antiboilerplate lib for artemis. | artemis-odb: bugfixing and performance optimized fork.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Mon Oct 28, 2013 10:46 am 
Offline

Joined: Mon Oct 28, 2013 10:41 am
Posts: 4
Thank you for keeping artemis alive!
I am using your lib in my current game as well :)


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Tue Oct 29, 2013 12:22 am 
Offline

Joined: Sun Jun 03, 2012 9:21 pm
Posts: 49
Cool ;), let me know if you want your game listed in the readme on github.

_________________
agrotera: bytecode-weaving antiboilerplate lib for artemis. | artemis-odb: bugfixing and performance optimized fork.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Sun Nov 03, 2013 10:18 pm 
Offline

Joined: Sat Feb 02, 2013 12:44 am
Posts: 17
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.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Sun Nov 03, 2013 10:52 pm 
Offline

Joined: Sun Jun 03, 2012 9:21 pm
Posts: 49
Sure, you can download it from maven's repositories directly: http://repo1.maven.org/maven2/net/oneda ... odb/0.4.0/

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

_________________
agrotera: bytecode-weaving antiboilerplate lib for artemis. | artemis-odb: bugfixing and performance optimized fork.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Sun Nov 03, 2013 11:47 pm 
Offline

Joined: Sat Feb 02, 2013 12:44 am
Posts: 17
Thanks, it worked perfectly. And I'm glad you fixed some of the spelling mistakes.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Mon Nov 04, 2013 12:04 am 
Offline

Joined: Sun Jun 03, 2012 9:21 pm
Posts: 49
Cheers. Most of the updated docs are thanks to lopho though; nothing I can take credit for ;)

_________________
agrotera: bytecode-weaving antiboilerplate lib for artemis. | artemis-odb: bugfixing and performance optimized fork.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Mon Nov 04, 2013 1:05 am 
Offline

Joined: Sat Feb 02, 2013 12:44 am
Posts: 17
Btw do IntervalEntitySystems work at all?
No matter which value I set them at they seem to process at every frame.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Mon Nov 04, 2013 9:56 am 
Offline

Joined: Sun Jun 03, 2012 9:21 pm
Posts: 49
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.

_________________
agrotera: bytecode-weaving antiboilerplate lib for artemis. | artemis-odb: bugfixing and performance optimized fork.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Mon Nov 04, 2013 2:54 pm 
Offline

Joined: Sat Feb 02, 2013 12:44 am
Posts: 17
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.


Top
 Profile  
 
 Post subject: Re: artemis-odb 0.4.0
PostPosted: Tue Nov 05, 2013 10:21 am 
Offline

Joined: Sun Jun 03, 2012 9:21 pm
Posts: 49
Ah, nice - saves me from going off on a bug hunt ;)

_________________
agrotera: bytecode-weaving antiboilerplate lib for artemis. | artemis-odb: bugfixing and performance optimized fork.


Top
 Profile  
 
PostPosted: Thu Nov 28, 2013 8:26 pm 
Offline

Joined: Sun Jun 03, 2012 9:21 pm
Posts: 49
*release bump*

_________________
agrotera: bytecode-weaving antiboilerplate lib for artemis. | artemis-odb: bugfixing and performance optimized fork.


Top
 Profile  
 
PostPosted: Tue Dec 24, 2013 4:01 am 
Offline

Joined: Tue Dec 24, 2013 12:04 am
Posts: 3
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.

Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group