Gamestudio Links
Zorro Links
Newest Posts
Purchase A8 full licence version
by ukgamer. 04/29/26 18:09
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 5,509 guests, and 69 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ukgamer, valino, juergenwue, VladMak, Geir
19210 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: same counter in al levels back and forth? [Re: Trooper119] #125028
04/20/07 08:14
04/20/07 08:14
Joined: May 2006
Posts: 132
Norway
Fiskekona Offline OP
Member
Fiskekona  Offline OP
Member

Joined: May 2006
Posts: 132
Norway
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/07 08:52
04/20/07 08:52
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
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


Never say never.
Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1