Chapter 9. Even Angrier Birds!
Welcome to this chapter! I hope you enjoyed the previous chapter and are making your own games resembling Angry Birds. I also hope you used everything you learned in the previous chapters to really make it into a fully formed game.
In this chapter, we will cover a technique that will hopefully help you when you find yourself creating lots of instances of a certain type of object that are generally short-lived. We will look at object pooling and how LibGDX can provide the tools to help us use them. In this chapter, we'll take a look at the following topics:
- The how, what, and why of object pools
- Hey, look at all these acorns!
The how, what, and why of object pools
Object pooling is the principle of reusing inactive or ...
Get LibGDX Game Development By Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.