After intro movie (playvideo) game switches to desktop

Started by , Tue 10/05/2005 09:30:24

Previous topic - Next topic

Deckard

I am a newbie here, so please be gentle if this issue has been risen (and solved) before - forum search did not yield any similiar problem.

So, I have this intro animation I've done several months ago and I want it to be the intro movie to the game.

I've put PlayVideo command in the start_game section of the global script and this problem occured: after movie played (it's an avi, first it was divx, then I tried mpeg4), AGS switched back to desktop.

Funny thing is, after that the game seems to be running - there is an icon of its window on the task bar. It looks like it is minimized or something. Only when I click on it, the game resumes as it should. Why does this switch to desktop happens and how to get rid of it?

I also tried by moving the PlayVideo command to the first room, in the event Player enters room before fade in. Same thing happened.

Interestingly though, this only happens in full screen mode. In windowed mode everything works fine.

Any help already deeply appreciated.

EDIT: I forgot to mention that I am using WinXP SP1. I have the possibility of testing this on Win2k which I will do as soon as possible.

Ishmael

I've heard of similiar matters, as in games minimizing randomly, occuring on WinXP... Have you updated your display drivers? It's always worth the try...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Deckard

I refreshed video drivers, but it still doesn't work. However, I tried on Win2k computer and it works flawlessly.

Uhm, I will have to try some other WinXP systems and see how it works there. I hope this doesn't happen on every XP computer...

Meanwhile if anyone has any ideas about this, don't be shy...

Since it is turning out this is not about me being clueless newbie (which I am anyway :P) but a technical problem, perhaps this should be moved to more appropriate part of the forum...

Scummbuddy

something is stealing the focus in windows, and that seems to be called before where the return to AGS is being called.

Also, why aren't you running with XP SP2? Want to try and upgrade that, and then tell us what happens?
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Deckard

It's the company's computer and due to all the problems SP2 turned out to cause, admins decided not to upgrade forbade us to do the same.

However upgrading to SP2 or not is not the issue, I suppose there still many an XP user who haven't upgraded.

However I will try to find SP2 machine and test the game there. If that will solve the problem, I'll just put it in the System Requirements - if my game ever gets finished, that is..... ;D ;D

SMF spam blocked by CleanTalk