Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
en:orx:config:settings_structure:orxspawner [2017/05/29 21:50 (7 years ago)] – external edit 127.0.0.1 | en:orx:config:settings_structure:orxspawner [2018/08/08 07:20 (6 years ago)] – Added 3 missing properties + example link sausage |
---|
Rotation = <float> | Rotation = <float> |
Scale = <vector> | <float> | Scale = <vector> | <float> |
| Interpolate = <bool> |
| Immediate = <bool> |
UseAlpha = <bool> | UseAlpha = <bool> |
UseColor = <bool> | UseColor = <bool> |
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> |
| |
| |
* ''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''. |
* ''UseScale'': 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 scale to any spawned objects. By default its value is ''true''. | * ''UseScale'': 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 scale to any spawned objects. By default its value is ''true''. |
* ''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 [[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}} |
| |