Book Image

Hands-On Game Development without Coding

By : Lucas Bertolini
Book Image

Hands-On Game Development without Coding

By: Lucas Bertolini

Overview of this book

Hands-On Game Development without Coding is the first Visual Scripting book in the market. It was tailor made for a non programing audience who are wondering how a videogame is made. After reading this book you will be able to develop your own 2d and 3d videogames and use it on your presentations, to speed up your level design deliveries, test your game design ideas, work on your proofs of concept, or even doing it just for fun. The best thing about Hands-On Game Development without Coding is that you don’t need any previous knowledge to read and understand the process of creating a videogame. It is our main focus to provide you with the opportunity to create a videogame as easy and fast as possible. Once you go through the book, you will be able to create player input interaction, levels, object behaviours, enemy AI, creating your own UI and finally giving life to your game by building it. It’s Alive!
Table of Contents (16 chapters)
5
Object Behaviors - Adding Logic to Objects
7
Interactable Objects - Enhancing Interaction

2D Game Kit enemies

Following on from our 2D game development experience, we need to understand the enemies in depth, their components and behaviors, and how to modify them.

In this section, we will focus on the following components of the chomper:

  • Character Controller 2D
  • Damageable
  • Enemy behavior

In addition to this, we will learn about the following components of the spitter:

  • Spitter BT

After that, we will take a look at the enemy spawner and how it works.

Chomper

The Chomper is the most common enemy of the game, and we will find that it is pretty simple in its AI. The behaviors behind this enemy can be seen by clicking on the Chomper prefab under Assets | 2DGamkit | Prefabs | Enemies, as shown in the following screenshot...