User Tools

Site Tools


en:orx:config:settings_structure:orxspawner

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:orx:config:settings_structure:orxspawner [2018/02/14 04:46 (6 months ago)]
iarwain ↷ Links adapted because of a move operation
en:orx:config:settings_structure:orxspawner [2018/08/08 14:20 (14 days ago)] (current)
sausage Added 3 missing properties + example link
Line 15: Line 15:
 Rotation ​        = <​float>​ Rotation ​        = <​float>​
 Scale            = <​vector>​ | <​float>​ Scale            = <​vector>​ | <​float>​
 +Interpolate ​     = <​bool> ​
 +Immediate ​       = <​bool>​
 UseAlpha ​        = <​bool>​ UseAlpha ​        = <​bool>​
 UseColor ​        = <​bool>​ UseColor ​        = <​bool>​
Line 20: Line 22:
 UseScale ​        = <​bool>​ UseScale ​        = <​bool>​
 UseRelativeSpeed = <​bool>​ UseRelativeSpeed = <​bool>​
-UseSelfAsParent ​ = <​bool></​code>​+UseSelfAsParent ​ = <​bool>​ 
 +IgnoreFromParent = none|all|rotation|scale|position|position.rotation|position.scale|position.position 
 +</​code>​
  
  
Line 37: Line 41:
   * ''​Rotation'':​ Rotation of the spawner in its parent space, in degrees. Defaults to 0°.   * ''​Rotation'':​ Rotation of the spawner in its parent space, in degrees. Defaults to 0°.
   * ''​Scale'':​ Scale of the spawner in its parent space (Z component being ignored). By default its value is 1.0. ((ie. (1.0, 1.0, 0.0) ))   * ''​Scale'':​ Scale of the spawner in its parent space (Z component being ignored). By default its value is 1.0. ((ie. (1.0, 1.0, 0.0) ))
 +  * ''​Interpolate'':​ When interpolate is set to true, sub-frame precision spawning will be emulated if needed. Defaults to false.
 +  * ''​Immediate'':​ If set, the delay will be ignored for the first wave after creation or reset; Defaults to false.
   * ''​UseAlpha'':​ This only works if the spawner is linked to a parent [[orxOBJECT]]. If so and its value is set to ''​true'',​ it will transmit the parent'​s alpha to any spawned objects. By default its value is ''​false''​.   * ''​UseAlpha'':​ This only works if the spawner is linked to a parent [[orxOBJECT]]. If so and its value is set to ''​true'',​ it will transmit the parent'​s alpha to any spawned objects. By default its value is ''​false''​.
   * ''​UseColor'':​ This only works if the spawner is linked to a parent [[orxOBJECT]]. If so and its value is set to ''​true'',​ it will transmit the parent'​s color to any spawned objects. By default its value is ''​false''​.   * ''​UseColor'':​ This only works if the spawner is linked to a parent [[orxOBJECT]]. If so and its value is set to ''​true'',​ it will transmit the parent'​s color to any spawned objects. By default its value is ''​false''​.
Line 43: Line 49:
   * ''​UseRelativeSpeed'':​ If set to ''​true''​ and the spawner has a value for ''​ObjectSpeed'',​ the applied speed will be relative to the spawner'​s current rotation and scale. By default its value is ''​false''​.   * ''​UseRelativeSpeed'':​ If set to ''​true''​ and the spawner has a value for ''​ObjectSpeed'',​ the applied speed will be relative to the spawner'​s current rotation and scale. By default its value is ''​false''​.
   * ''​UseSelfAsParent'':​ If set to ''​true'',​ all spawned object will have the spawner as parent (in the [[en:​tutorials:​frame|orxFRAME hierarchy]] sense). This means that every spawned object will move together with its spawner parent: it will adapt to its position, rotation and scale. If you only want a spawned object to adopt the current orientation of the Spawner, see ObjectSpeed and UseRotation. By default this property'​s value is set to ''​false''​.   * ''​UseSelfAsParent'':​ If set to ''​true'',​ all spawned object will have the spawner as parent (in the [[en:​tutorials:​frame|orxFRAME hierarchy]] sense). This means that every spawned object will move together with its spawner parent: it will adapt to its position, rotation and scale. If you only want a spawned object to adopt the current orientation of the Spawner, see ObjectSpeed and UseRotation. By default this property'​s value is set to ''​false''​.
 +  * ''​IgnoreFromParent'':​ none|all|[[en:​examples:​objects:​non_rotating_children|rotation]]|scale|position|position.rotation|position.scale|position.position;​ NB: Defines which parts of the parent'​s transformation will be ignored when transmitted to the spawner. Defaults to none.
  
 ==== Latest config settings for the Development Version ==== ==== Latest config settings for the Development Version ====
 {{section>​en:​orx:​config:​developmentversion#&​noheader&​nofooter&​noeditbutton}} {{section>​en:​orx:​config:​developmentversion#&​noheader&​nofooter&​noeditbutton}}
  
en/orx/config/settings_structure/orxspawner.txt · Last modified: 2018/08/08 14:20 (14 days ago) by sausage