The module describing the unit of the object - Instance.
An instance is an object in a scene with behavior only for itself with the
interaction of other instances, through collisions, any internal events.
Each instance has properties of execution conditions, rendering conditions,
rendering properties, conditions for the execution of some events. All of these
properties describe an instance, however, more behavior can be achieved using
inheritance (see tida.localevent). Instance functions are not inherited. but
they are directly written and marked with attributes that give execution
conditions (under what conditions it is necessary to execute, as if it is a
transfer of control between scenes, rendering of a frame, processing user input).
Also, an instance has a hard mask, where, when it touches another mask,
a collision event can be generated and such instances can handle this event,
if, of course, the corresponding functions have been marked with attributes.
The module describing the unit of the object - Instance.
An instance is an object in a scene with behavior only for itself with the interaction of other instances, through collisions, any internal events. Each instance has properties of execution conditions, rendering conditions, rendering properties, conditions for the execution of some events. All of these properties describe an instance, however, more behavior can be achieved using inheritance (see tida.localevent). Instance functions are not inherited. but they are directly written and marked with attributes that give execution conditions (under what conditions it is necessary to execute, as if it is a transfer of control between scenes, rendering of a frame, processing user input).
Also, an instance has a hard mask, where, when it touches another mask, a collision event can be generated and such instances can handle this event, if, of course, the corresponding functions have been marked with attributes.