Lives for player.

Game Editor comments and discussion.

Lives for player.

Postby Tytan McAnguns-PL » Thu Apr 05, 2007 1:32 pm

What to make the lives for player.
please instruction.
User avatar
Tytan McAnguns-PL
 
Posts: 67
Joined: Sat Mar 31, 2007 9:38 am
Location: POLAND
Score: 16 Give a positive score

Postby makslane » Thu Apr 05, 2007 1:55 pm

makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Tytan McAnguns-PL » Tue Apr 10, 2007 1:12 pm

Not working .
Errors lines !
User avatar
Tytan McAnguns-PL
 
Posts: 67
Joined: Sat Mar 31, 2007 9:38 am
Location: POLAND
Score: 16 Give a positive score

Postby Kodo » Tue Apr 10, 2007 1:18 pm

Tytan McAnguns-PL wrote:Not working .
Errors lines !


We can't help you very well without more info!
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Postby Tytan McAnguns-PL » Sat Apr 21, 2007 7:17 am

Exist a any tourial to lifes or health ?
User avatar
Tytan McAnguns-PL
 
Posts: 67
Joined: Sat Mar 31, 2007 9:38 am
Location: POLAND
Score: 16 Give a positive score

Postby Caaz Games » Sat Apr 21, 2007 9:26 am

Tytan McAnguns-PL wrote:Exist a any tourial to lifes or health ?
ive posted an easy way to make an easy health bar! http://game-editor.com/forum/tp-3133-Ea ... h-Bar.html
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score

Postby Sgt. Sparky » Sat Apr 21, 2007 5:01 pm

just make a variable called lives,
on the create actor event of the view,
[/code]lives--;[code]
when the player dies,
[code]if(lives >0)lives -= 1;
else
{
EventDisable("Event Actor", EVENTDESTROYACTOR);
DestroyActor("Event Actor");
}
[/code]
:D
I hope that helps
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron