My first...: Difference between revisions
Jump to navigation
Jump to search
(Created page with "How to 1,2,3,...-step guides to create encapsulated game things from scratch. F.e. A character -> root + visual + visual set + name + ...") |
No edit summary |
||
Line 1: | Line 1: | ||
How to 1,2,3,...-step guides to create encapsulated game things from scratch. | How to 1,2,3,...-step guides to create encapsulated game things from scratch. | ||
F.e. A character -> root + visual + visual set + name + ... | F.e. A character -> root + visual + visual set + name + ... | ||
== Base elements == | |||
Every object in the divinity engine needs one or more base elements. See these elements as building blocks for the final object.<br /> | |||
There are generally two big building blocks: resources and root templates.<br /> | |||
Resources are base elements that represent a specific type of data, such as a texture, or a model.<br /> | |||
Root templates are built up of resources. They represent a base template of a certain object you can place, such as a character or a chair.<br /> | |||
Take for example a chair. A chair needs: | |||
* A visual model resource | |||
* Texture resource | |||
* A physics model resource | |||
* A root template grouping all the resources into the specific chair you want. | |||
{| class="wikitable" | |||
|- | |||
|More info on how resources work can be found here: [[Resources explanation]] | |||
|- | |||
|} | |||
{| class="wikitable" | |||
|- | |||
|More info on how templates work can be found here: [[Templates explanation]] | |||
|- | |||
|} | |||
=== [[My first: Resource | Resource]]=== | |||
=== [[My first: Root template | Root template]]=== | |||
== Full objects == | |||
=== Item === | |||
=== Character === | |||
=== Terrain === |
Revision as of 20:17, 10 September 2017
How to 1,2,3,...-step guides to create encapsulated game things from scratch. F.e. A character -> root + visual + visual set + name + ...
Base elements
Every object in the divinity engine needs one or more base elements. See these elements as building blocks for the final object.
There are generally two big building blocks: resources and root templates.
Resources are base elements that represent a specific type of data, such as a texture, or a model.
Root templates are built up of resources. They represent a base template of a certain object you can place, such as a character or a chair.
Take for example a chair. A chair needs:
- A visual model resource
- Texture resource
- A physics model resource
- A root template grouping all the resources into the specific chair you want.
More info on how resources work can be found here: Resources explanation |
More info on how templates work can be found here: Templates explanation |