video clip zooming?

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
adam12
Posts: 9
Joined: Thu Dec 01, 2005 5:35 pm

video clip zooming?

Post by adam12 »

i have a bunch of clips that are 640x480 or 320x240... what i've seen is if my window size is bigger than the clip's resolution, the clip plays in a box that smaller than the window. if the window is smaller than the clip resolution, then the video doesn't play at all...

is there a way to make video clips zoom to the window size?

User avatar
chkman
Posts: 329
Joined: Mon Aug 08, 2005 12:36 pm
Location: Greensburg, PA

Post by chkman »

Go into the sprites folder and edit (default).txt, change the flag to:

Flag=7

The 7 means "Shrink to Fit" and "Enlarge To Fit" and "Maintain Aspect Ratio".

Or you might try

Flag = "7+2048"
or
Flag = "7+16384"
for "Additive Blend" or "Alpha Blend". It affects how the image blends in with the wave and stuff.

adam12
Posts: 9
Joined: Thu Dec 01, 2005 5:35 pm

Post by adam12 »

cool. i'll give this a try...

i found the "kParticleFlags_EnlargeToFit" flag last night for StartSprite(), but that didn't work...

adam12
Posts: 9
Joined: Thu Dec 01, 2005 5:35 pm

Post by adam12 »

huh... well i checked my default.txt file and flag is set to 7...

any other ideas? anyone else seeing this?

Post Reply