need help with backgrounds

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
mightyjlr
Posts: 3
Joined: Tue Nov 15, 2005 8:50 pm

need help with backgrounds

Post by mightyjlr »

ok, I've been trying to figure this out...

I have g-force gold...

it is my gfs birthday this weekend, and I want to use pictures of her as the background for g-force

I want a background picture displayed constantly and changing every 15 seconds or so...

I tried looking on here and I put my picture files in the directory and it said error loading the image...

can someone explain to me step by step how to do this?

it is very appreciated...

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

First of all, you should make sure that the pic has a file type G-Force supports, such as a JPEG or BMP.
Also make sure that you put it in the (auto Backgrounds) sub-folder of the Sprites folder.

You should also know that really big pic will usually be drawn by G-Force in strange ways, so make sure to either put in a pre-existing small file, or simply trim/re-size the pic in question.


If you want to control the time of the sprites appearance, do a search for the G-Force Preferences (or Prefs) file, and look for a parameter called SDur (Sprite Duration). There you can set the value to whatever you like.
"God is syntax."

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

Post by chkman »

In the G-Force toolbar under visualization preferences make sure you're at a higher screen resolution. The default seems to be 800x600. I found if the pic was too big for the screen it wouldn't display.

You can also call the pic from a script file. Use a text editor such as wordpad to create a file called "CTRL A.txt" in the scripts folder. Put in 2 lines to call the sprite like this:
0:01 StartSprite( "GirlFriend",15 );
0:16 Run( "CTRL A" );

Use the actual name of the picture file in place of "GirlFriend", don't include the .bmp or .jpg extension. The 15 will display it for 15 seconds. The run line will start the script over and bring the picture back up.

Background pics don't use all the colors like foreground pics do. Type CTRL A to start the script. Shift K to stop it. NOTE: not all music players allow you to use the control keys. WinAmp does and this will work with the stand alone version of G-Force.

mightyjlr
Posts: 3
Joined: Tue Nov 15, 2005 8:50 pm

Post by mightyjlr »

Thanks for the help... one more question. Say I have like 20 pictures, and I want it to cycle between all of them, always having a background picture up... how would I do this?

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

Post by chkman »

If you're able to create and run the script files. Just list all twenty pics in the script:

00:00 StartSprite( "Pic1",15 );
00:15 StartSprite( "Pic2",15 );
00:30 StartSprite( "Pic3",15 );
00:45 etc....

05:15 Run( "CTRL A" );

Or if you use the toolbar just uncheck every image except your pics and move the sliders over to right, how much I can't say exactly. But increase 'speed' and 'duration' until you get the desired effect.

dicarlos
Posts: 1
Joined: Sat Dec 03, 2005 10:52 pm

Post by dicarlos »

Wow. That is exactly the question and EXACTLY the answer I logged on to find just 2 minutes ago. I've been chained to my PC for weeks with other issues and that was a refreshing change of pace. I'm hosting my business holiday party this weekend and want to do exactly the same with pix of the staff

Post Reply