no dont recognise that either. But my problem is this probably.....
The counter I am using to count down is starting as soon as I hit the new game in the main menu. Then the main game starts and when I enter the secret level the counter still counts as it would have been in the main game.
So maybee I need to have to seperate counter one in each level...main level and secret level...
Because I need that counter and I need to add the scoore that the player gets from the secret level added to the main level scoore. And I dont want the game to end after secret level, I want to reward the player with extsra seconds in the main level.
Is this possible...
Programmer in training...
Own GameStudio Commerical 6.50
Re: same counter in al levels back and forth?
[Re: Fiskekona]
#125029 04/20/0708:5204/20/0708:52
var counter; as global veriable is running always with f.e. if(player !=0) wait(-1); function. So it doesn't matter where your player will be, counter will be counting. You may change counting like if player is in secret level then +1 (reward extra time) by time_step and if in main level -1 by frame_step. Or maybe I still don't get it