components
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
components [2020/01/23 13:36] – maxime | components [2020/07/08 10:21] (current) – maxime | ||
---|---|---|---|
Line 2: | Line 2: | ||
Components are small modules used to define the behavior of any game object. Game objects can have any number of components, but can have only one of each type. | Components are small modules used to define the behavior of any game object. Game objects can have any number of components, but can have only one of each type. | ||
- | See the [[api:# | + | See the [[api:# |
- | + | ||
- | ---- | + | |
- | + | ||
- | You can define | + | |
- | + | ||
- | When you define a new component type, you can assign it properties that are editable, usable in your component' | + | |
- | + | ||
- | Components can also have functions. In addition to new functions, you can override some base functions that are automatically called for all components: | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | + | ||
- | You can see an example of component definition in the mod Example 02 in '' | + | |
---- | ---- |
components.1579804591.txt.gz · Last modified: 2020/01/23 13:36 by maxime