CHAPTER 19
This chapter covers the creation of the graphics and code for weapons and projectiles in DotGame. You’ll start with arrows, which are lightweight weapons used by Dottima to damage her enemies. Then, you’ll create bombs, which are much more powerful and can destroy most enemies in a single explosion. You’ll also use Particle Systems in Unity to help animate the bomb animations.
Arrows
Before you even begin to design the arrow graphics you need to think about how they will be used in the game. You’ll keep things simple graphically by having non-animated arrows going horizontally or vertically. They will be shot by Dottima and she’ll magically shoot them without a bow. The arrows will simply be carried by her ...
Get 2D Game Development with Unity 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.