Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Game Development without Coding

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

Product type Book
Published in Nov 2018
Publisher Packt
ISBN-13 9781789538335
Pages 430 pages
Edition 1st Edition
Languages
Author (1):
Lucas Bertolini Lucas Bertolini
Profile icon Lucas Bertolini

Table of Contents (16) Chapters

Preface 1. Game Design - Introduction 2. User Interface - Layouts and Shortcuts 3. Basic Concepts - Variables and Components 4. Getting Started - Object Placement 5. Object Behaviors - Adding Logic to Objects 6. Player Character - Components and Behaviors 7. Interactable Objects - Enhancing Interaction 8. Playing with Visual and Sound Effects 9. Enemy Logic - Basic AI 10. Enemy Components and Behaviors 11. A Bigger Challenge - The Boss 12. UI Interaction - Menu and Button Feedback 13. Gameplay HUD - Player UI and Dialog Box 14. Project End - Platform Selection and Building 15. Other Books You May Enjoy

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...

lock icon The rest of the chapter is locked
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.
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}