Communication box spawner #79
Replies: 1 comment 4 replies
-
I'm not sure it makes sense to use a controller like a PLC to manage things like spawners. Can you provide an example of a use case? It might be an interesting idea to provide a mechanism to allow users to easily externally expose whatever they want through the editor just by modifying some predefined properties. In the meantime, it is possible to modify the properties of the box spawner through scripting. Godot's built in scripting language GDScript is pretty simple and is tightly integrated with the editor to allow things like dragging and dropping node references into the text editor. From there you can modify the spawn interval. Here is a very simple script attached to a BoxSpawnerManager node I created, that slowly increases the spawn interval over time. Including a property to enable/disable spawning is a good suggestion. |
Beta Was this translation helpful? Give feedback.
-
It would be nice if implemented the communication on the box spawner too, so we can control if it will spawn and the spawn interval.
Beta Was this translation helpful? Give feedback.
All reactions