Archive: Had to mess with global vars


15th September 2003 07:07 UTC

Had to mess with global vars
I just had to. Nothing great, and it's a tad slow for what it is, but what the hell.


15th September 2003 07:10 UTC

Not that interesting or dynamic, but it uses global variables. Yay for globals.:p


15th September 2003 12:27 UTC

Roger that. Globals have enabled me to make sonic do more than ever :D


15th September 2003 12:39 UTC

Ooh, can't wait to see.:D


15th September 2003 14:23 UTC

yeah, global variable rulez.!:D
btw i bet UCD can make some awesome stuff with them.
*cough* UnConeD *cough*


16th September 2003 01:21 UTC

What is a global variable?


16th September 2003 03:34 UTC

A global variable is a variable anything running in a preset has access to. You can set global variables by using the cod reg00-99=variable to store, were 00-99 is the number used to identify each variable. You can check a global variable by clicking on Main in the side bar and entering the number (00-99) of the global variable in one of the boxes. After you set a global variable in one your effects, you can then use it in any of you other effects just like any other variable. I don't know how order affects global variables, but I'm sure the best way to use them if you are going to would be to put an n=0 superscope or anyother editable effect and then set your global variables either by frame or on beat.
About the preset, it looks kinda nice, but it isn't very interesting.