Score and lives
bennyyetts
Member Posts: 3
I cannot seem to figure out how to make the score reset when the character makes it to the next scene. so far when the score (attribute) gets to 1000 on the first level it changes scene but then the score does not reset on the next scene and it won't change to the third scene from the second game scene. Also when The character runs out of lives after passing the first level(first scene), they will just end up disappearing instead of changing to the home scene after running out of the lives. Both of these problems are associated with the attribute aspect that I can't seem to figure out. Any help is appreciated. Thanks
Comments
Are you using a game attribute to keep track of the lives/score? Actor and scene attributes won't carry over from scene to scene.
Yes, I am using a game attribute and it works perfect in the first scene but doesn't work in the next scene to come
You are reseting the attribute somewhere in before you exit the first scene or when you enter the second scene?