The Character class¶
In visual novels, text may consist of narration, which does not have a speaker, and dialogue, which is labeled with the name of the character that is saying it.
In Iris Engine, dialogue is written using Character objects. Once defined, these objects can be used in the same way as the say function. See Defining characters for a quick explanation on how to use them.
Properties¶
| Type | Name | Default value | Description |
|---|---|---|---|
| string | name | Defined in constructor | Gets or sets the name of the character |
Member functions¶
| Method | Description |
|---|---|
| (constructor) | Create a character |
| __call metamethod | Display dialogue text |