Music Glitches...

Non-platform specific questions.

Music Glitches...

Postby Sgt. Sparky » 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. :D
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;

:D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron