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 19 years, 3 months ago

Too short, bud.

Grip 19 years, 3 months ago

Besides there is a questions spot in the forums

Grip 19 years, 3 months ago

Any way you should use global variables

Xxypher 19 years, 3 months ago

no one goes to hte forums prometheist

also

click on persistant

Rulze 19 years, 3 months ago

how do i use global variables?

Xxypher 19 years, 3 months ago

put global.

before the variable your using

Killpill28 19 years, 3 months ago

global."enter variable here"

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

Rulze 19 years, 3 months ago

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