Synchronizing sun, sky, and sound...
Posted: Wed Jan 24, 2007 10:23 pm
I have a few questions on synchronizing events in a level.
So far, I plan on attatching the various environment sounds to a model and pull them "underground" and out-of-range when they are supposed to be inactive. I also plan on having a dynamic lighting entity set up to mimic the sun's location in the same way. Is there a way I could use the self.time and self.daytime variables to run the models' and entities' cycles?
Also, I'd like to know if there is a place within the RF architecture that I could define a set of global variables and arrays to reference from anywhere else in the game?
Back when I was working with Game Maker 6.0, a 2D utility, I had an array-driven database that all other objects took orders from; This made it so that all I had to do to alter something was change the database instead of going in and hunting down every instance that was involved.
As always, thanks for any and all help
So far, I plan on attatching the various environment sounds to a model and pull them "underground" and out-of-range when they are supposed to be inactive. I also plan on having a dynamic lighting entity set up to mimic the sun's location in the same way. Is there a way I could use the self.time and self.daytime variables to run the models' and entities' cycles?
Also, I'd like to know if there is a place within the RF architecture that I could define a set of global variables and arrays to reference from anywhere else in the game?
Back when I was working with Game Maker 6.0, a 2D utility, I had an array-driven database that all other objects took orders from; This made it so that all I had to do to alter something was change the database instead of going in and hunting down every instance that was involved.
As always, thanks for any and all help