Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Libgdx Cross-platform Game Development Cookbook
  • Table Of Contents Toc
Libgdx Cross-platform Game Development Cookbook

Libgdx Cross-platform Game Development Cookbook

4.8 (18)
close
close
Libgdx Cross-platform Game Development Cookbook

Libgdx Cross-platform Game Development Cookbook

4.8 (18)

Overview of this book

If you want to make cross-platform games without the hassle and dangers of writing platform-specific code, or If you are a game programmer who may have some experience with Java and you want to learn everything you need to know about Libgdx to produce awesome work, this is the book for you. To take full advantage of the recipes in this book, you are expected to be familiar with java with good game programming knowledge.
Table of Contents (15 chapters)
close
close
14
Index

Creating a new test for your fresh feature


Plenty of ideas related to Libgdx would have been raised in your head as you read this book. Now is the time to let your creativity loose and contribute, but first, you must check that your fresh idea really works.

Libgdx comes with its own testing environment that gives you several facilities to get your feature running sooner.

Getting ready

In this recipe, we will suppose that you want to add a new feature to the official Libgdx project, so it needs to be imported into your Eclipse workspace. If you do not know how to do it, please take a look at the Using source control on a Libgdx project with Git recipe of Chapter 1, Diving into Libgdx.

How to do it…

All the tests are gathered from the directory at https://github.com/libgdx/libgdx/tree/master/tests/gdx-tests/src/com/badlogic/gdx/tests.

If you play around with some of them, it will not take too much to realize that the common factor is to extend GdxTest, which is placed within the utils folder. Basically...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Libgdx Cross-platform Game Development Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon