1. Home
  2. Docs
  3. Game Factory Documentatio...
  4. Coding
  5. Introduction

Introduction

While it’s perfectly possible to make an entire game in Game Factory without writing a single line of code, writing code will allow you to create much richer and more interactive experiences that wouldn’t be possible just with built-in objects and blocks.

Anyway, enough about the benefits of code 🙂 If you are reading this, it’s because you are already interested in writing some code and you know that coding is fun, so let’s get right to it.

Fundamentals

Any game in Game Factory is made up of two fundamental things: terrain and actors. Terrain means the ground and any blocks, ramps, corners, etc, that you have placed with the Construct tool. Everything else is an actor. For example, in the scene below, can you tell what’s terrain and what’s an actor?

Answer: there are 5 actors in the scene:

  • The slime on the left
  • The rock
  • The tree
  • The “Hey there” text box
  • The player!

The ground and the metal platform in the center are terrain.

How can we help?

Search this website Type then hit enter to search