Category Archives: Games development

Libgdx Cookbook samples updated to support Libgdx 1.6.0

libgdx cross platform development cookbook

Haven’t bought Libgdx Cross-platform Game Development Cookbook yet? Stop reading and go get it!

Quick update to inform you that I just updated the samples repository to use Libgdx 1.6.0 and Ashley 1.5.0, both recently released. Libgdx 1.6.0 introduces changes in our font rendering API, which require a few minor tweaks to the framework calls, nothing major.

7 months after the release of the book, we continue to support it. Rest assured, it is the most up to date Libgdx publication at this point in time.

Thanks for your support!

Ashley 1.5.0 released

ashley-small

Thanks to the contributors, here’s a new version of Ashley, which now stands at 1.5.0.

A new version of , your favourite component based entity framework is out. The version comes with a bunch of bug fixes that, hopefully, will iron out some of the rough edges in Ashley.

  • API addition: adds getFamily() method to IntervalIteratingSystem and IteratingSystem.
  • API change: IntervalSystem‘s update() method is now final, as it doesn’t make sense to override it.
  • Update: updated Libgdx version to 1.6.0.
  • Enhancement: allows IntervalSystem to update faster than the main loop.
  • Enhancement: improved hashCode() and equals() implementation of Family.
  • Bug fix: fixed GWT build and made a Jenkins job to make sure we also test GWT integrity.
  • Bug fix: empty Family now matches empty entities.

To use it, change your dependency to com.badlogicgames.gdx:ashley:1.5.0. The new nightly dependency is com.badlogicgames.gdx:ashley:1.5.1-SNAPSHOT.

As usual, all unit tests are passing and the wiki is up to date. Please keep up the good work sending more pull requests and reporting bugs.

Libgdx Cookbook samples updated

libgdx cross platform development cookbook

It’s been a few months since Libgdx Cross-platform Game Development Cookbook came out. Quite a few things have happened since then in the Libgdx world, libraries are updated and some things break over time.

As promised, we have updated our samples repository to use the latest versions of Libgdx (1.5.5), Ashley (1.4.0), gdx-ai (1.5.0) and RoboVM (1.0.0) among others. Luckily enough, only a few changes were necessary to make everything work again.

I’m very pleased to see that, 5 months after the book came out, it’s still as relevant as it was on launch day. Moreover, people seem to like it!

This cookbook is certainly a great resource for learning and improving your libgdx skills and in my opinion it is the best book on libgdx at the moment […]

Ashley 1.4.0 released

ashley-small

A new version of Ashley, your favourite component based entity framework is out. The 1.4.0 version comes with a bunch of bug fixes that, hopefully, will iron out some of the rough edges in Ashley.

  • API deprecation: finallt removed the Family.getFor() methods. In order to retrieve a family, you can do Family.all().one().exclude().get().
  • API change: makes family Builder package protected.
  • Bug fix: EntityOperation and ComponentOperation are now properly reset when put back into their pools. This doesn’t affect the API at all and it’s an implementation detail fix.
  • Bug fix: fixes PooledEngine always returning new components.
  • Bug fix: fixes GWT build.
  • Bug fix: avoids removing a PooledEntity twice.

To use it, change your dependency to com.badlogicgames.gdx:ashley:1.4.0. The new nightly dependency is com.badlogicgames.gdx:ashley:1.4.1-SNAPSHOT.

As usual, all unit tests are passing and the wiki is up to date. Please keep up the good work sending more pull requests and reporting bugs.

Libgdx at the LJC: slides and video

full_88286

Yesterday, I had the pleasure to deliver a talk about Libgdx at the London Java Community Meetup. To my surprise, there was a pretty decent turnout. The audience was lovely, seemed engaged and asked quite a few questions. No awkward silence at the end…

Woohoo!

Thanks a lot to everyone who attended, and to the organisers who made it possible. We must catch up next time at the pub afterwards!

If you’re in the London area, you should definitely join the Meetup group and attend some of the talks. The atmosphere is friendly and there’s at least one every week, the next ones are on Ceylon and design patterns.

Here’s the video and the slides: