"Dynamic" lights fx test (Blend included)

I wish to share this if it’s any use for anyone and any criticism is welcome.

I don’t know if this has been tested already but I have came up with this system for my game to be used on
spells and projectiles and on any other effect that requires light to be “dynamically added”.

Since Blender game engine currently doesn’t support lights being added afterhand I figured I could create template lights with zero energy and attach them on effect object when needed.

Here’s a demo file: light_spawn_sync.blend (521 KB)

Cons:

  • You need enough template lights available for all the currently active effects.

Pretty sure you can still add lights from an inactive layer, just not from another blend via libload.