O'Reilly logo

LibGDX Cross-Platform Development Blueprints by Indraneel Potnis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Miscellaneous

This topic will cover how to add properties to the map components and how to add objects and tile animations to the map.

Custom properties

You can add custom properties to your map, which you can then use in your game while rendering. To add them, go to Map | Map Properties:

Custom properties

In the Properties pane, click on the + icon to add a new property:

Custom properties

A new dialog box will open, where you can give the property name:

Custom properties

After you give the property name and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required