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?
Too short, bud.
Besides there is a questions spot in the forums
Any way you should use global variables
no one goes to hte forums prometheist
how do i use global variables?
put global.
global."enter variable here"
thanks guys. I'd rather use persistent than global variables but thnks anyways
Too short, bud.
Besides there is a questions spot in the forums
Any way you should use global variables
no one goes to hte forums prometheist
alsoclick on persistanthow do i use global variables?
put global.
before the variable your usingglobal."enter variable here"
That sure work, make sure you have global."enter variable here" where ever you use the variable.thanks guys. I'd rather use persistent than global variables but thnks anyways