Synchronizing sun, sky, and sound...

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
Fireblade
Posts: 19
Joined: Wed Dec 13, 2006 7:46 am

Synchronizing sun, sky, and sound...

Post by Fireblade »

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 :D
Post Reply