g-force platinum foreground sprite

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

radoppio
Posts: 4
Joined: Mon Jan 30, 2006 12:35 pm

g-force platinum foreground sprite

Post by radoppio »

hi there.
does anybody nows, how i can create a sprite being foreground in g-force platinum?

i used g-force gold before and there was a special foreground and a backround folder. but i can´t find it in the platinum version.

sorry for my bad english - hope you can understand.
thanks paddy

User avatar
Woody
Posts: 23
Joined: Wed Dec 28, 2005 5:04 pm
Location: Texas

Post by Woody »

the new g force gold doesn't have the foreground and a backround folders either. maybe in the next version they will be back
Woody

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

Post by chkman »

We were talking about that recently in this post
http://forums.soundspectrum.com/viewtopic.php?t=950

I think if you (1) make a "foreground" folder under "sprites" and (2) copy the file (default).txt into it and (3) edit that file to add "Pen = 1" then (4) save it, it would create a foreground folder.

I haven't tried it but I will later (if I remember).

radoppio
Posts: 4
Joined: Mon Jan 30, 2006 12:35 pm

thx

Post by radoppio »

thax a lot. got a script from g-force which is working.
my next step is making a video sprite to work

greets

User avatar
Woody
Posts: 23
Joined: Wed Dec 28, 2005 5:04 pm
Location: Texas

Post by Woody »

thax a lot. got a script from g-force which is working.
my next step is making a video sprite to work
I tried what chkman said and couldn't get it to work. Can you put the script here that you got from g-force?

thanks,
Woody

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

Post by chkman »

Well, Shibber me timbers! I just tried what chkman said and it doesn't work! :oops:

Now if you add Pen =1 and also alter Flag=7 to Flag=4 and change X="0" and Y="0" to X="XPOS" and Y="YPOS" in the original (default).txt file in the Sprites folder, ALL the sprites will be foreground. But leaving the orginal one alone and making changes to a copy in \Sprites\Foreground, you guessed it, doesn't work. :( :?: :!: :cry:

Bring back, the Boston Rag, tell all your buddies that it ain't no drag!

You can make the above changes to a copy of the file and name it the same as each sprite that you want to be foreground i.e. 123.jpg -> 123.txt, abc.jpg -> abc.txt. So for 100 foreground pics you need 100 text files named the same except for the extension. I wish Andy would bring back the foreground folder!

User avatar
andy55
Site Admin
Posts: 569
Joined: Sat May 01, 2004 4:38 pm
Contact:

Re: g-force platinum foreground sprite

Post by andy55 »

radoppio wrote:hi there.
does anybody nows, how i can create a sprite being foreground in g-force platinum?

i used g-force gold before and there was a special foreground and a backround folder. but i can´t find it in the platinum version.

sorry for my bad english - hope you can understand.
thanks paddy
kenh wrote:Whatever happened to Auto and Foreground sprites ?
Technically, the was no removal of functionality. What was removed was the special folder layout that that allowed for easy specification of foreground sprites (previously, one could drop an image file into the "auto foreground" sprites folder and it'd appear as a foreground sprite). Ultimately, I removed the old folder layout scheme in order to make using sprites more user-friendly (think about the learning curve of the previous versions where there were each of the three folders had special behavior). A related factor to my decision was that in my estimation only the smallest percent of users were using the foreground sprites folder. And to any users who were using it, I can only offer my apologies.

In any case, to make a sprite a "foreground" particle, 'Pen' needs to be defined. Once it is, G-Force will draw with the intensity specified with 'Pen' (and will erase it with an intensity of 'EPen').

In other words, suppose you have an image named "boat.jpg", and you want to make it appear as a foreground particle. Create a new text file, "boat.txt" and in it, put the following:

Code: Select all

X="0" 
Y="0" 

EPen="FADER * dt ^ 1.5" 
Pen="FADER"

// flags--See (Default).txt for a list 
Flag="1 + 4 + 8 + 4096"

// The duration (in seconds) of the sprite 
PDur="20 + rnd( 50 )" 

Vers=310 
You can experiment with different flags in 'Flag' by looking at the flags in the file "(Default).txt" You can also experiment with EPen and Pen for different pen drawing intensities (FADER is a convenience function that goes from 0 to 1 to 0 over the course of the particle's lifetime).

Again, in a perfect world, I would have liked to keep the auto foreground sprites folder scheme, but it was just too much for basic users to deal with.

Andy
Last edited by andy55 on Sat Feb 04, 2006 7:56 pm, edited 2 times in total.

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

Post by chkman »

Ultimately, I removed the old folder layout scheme in order to make using sprites more user-friendly (think about the learning curve of the previous versions where there were each of the three folders had special behavior.
So in your opinion it's easier for a beginner to create 100 separate text files with names matching each and every desired foreground JPG than it is just to drag and drop a group of files into the obviously named foreground folder?

I disagree. It's much easier for a beginner or an old hack to drag and drop files than it is to go into a text editor one hundred times making filenames for text files match the filenames of pictures.

You have, in fact, made it harder to use or there wouldn't be three concurrent topics running about the difficulty that you have recently created.

And at the same time you've made it impossible for an experienced user to recreate the auto-forground folder. It's a lose/lose situation, just as you have hopelessly camouflaged the particles by mixing them in with the waveshapes.

Next thing you know, we'll have to write our configs in binary machine language.

User avatar
andy55
Site Admin
Posts: 569
Joined: Sat May 01, 2004 4:38 pm
Contact:

Post by andy55 »

chkman wrote:
Ultimately, I removed the old folder layout scheme in order to make using sprites more user-friendly (think about the learning curve of the previous versions where there were each of the three folders had special behavior.
So in your opinion it's easier for a beginner to create 100 separate text files with names matching each and every desired foreground JPG than it is just to drag and drop a group of files into the obviously named foreground folder?

I disagree. It's much easier for a beginner or an old hack to drag and drop files than it is to go into a text editor one hundred times making filenames for text files match the filenames of pictures.

You have, in fact, made it harder to use or there wouldn't be three concurrent topics running about the difficulty that you have recently created.

And at the same time you've made it impossible for an experienced user to recreate the auto-forground folder. It's a lose/lose situation, just as you have hopelessly camouflaged the particles by mixing them in with the waveshapes.

Next thing you know, we'll have to write our configs in binary machine language.
No, you're right. However, I should have also emphasized that my decision was also based on the fact that only a small small percentage of G-Force users used the foreground sprites folder. So since you were in that group, I can only say I'm sorry and I'd have kept it in a perfect world!

andy

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

Post by chkman »

Thanks, Andy. But why won't putting a copy of (default).txt in a 'foreground' folder (sub folder to sprites) allow me to recreate the auto-foreground effect? It seems G-Force only looks to the root folder for (default).txt.

While experimenting, it was interesting making all of the sprites foreground by altering the one in the root but it wasn't good coz it hid the wave etc.

And again, what about those seclusive particle files? If they were in ...\waveshapes\particles a person's humble script generator could find them easily, much easier than that person looking at the particle list in the toolbar and manually copying each one into a particles folder.

To change the subject, how's that extras page coming? Using folder names in the zip files would make it much easier on beginners and those in the small small percentage of G-Forcers as well.

User avatar
Woody
Posts: 23
Joined: Wed Dec 28, 2005 5:04 pm
Location: Texas

Post by Woody »

Thanks for posting the code Andy. G-force is fantastic!!

Woody

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

Post by chkman »

It would be so nice if the script command StartSprite would allow you to specify foreground or background or better yet, what .txt file to use with the image.

I find it hard to believe that I'm the only person who used the auto-foreground folder. Come on, 10,000 people add a post saying 'bring back the auto-foreground folder"! Yeah! Just do it!!!!!

Everybody now......

kenh
Posts: 16
Joined: Wed Nov 16, 2005 7:31 am

Post by kenh »

I seem to have stirred up a hornets nest when I asked this question back in November....I have gone back to the pre Platinum version in order to use all the sprites...YES YES we want them back Please....

User avatar
andy55
Site Admin
Posts: 569
Joined: Sat May 01, 2004 4:38 pm
Contact:

Post by andy55 »

chkman wrote:It would be so nice if the script command StartSprite would allow you to specify foreground or background or better yet, what .txt file to use with the image.

I find it hard to believe that I'm the only person who used the auto-foreground folder. Come on, 10,000 people add a post saying 'bring back the auto-foreground folder"! Yeah! Just do it!!!!!

Everybody now......
Let offer another way to regard this issue... Would you rather have me spending my time putting in and maintaining foreground sprites or would you rather have me focus on our new features and upcoming products?

Andy

kenh
Posts: 16
Joined: Wed Nov 16, 2005 7:31 am

Post by kenh »

The former

Post Reply