Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / avi problem

Author
Message
Gamedesign er20
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: The one place you would never look...
Posted: 28th Aug 2006 00:26 Edited at: 28th Aug 2006 00:27
I want to play a series of full screen avi animation clips one after another, but every time It starts a new clip, it keeps the old one in the backround, thus making the new one be located in the corner of the screen instead of clearing the screen of the old one and playing a new avi. I tried alot of differnt things includng using the delete animation command. What am I doing wrong?

Cocacola and Pepsi aren't that differnt. Deal with it.
demons breath
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 28th Aug 2006 00:50
put up your code and people will find it easier to help you

RIP Dimebag
http://db1games.topcities.com
(used to be demonsbreath)
Gamedesign er20
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: The one place you would never look...
Posted: 28th Aug 2006 01:06
It isn't a big code or anything, just thought it might work


Cocacola and Pepsi aren't that differnt. Deal with it.
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 28th Aug 2006 01:10
have you got the AVI files so I can try the code?

WORLD - A free World editor, capable of creating the most complex of worlds (including physics, skies, water, shaders, terrain editing and more). Best of all, it's FREE!
D Ogre
20
Years of Service
User Offline
Joined: 19th Nov 2003
Location:
Posted: 28th Aug 2006 01:12 Edited at: 28th Aug 2006 01:14
If the avi movie file output is smaller than the current screen resolution,
it will not be displayed as full screen.

There are two solutions to fixing this.

1: If you know what the size of the avi output resolution is, you could set the display
mode for the DB program to match as long as that resolution is supported by your graphics
card.

set display mode X, Y, Color Depth

2: If the DB screen is larger than the avi, then resize the avi to fit.

play animation animation number, X1, Y1, X2, Y2

Resizing the ouput of the animation, or using a lower screen resolution than the avi
can cause distortion and loss of quality. You'll have to find a happy medium here.

You can also clear the avi after being played by using the CLS command..

Simple Example:
Gamedesign er20
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: The one place you would never look...
Posted: 28th Aug 2006 01:33
what is the screen size 640x480?

Cocacola and Pepsi aren't that differnt. Deal with it.
D Ogre
20
Years of Service
User Offline
Joined: 19th Nov 2003
Location:
Posted: 28th Aug 2006 01:59
Yes, that is the default screen size for DB programs unless stated otherwise
by set display mode X, Y, color depth.
Vues3d on Kalimee
20
Years of Service
User Offline
Joined: 12th May 2004
Location: NYON (SWITZERLAND)
Posted: 28th Aug 2006 13:39
Hi, a better way to handle this would be:



Login to post a reply

Server time is: 2024-09-25 07:37:29
Your offset time is: 2024-09-25 07:37:29