Music Glitches...
Posted: Sat Aug 11, 2007 4:55 pm
My Newest project (Deep Sea Labyrinth)
has the menu as a seperate game, when I click on the load game or new game functions it does not load my game(this is in Game Editor mode, but it is supposed to do this.),
instead it goes back and says so and so level is not a valid game.
then I figured out that the problem was that it was not saving the current level so it would always load level1.
then all of the sudden when I ran the test it went back out of Game Editor mode and the music did not stop.
I finnally shut down GE because it would not stop playing the music.
also, another glitch:
the levels will play the music in Game Mode, but they will not play it in the exported version. I am not sure what the problem is, but I will be running a few tests.
EDIT: Second glitch solved, the code for the views draw actor event was,
and there is about 2/30th to 1/6th of a second delay between when the player is created and when the view is in the exported version.
all I had to do is change the code to,
has the menu as a seperate game, when I click on the load game or new game functions it does not load my game(this is in Game Editor mode, but it is supposed to do this.),
instead it goes back and says so and so level is not a valid game.
then I figured out that the problem was that it was not saving the current level so it would always load level1.
then all of the sudden when I ran the test it went back out of Game Editor mode and the music did not stop.
I finnally shut down GE because it would not stop playing the music.
also, another glitch:
the levels will play the music in Game Mode, but they will not play it in the exported version. I am not sure what the problem is, but I will be running a few tests.
EDIT: Second glitch solved, the code for the views draw actor event was,
- Code: Select all
if(ActorCount("player") == 0)musicvol = 0;
and there is about 2/30th to 1/6th of a second delay between when the player is created and when the view is in the exported version.
all I had to do is change the code to,
- Code: Select all
if(ActorCount("player") == 0)musicvol = 0;
else musicvol = 1;