User Tools

Site Tools


en:orx:config:settings_structure:orxobject

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:orx:config:settings_structure:orxobject [2019/05/29 12:26 (10 months ago)]
sausage Lifetime updates.
en:orx:config:settings_structure:orxobject [2019/05/30 03:25 (10 months ago)] (current)
Line 56: Line 56:
   * ''​Graphic'':​ Config name of the [[orxGRAPHIC]] associated to this object. When an object is animated, the current frame'​s graphic will be displayed instead. If none is provided, the object will exist but won't be visible (ie. nothing will be displayed for it by the renderer).   * ''​Graphic'':​ Config name of the [[orxGRAPHIC]] associated to this object. When an object is animated, the current frame'​s graphic will be displayed instead. If none is provided, the object will exist but won't be visible (ie. nothing will be displayed for it by the renderer).
   * ''​Group'':​ GroupId from the [[en:​orx:​config:​settings_structure:​orxcamera|GroupList]] for the object to be rendered into (like a layer). ​   * ''​Group'':​ GroupId from the [[en:​orx:​config:​settings_structure:​orxcamera|GroupList]] for the object to be rendered into (like a layer). ​
-  * ''​LifeTime'':​ If a float value is specified, the life time of this object in seconds. 0 means it'll be instantly deleted. It's default value is -1.0, which means the object has an infinite life time. If a literal is used, the object'​s life will end when the condition ​is fulfilled. Multiple literals can be defined at once, in which case the object will be deleted when all of their associated ​conditions are fulfilled. ''​child''​ keeps the object alive as long as there are owned children; ''​fx''​ keeps the object alive as long as there are FXs; ''​sound''​ keeps the object alive as long as there are sounds; ''​spawn''​ keeps the object alive as long as spawner isn't depleted (based on TotalObject);​ ''​track''​ keeps the object alive as long as there are tracks+  * ''​LifeTime'':​ If a float value is specified, the life time of this object in seconds. 0 means it'll be instantly deleted. It's default value is -1.0, which means the object has an infinite life time. If one or more literals are used, the object'​s life will end when the condition ​or conditions are fulfilled. ''​child''​ keeps the object alive as long as there are owned children; ''​fx''​ keeps the object alive as long as there are FXs; ''​sound''​ keeps the object alive as long as there are sounds; ''​spawn''​ keeps the object alive as long as spawner isn't depleted (based on TotalObject);​ ''​track''​ keeps the object alive as long as there are tracks
   * ''​ParentCamera'':​ Config name of the [[orxCAMERA]] that will be used as parent. This is very useful to place objects in the camera space for UI purposes, for example. If none is provided, the object won't have any parent except if it was created through a ''​ChildList''​ of another object.   * ''​ParentCamera'':​ Config name of the [[orxCAMERA]] that will be used as parent. This is very useful to place objects in the camera space for UI purposes, for example. If none is provided, the object won't have any parent except if it was created through a ''​ChildList''​ of another object.
   * ''​Pivot'':​ Normally this is defined in the Object'​s ''​Graphic''​ section. However, setting Pivot here overrides graphic'​s value if present; truncate and round will adjust pivot values if they are not integers; z is ignored for 2D graphics;   * ''​Pivot'':​ Normally this is defined in the Object'​s ''​Graphic''​ section. However, setting Pivot here overrides graphic'​s value if present; truncate and round will adjust pivot values if they are not integers; z is ignored for 2D graphics;
en/orx/config/settings_structure/orxobject.txt · Last modified: 2019/05/30 03:25 (10 months ago) (external edit)