Newbie Question: Incrementing speed each level

I'm just trying out GS for the first time and am wondering how to get an attribute to change when the next level starts.

I've got a "playerSpeed" attribute that is initialized at 200 in level one. I've given the background in level two a Change Attribute command that changes playerSpeed to playerSpeed+600 (just for testing so I can see the difference). When running in test mode, when I switch scenes the playerSpeed remains unchanged. However, when I switch back to the first scene the playerSpeed is boosted as I expected. How do I get the increment to affect the level 2 scene instead of level 1?

Thanks for any help!

Comments

Sign In or Register to comment.