Menu staying in background

Game Editor comments and discussion.

Menu staying in background

Postby Nykos » Mon Feb 14, 2011 2:19 pm

Hi everyone,my game is almost finished but I have two little questions.
First, when a level is finished, and the next one is charging, i have no black screen but the game menu is shown, then it disappears and the level is loaded.
I'd like to know what can i do so that the menu is not shown.

Then, I have a sound that has echo in the game, but it shouldn't. All the other sounds work just fine, but this one has echo...and i don't know why.

Thanks in advance, Nykos
Nykos
 
Posts: 110
Joined: Sun Dec 19, 2010 11:11 pm
Score: 6 Give a positive score

Re: Menu staying in background

Postby speckford123 » Mon Feb 14, 2011 7:18 pm

I guess when your swapping levels you could put an actor that hides the menu?

And the echo sound is likely a loop in your code, it's hard to help without the source files to examine.
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score

Re: Menu staying in background

Postby skydereign » Mon Feb 14, 2011 8:54 pm

For the sound part, it probably is a repetition of some sort like speckford123 says. For the other problem, you can disable the visibility state of the menu if you have it parented to the view. If you don't, then it shouldn't be on screen anyways. What I do is have parented backdrops each containing different parts of the menu, and when I need them move them to the center of the screen. That way I don't have to remember to change the visibility states to disable/enable.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Menu staying in background

Postby Nykos » Tue Feb 15, 2011 8:42 am

thanks for the replies guys, for the sound issue, i will look at it.
For the menu, in fact it's not the ingame menu, it's the menu at the begining of the game, it's a different .ged. I will try to hide ot with a black actor when I load another ged. But i don't understand why it keeps being played in background.
Nykos
 
Posts: 110
Joined: Sun Dec 19, 2010 11:11 pm
Score: 6 Give a positive score

Re: Menu staying in background

Postby skydereign » Tue Feb 15, 2011 8:54 am

You mean the menu is an entirely different ged file? If it is, that shouldn't happen (unless you duplicated the file and didn't delete the menu actor). Loading a ged will stop one game to play the other, so the menu should be destroyed before the other file is loaded.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Menu staying in background

Postby Nykos » Tue Feb 15, 2011 9:36 am

:D yeah that's what i thought too, but apperently, it doesn't want to die, I think i created the zombie menu .ged file.
Yes it's a different ged file and i didn't duplicated it.
I even tried using exit game with unwanted concequences so i canceled this option...
The fact is, i'm sure that having the menu played in the back eats memory than it should, and most of all, it doesn't look very pro...
It does this when exported to windows, a litlle. But when exported to iphone, well it's during 1 to 2 seconds.

(ps: sorry for the bad english, i'm from paris... :D )
Nykos
 
Posts: 110
Joined: Sun Dec 19, 2010 11:11 pm
Score: 6 Give a positive score

Re: Menu staying in background

Postby skydereign » Tue Feb 15, 2011 9:42 am

You mind posting the geds? Or perhaps if the forums are too public send me a link, or send it to me through email? I've never seen LoadGame work like that, and have never heard of that happening. The only bug I've heard about concerning LoadGame was when loading tiles.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Menu staying in background

Postby Nykos » Tue Feb 15, 2011 9:51 am

Sure, PM me your mail.
Nykos
 
Posts: 110
Joined: Sun Dec 19, 2010 11:11 pm
Score: 6 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron