Summary

In this chapter, we learned about physics in Unity and recreated the incredibly popular mobile game, Angry Birds. By using Unity's physics system, we are able to make all of the levels that we could ever want to play. With this game, we also explored options for creating a 2D game in a 3D environment. Our birds and slingshot are 3D assets, giving us the ability to light and shade them. The pigs and the background, however, are 2D images, reducing our lighting options, but can allow for some greater detail in the assets. The 2D images were also crucial in the creation of the parallax scrolling effect of the background. Finally, the building's blocks appear to be 2D, but are actually 3D blocks. We also created a level-selection screen. From ...

Get Unity Android Game Development by Example Beginner's Guide 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.