I'm On a Roll 2Nite: Two More Background Sprite Tricks!

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

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

I'm On a Roll 2Nite: Two More Background Sprite Tricks!

Post by JayPro »

Part One: Making your Background Sprite Pulse to Music.
Step One: If you have a .txt file called Moon in your Sprites folder, duplicate it and set the Pen value (in the copy, of course...) from FADER to either of the two choices I mentioned in my previous Sprite Trick post.
Step Two: Rename the text file to the title of the background sprite you want to play with and place it in whatever BG Sprite repository you have or to whichever subfolder wherein the sprite in question is located [Pls see the (Default).txt file in your Sprites folder to see how Foreground/Background sprites are treated in G-Force as it is constituted now. I don't want to furnish you with any outdated or incorrect information. All I know is the two components of the Moon sprite are not within the confines of a BG Sprite folder for a good reason, i.e. Andy wants it to behave in a particular way.].

And now ladies and gents....here's the trick of the year:

Part Two: Making your Background Sprite Actually Morph to the PixelFlow of a DeltaField...(sorry for the old term; just can't shake a bad habit ;) ).
Step One: Repeat the previous two steps with the following *super-duper big-time exception*:
You must use the mag() function in the Pen line for this to work. Bass or fft() will just make it pulse and force the Sprite in question into a foreground position, which will be ugly I guarantee you. Also, you should add an A variable to the code, whcih should read: Pen="mag(s)*a6, where A6="10+rnd(100)". This should give you a sufficient range to decide what's best. ALmost anything over 100 (150-200 is pushing it) comes that much closer to destroting the intended result...at least for me. Less than 10 creates a weak pulse. I suppose with the current syntax you can use max(), min() etc...; but I strenuously recommend using the a6 variable temp values I mentioned above.
EDIT & WARNING: The morphing backgrounds I so pridefully touted don't seem to work too well with a lot of fractally complex flowfields. What happens here is that you get a rapid-fire switching battle between the pending flowfield and the Sprite under experiment. This can be troublesome to some folks; and it's a good thing that those with epilepsy, seizures and similar problems are told the risks of using GForce. Perhaps, though, with a bit of further optimization, I can eliminate this issue.
"God is syntax."

User avatar
Orbstah
Posts: 175
Joined: Fri Dec 03, 2004 9:04 pm
Location: Leven, Fife, Scotland

Post by Orbstah »

So really you were on a roll but now for some reason you got a flat edge somewhere on your roll :D
I'll come to bed once i've seen everything in G-Force.

User avatar
markofkane
Posts: 346
Joined: Thu Feb 03, 2005 3:08 pm

Post by markofkane »

I think it's a great idea, but have been too lazy to try it. :oops: :oops:

If there was a sample script already made, I'd try it. 8)

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

Post by JayPro »

Orbstah wrote:So really you were on a roll but now for some reason you got a flat edge somewhere on your roll :D
I'm almost afraid to ask whether you understood my idiomatic expression there, as I'm not quite sure if you good folks on your side of the "Pond" use it with any regularity. ;)


Mark- Perhaps you could make a script to emulate what I laid out; but I, who do practically zero scripting with this application, prefer to manipulate text and pic files.

It really isn't as complicated or as time-consuming as I perhaps made it out to be.
"God is syntax."

Post Reply