I am trying to understand some line of commands
Codes from Nuclear Glory Collision file sphere2sphere
i don't understand. First I tought global was a given name for a variable that will contain the camera value 0.
then global is used again sphere1=100, sphere2=101
Then at color backdrop camera, rgb(0,0,255) he use the (what I think he should use global as a variable) but it use camera. Really need explanation.
rem defines some global variables
global camera=0
global sphere1=100, sphere2=101
rem Global array to hold the "hold status" of each key pressed
global dim KeyHold(256)
rem Global array to hold the "hold status" of each key pressed
global dim LastKeyHold(256)
rem creates our camera and inits the properties
Set Camera Range 4, 15000
color backdrop camera, rgb(0,0,255)
My actual color is Color object 1, RGB(128,2,3) but I would like it to be random.