# Manual

- Introduction
- Terminology
- Components
  - Toolbar
  - 2D Views
  - 3D View
  - Object panel
  - Polygon panel
  - Behavior Dialogs
  - State Machine
  - Texcoord Dialog

## Introduction

This is a table editor for the "Emilia Pinball" game. To be able to crate tables you need some basic knowledge about 3D modelling and atleast one heard about C/C++ programming (the scripts that runs the tables are written i C++). This document describes the function of each component in the editor. If you want a step by step intruction of how to use the editor check out the tutorial.

top

## Terminology

A table is constructed of a number of objects. An object is for example the floor, an arm a bumper or a object that plays the background music. A shape is a visible or invisible mesh in 3D space, shapes are built of polygons and vertices. An object can hold any number of shapes, typically there is one or several shapes that are visible and one less detailed invisible shape that is used for collision detection. The object determines the translation and rotation of the shapes that it holds.

A behavior can be set to control an object, the behavior can move the object and thus all of is shapes, switch which shapes are visible and which are invisible or play sounds on collision. There are some default bevavior for bumpers and arms avaible. A custom behavior type allows you to create state machines that control the object.

top

## Components

The main components of the editor is the toolbar, the 2D views, the 3D view, the object panel, the polygon panel, the behavior dialogs and the texcoord dialog.

top

### Toolbar

TODO

top

### 2D Views

TODO

top

### 3D View

TODO

top

### Object Panel

TODO

top

### Polygon Panel

TODO

top

### Behavior Dialogs

TODO

top

### State Machine

The state machine behaviors dialog

top