How do you create lights?
Posted: Wed Oct 22, 2014 10:48 pm
In Grimrock 1 you could create an "fx" entity and call setLight() on it.
My guess is that the equivalent in Grimrock 2 to the "fx" entity is either the "dummy_light" or "particle_system" entity. dummy_light and particle_system don't seem to have a light component but after some testing they do have a particle component. For example:
dummy_light.particle:
But the setLight() function doesn't seem to work on the particle component. Maybe there's another one I should be using?
Can someone point me in the right direction?
My guess is that the equivalent in Grimrock 2 to the "fx" entity is either the "dummy_light" or "particle_system" entity. dummy_light and particle_system don't seem to have a light component but after some testing they do have a particle component. For example:
dummy_light.particle:
But the setLight() function doesn't seem to work on the particle component. Maybe there's another one I should be using?
Can someone point me in the right direction?