All posts by David Saltares

Ashley 1.3.2 released


More features, bug fixes and improvements for Ashley entity framework on this new release.

  • API addition: we now use a builder pattern to create Family objects. More about it on the wiki.
  • API addition: new SortedIteratingSystem by Lusito.
  • API addition: now ImmutableArray implements the Iterable interface, which makes it a lot easier to iterate over entity collections.
  • Bug fix: avoid double entity removal by accident.
  • Bug fix: fixes StackOverflowError when processing entity operations.
  • Bug fix: fixes freeze when calling removeAllEntities().
  • Improvement: we made a bunch of changes that increase performance.

The new nightly dependency is com.badlogicgames.gdx:ashley:1.3.3-SNAPSHOT.

Big thanks to our awesome community!

Upcoming talk at Kingston University


I’ll be delivering a small presentation to the games development students at Kingston University of London on Monday November 24th. The reason behind the talk is the recent publication of our Libgdx Cookbook, which is why I will be giving away two hard copies! Come along to hear me preach about all Libgdx things.

Naturally, I’ll post the slides here for whoever’s interested.

We have a Libgdx Cookbook winner!

libgdx cross platform development cookbook

To celebrate the release of our Libgdx Cross-platform Game Development Cookbook we announced a raffle on Twitter earlier this week. A few RTs later and a random number generation, the winner is…

Rafael Giordanno

Congratulations, we’ll get in touch with the winner to send him his paperback copy.

Here’s proof that everything was legit:

Get a free Libgdx Cookbook!

In order to spread the good word of Libgdx Cross-platform Game Development Cookbook, Alberto and I suggested Packt Publishing the idea of a raffle.

Simply give us a retweet to enter the giveaway. We’ll announce the winners on Friday 7th November.

Good luck!

Libgdx for Cross-platform Game Development Cookbook is out!

libgdx cross platform development cookbook

After over a year of long hours after my day job, sweat, blood and tears, my colleague Alberto Cejas and I are extremely proud to announce that our Libgdx for Cross-platform Game Development Cookbook has finally been published.

The cookbook has over 75 practical recipes on how to get stuff done with Libgdx. It covers pretty much everything: graphics, input, audio, physics, maps, deployment and third-party extensions among many, many more. Far from being a dumbed down guide, it offers content ranging from basic to advanced. A good chunk of it you won’t find anywhere else.

Conveniently, you can get a DRM free e-book copy or go for the physical edition, which also includes the digital one. Additionally, you can get physical copies from Amazon. All the source code can be downloaded from both the publisher’s website and our GitHub repository. We’ll do out best to maintain the later so it works flawlessly with the latest Libgdx version.

It’s been a hell of a ride with plenty of ups and downs. We are happy with the result, have high hopes on the project’s success and are eager to get some feedback from readers.

Many thanks to those of you who have shown interest in the project and even pre-ordered it. The response has been really positive!

Also, thanks to all our technical reviewers, you greatly helped improved the final result with your feedback.

Lastly, special thanks to Mario and the Libgdx team for fostering the best open source game development framework and community. Needless to say, this book wouldn’t exist without them.

Happy coding!