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, 1 month ago

Too short, bud.

Grip 19 years, 1 month ago

Besides there is a questions spot in the forums

Grip 19 years, 1 month ago

Any way you should use global variables

Xxypher 19 years, 1 month ago

no one goes to hte forums prometheist

also

click on persistant

Rulze 19 years, 1 month ago

how do i use global variables?

Xxypher 19 years, 1 month ago

put global.

before the variable your using

Killpill28 19 years, 1 month 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, 1 month ago

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