Meaning of the words and numbers in scripts
Moderators: BTT, andy55, b.dwall, juxtiphi
Meaning of the words and numbers in scripts
Hello doing a little creations with sprites...change this ...change that ...this number 2 into 6 for example.But where can i find what the diffent is of putting for example Epen= 4 into 8 ...i know that one but when marked like A0="123 + 456 + rnd( 789 )"...i see it but nowhere is marked what 123 + 456 does....what it does when i put 3 > 6 or .123456. Oke perhaps this one does somewhere....still doen't know why this file ends with vers=310 en the outher with vers=100. Getting my point ...thanks guys and love to see what suprise my sprite has for me when i change numbers but still lol
Hello Tjitijman
All you need to know about creating Config's:-
http://www.soundspectrum.com/g-force/Do ... mming.html
If you really want to know more about G-Force:-
http://www.soundspectrum.com/g-force/Do ... n/faq.html
Regards BTT
All you need to know about creating Config's:-
http://www.soundspectrum.com/g-force/Do ... mming.html
If you really want to know more about G-Force:-
http://www.soundspectrum.com/g-force/Do ... n/faq.html
Regards BTT
Yes i just saw it before also severel times but was so complicatet at first view . Didn't know what they writing about LOL I was thinking first going to learn the basic sprites setting then i come back here.....but now i know little sprite config , I understand better what all that alien language is in the config-programming. Haha ..ya i know learning the hard way but it's coming now....thanks amigo !!BTT wrote:Hello Tjitijman
All you need to know about creating Config's:-
http://www.soundspectrum.com/g-force/Do ... mming.html
If you really want to know more about G-Force:-
http://www.soundspectrum.com/g-force/Do ... n/faq.html
Regards BTT
Hello Tjitijman
Have you read through this thread?
http://www.soundspectrum-forums.com/vie ... php?t=6545
Regards BTT
Have you read through this thread?
http://www.soundspectrum-forums.com/vie ... php?t=6545
Regards BTT
He BTT thanks again for the replys but i have printed the config/language reference....but still can't find what for example Vers=310 or sometimes Vers=100 is at the end. Oke i know that its "so g-force knows what to expects".....but expects what ?! hahaha Is 310 or 100 the size of the images or does it 100 means it's a sprite and not a waveshape And somethimes i see in a script for example .2345 Still can't find what the . means I thinks it means that the comment you give begins at 2 then going to 3 then 4 and 5 . But not sure...am i missing a page somewhere or just not looking good inuf. I'm also dutch and no program master ..so if there's written ATAN2(x)= use atan2(y,x) or seed = use srand ...i still know nothing !!! whahah . But that's oke , i just want to know how to do the sprites how i like and want Like boutching around on the screen ( xpos haha) or positionig a sprites that slowly fades away. I know that now for 70 % but that was pure putting time in it. Now are the little things such as the .4567 or Vers=400. Thanks again for your time helping these "know nothing's" like me LOLBTT wrote:Hello Tjitijman
Have you read through this thread?
http://www.soundspectrum-forums.com/vie ... php?t=6545
Regards BTT
Hey mate ...at last i know now what vers is....but i make the config myself . So all i need to do everytime for ending is Vers=432 hahaha. Is there somewhere it is writen or you just know. Other question is just where the dot " . " stands for ...like here for exampleBTT wrote:Hello Tjitijman
The Vers= is the version of G-Force that was available at the time the Config was written. You need someone much more clever than me to explain your other questions. Maybe another forum user could help.
Regards BTT
B0="123 * sin( t * .23456 )" Can't find it anywhere , or am i just not looking good Anyhow thanks man for the vers update ...Greetings
- JayPro
- Posts: 738
- Joined: Sat May 01, 2004 10:51 pm
- Location: Huntington Station, Long Island, New York
First of all, the "t" represents the timing factor in G-Force config scripting. In this case the t * .2xxxx means that any movement you se will be pretty slow. The *lower* the number you multiply by, the *slower* the movement will be. So, that means t * .02 will be slower that t * .2; and t * .002 will be slower still.
It is a good idea to use the multiplier (*) to apply timing functions when you're dealing with deimals. AS you achieve higher numbers (i.e. 1, pi, 10 etc.) it's a good idea to use +, - and / in that order.
In other words, something like t/2 will probably be as slow as t * .2. But if you use a calculation like t * 2 or t * pi, you should expect a faster transition.
t * or + (decimal) = slower. Speed increases with numbers >1 OR operator changes to - or /.
t / or - (decimal) = faster. Speed *decreases* with numbers >1 OR operator changes to + or *
Corrections will be appreciated.
It is a good idea to use the multiplier (*) to apply timing functions when you're dealing with deimals. AS you achieve higher numbers (i.e. 1, pi, 10 etc.) it's a good idea to use +, - and / in that order.
In other words, something like t/2 will probably be as slow as t * .2. But if you use a calculation like t * 2 or t * pi, you should expect a faster transition.
t * or + (decimal) = slower. Speed increases with numbers >1 OR operator changes to - or /.
t / or - (decimal) = faster. Speed *decreases* with numbers >1 OR operator changes to + or *
Corrections will be appreciated.
"God is syntax."