PointSpawner
Inherits: Marker2D < Node2D < CanvasItem < Node < Object
Spawns Scene as siblings continously in intervals with the option to have multiple spawns in the run.
Properties
|
||
|
||
|
||
|
Methods
void |
_ready() |
void |
_physics_process(delta: float) |
void |
begin() |
void |
end() |
void |
spawn() |
Property Descriptions
Array[PackedScene] Scenes 🔗
The scenes to spawn. A Random scene will be picked from here to be spawned.
When set to true, it will automatically begin spawning as soon as it enters the tree.
Scenes spawned per Second.
Number of scenes spawned at the very first run.
The time passed since the last spawn.
A boolean to turn spawning on and off.
Method Descriptions
void _ready() 🔗
There is currently no description for this method. Please help us by contributing one!
void _physics_process(delta: float) 🔗
There is currently no description for this method. Please help us by contributing one!
void begin() 🔗
Start spawning.
void end() 🔗
Stop spawning and self-destruct. To pause spawning, simply set spawning to false.
void spawn() 🔗
The spawn function, use this to randomly spawn a scene from the Scenes array.