This is a sample project of what can be configured to light points only in real time. to animate the light you must write in the bar of terms any of these short codes, we can make the color of the light change when the fall off parameter reaches 0, we can also make it change the model when the falloff reaches 0 the same with the ambientacion of the light.
With this project you can see different light effects that you can perform in real time with the lights, we can change the models in a bar with the text of (model1), you can (model2), (model3) etc.
apart you can save the parameters of the light with the save button, but less the color, with the icon to restore that is next to save, with this you can restore the saved values. In case you want to modify the values of the light on the screen, write in the term bar, modify values.
Below you will see a list of some of the codes you can write for the term bar:
animate x
animate and
animate
random_light_color
random_ambient_color
animate_darken
loop_animate_darken
animate_glow
random_sequence (light_color) (ambient_color)
proyect:
www.gamemaker3d.com/player?pid=053346829426