Summary
In this chapter we have learned how to manipulate Actor objects using the Actions class. We discussed and used several complex chains of actions in Canyon Bunny's menu screen which greatly demonstrate the power and flexibility of actions. Furthermore, we now know that the Interpolation class can also be used with those actions for added effects.
Apart from that, we have covered the Animation class and used the texture packer's support for packing animation frames which makes it easier to handle in the code. In addition to this, we have learned about the different play modes provided by the Animation class. Finally, we have implemented a state machine that is able to handle all events to trigger the right bunny head animations at the right ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access