This is as of now the only way I've formulated to integrate your sprites with the sonic environment in G-Force. In other words, all this will do is light up the picture. It won't make the sprite grow or shrink in time to the music; I think this is impossible right now anyway.
Step 1. Go into your (Default) doc located in the Sprites folder.
Step 2. Locate the section where you see the Function EPen or Pen.
Step 3. If EPen is already there, replace the FADER value within the quote-marks with fft(s). Here you can also add other funcs such as sin, cos or trwv or add an additional A variable to control the rate of "sonic lighting" you desire. (EDIT: The Pen algorithm for the Parkening Power waveshape is totally choice. You will, o'course, need to supply the temp var C statement into the (Default) document.) You can also, of course, re-integrate FADER to combine that parameter's slow on-off trailing function with the pulse.
Apropos of this, I definitely recommend fft because this controls the lighting in a way comparable to a dim-switcher. My observations showed that using mag simply created a flicker, and no addition of any variables would IMO make any perceptible difference.
Stay tuned to my soon-to-be-edited earlier post on Suggestions for further info.
A Simple Trick To Make Your Sprites React to Sound
Moderators: BTT, andy55, b.dwall, juxtiphi
- JayPro
- Posts: 738
- Joined: Sat May 01, 2004 10:51 pm
- Location: Huntington Station, Long Island, New York
A Simple Trick To Make Your Sprites React to Sound
"God is syntax."
ok I did that and it does pulse if you will, but It really cant be seen under the all the other stuff going on. all I could see were maybe the edges and I tried all the sprites how can I make them brighter?
here are some shots of what Im seeing. I used the toolbar to select all the pics in my sprite folder I selected the schematic for the bottom screenshot

in the top one the pic is very dim
in the bottom its nonexistent

here are some shots of what Im seeing. I used the toolbar to select all the pics in my sprite folder I selected the schematic for the bottom screenshot

in the top one the pic is very dim
in the bottom its nonexistent

- JayPro
- Posts: 738
- Joined: Sat May 01, 2004 10:51 pm
- Location: Huntington Station, Long Island, New York
I'm gratified to see that it works for you in some small way; but keep in mind that this is an ongoing experiment. I intend to work with temp variables and the bass function, which for my short-cutting, lazy self means wading into the Pen parameters within my WaveShape collection.
This means reconsidering mag(s), too.
Nothing is written in stone.
This means reconsidering mag(s), too.
Nothing is written in stone.
"God is syntax."
well then, I await your next tweakJayPro wrote:I'm gratified to see that it works for you in some small way; but keep in mind that this is an ongoing experiment. I intend to work with temp variables and the bass function, which for my short-cutting, lazy self means wading into the Pen parameters within my WaveShape collection.
This means reconsidering mag(s), too.
Nothing is written in stone.