Reader small image

You're reading from  Hands-On Game Development without Coding

Product typeBook
Published inNov 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781789538335
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Lucas Bertolini
Lucas Bertolini
author image
Lucas Bertolini

Lucas Bertolini has 10+ years' experience as a video game software developer. He has worked on three major projects: for Pollux Ltd. (Hong Kong) as a game developer and designer; for Schell Games (Pittsburgh, US) where he moved and worked as a developer until the project was completed; and for Globant as a developer. He has worked in technical education for 5+ years and has taught a variety of programming courses. He is the cofounder of NGA and Bytenarchy Studios, both digital services development companies that use Unity as their main technology. Lucas has written Hands-On Game Development without Coding, available from Packt.
Read more about Lucas Bertolini

Right arrow

A Bigger Challenge - The Boss

In the previous chapter, we read about the Chomper and the Spitter, which are the common enemies of this Game Kit, but is this enough? Of course not, we need to deliver a greater challenge, an enemy up to the game, bigger and stronger.

This is what we are going to learn in this chapter. In order to create a great game, we must finish this with a boss enemy, hence the reason why we are going to learn about its components and behaviors.

We will cover the following topics throughout the chapter:

  • The boss fight
  • Boss components
  • Boss configuration

2D Game Kit

The boss is one of the biggest, if not the biggest, challenge of a level. In this case, the Gunner will take this role:

The boss fight

Before we start the configuration of the Gunner, we must know what actions are taken through the fight. Let's open the Zone5 scene, which we can find in the Assets | 2D GameKit | Scenes folder:

We will have to play this encounter a couple of times until we feel we know the fight stages.

The encounter works as follows:

  • It starts with a cinematic, which we won't be using for other levels:
  • The enemy has a laser aiming at us, and after a certain amount of time, a ranged attack is made:
  • It also has a melee attack, in the form of a rayblast:
  • It has a shield, which...

3D Game Kit

In most games, the boss is considered one of the most tough, if not the toughest, enemies of the level. This will be our biggest enemy fighting challenge, and the Grenadier will take this role in the 3D Game kit:

The Boss fight

In Chapter 9, Enemy Logic – Basic AI, we created an FSM diagram based on the Grenadier behavior while fighting. If we are having trouble remembering how the fight went, don't worry, because the main events will be explained next. What can we tell about this confrontation?

Lets see what happens:

  1. It starts when we enter the stage; two Grenadiers are waiting for us:
  1. We will realize, because of the SFX, that they will be scanning us, and whenever they find us, they will start...

Summary

This has been the last chapter where we will read about our enemies.

We had the chance to learn about the Boss's strategy. We learned which component controls the melee attack and which one the ranged attack, and most important, what can we do to change its behaviors.

We also found out that the enemy has a scanner that is used to trace us, so it is very difficult for us to sneak on them and attack.

We had the chance to read about the enemy HP and shields, and how to make them stronger or weaker in order to increase or decrease the challenge level.

Before going on, we should play every level that we have created so far many times, making sure every stage is balanced and that we are completely sure we can move on. It is important to continually test our game.

This was everything needed to know about the game and level design. In the following chapters, we will have...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Hands-On Game Development without Coding
Published in: Nov 2018Publisher: PacktISBN-13: 9781789538335
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime

Author (1)

author image
Lucas Bertolini

Lucas Bertolini has 10+ years' experience as a video game software developer. He has worked on three major projects: for Pollux Ltd. (Hong Kong) as a game developer and designer; for Schell Games (Pittsburgh, US) where he moved and worked as a developer until the project was completed; and for Globant as a developer. He has worked in technical education for 5+ years and has taught a variety of programming courses. He is the cofounder of NGA and Bytenarchy Studios, both digital services development companies that use Unity as their main technology. Lucas has written Hands-On Game Development without Coding, available from Packt.
Read more about Lucas Bertolini