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

States diagram

Every FSM can be drawn as a state diagram. Each state will be contained in a box with arrows going from one state to another representing the transitions.

We will go through the same examples that we saw before and learn how we can create the diagrams step by step.

Turnstile

In order to create the diagram that belongs to the turnstile FSM, we need to go through the following steps:

  1. First of all, we have to write down the states, as follows:
  1. Next, we have to draw the transition arrow from one state to the other state that it will transition to. In this case, we have two transitions that interact in a cyclical way, as shown in the following diagram:

That's it. By drawing a diagram, it is simpler to...