Help!

Posted by Rulze on March 24, 2007, 1:09 a.m.

I have an object called controller in my game. it deals with lives and money and other variables. How do I keep the variables the same when I move from room to room?

Comments

Grip 18 years, 11 months ago

Too short, bud.

Grip 18 years, 11 months ago

Besides there is a questions spot in the forums

Grip 18 years, 11 months ago

Any way you should use global variables

Xxypher 18 years, 11 months ago

no one goes to hte forums prometheist

also

click on persistant

Rulze 18 years, 11 months ago

how do i use global variables?

Xxypher 18 years, 11 months ago

put global.

before the variable your using

Killpill28 18 years, 11 months ago

global."enter variable here"

That sure work, make sure you have global."enter variable here" where ever you use the variable.

Rulze 18 years, 11 months ago

thanks guys. I'd rather use persistent than global variables but thnks anyways