Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 14,540 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lives, scoring and switching models #232672
10/23/08 05:07
10/23/08 05:07
Joined: Mar 2007
Posts: 69
L
luke_was_ere Offline OP
Junior Member
luke_was_ere  Offline OP
Junior Member
L

Joined: Mar 2007
Posts: 69
-->I am using the Shooter Template from A7 and have a third person camera instead of the FPS. What is the best way to make a simple lives system, because im new to this scripting stuff. I would start with 3 lives and every time the players health hits 0, one of the lives goes down and the level reloads, If it hits 0, then it would jump to a game over pannel.


-->Also how would I have a basic scoring system so that each time an enemy dies it gets added to a total on screen score?

--> And the final thing i havenet managed to get going is switching models when a character reaches a certain point. I want a different model to load when a certain point is reached.


Any advice would be greatly appreciated.

Re: Lives, scoring and switching models [Re: luke_was_ere] #233555
10/29/08 13:45
10/29/08 13:45
Joined: Jul 2008
Posts: 2,110
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,110
Germany
Code:
var Enemys_Killed;

ACTION Youre_Enemys_Shoot_Event {
 ...
 Enemys_Killed += 1;
 ..
}

PANEL Show_The_Kills {
 POS_X 0;
 POS_Y 0;
 BMAP Any_Bitmap;
 DIGITS ...., Enemys_Killed); (see DIGITS in help, cant remember)
 FLAGS VISIBLE;
}


Second:
Look up ENT_MORPH


Last edited by rayp; 10/29/08 16:46.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;

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