Game health

Talk about making games.

Game health

Postby BlarghNRawr » Wed Sep 17, 2008 8:47 pm

my 2 player game needs health...
5000 each, how can i make it work?
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score

Re: Game health

Postby jimmynewguy » Thu Sep 18, 2008 1:54 am

here a real quick example....does the job though! :D
Attachments
health.zip
Demo
(89.2 KiB) Downloaded 112 times
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Game health

Postby BlarghNRawr » Fri Sep 19, 2008 1:31 am

cant use!
i have older version of ge
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score

Re: Game health

Postby jimmynewguy » Fri Sep 19, 2008 1:53 am

oh ok,
make a variable(or textnumber) for each player lets call it health
on create actor health(or health.textNumber) += 5000
on (action that causes damage) health(or health.textNumber) -= however much damage
and to heal on collision for healer destroy actor and healt(or health.textNumber) += however much
:D
kinda simple but i probably confused you if you dont understand just ask

ps: how come you dont download the newer version of GE?
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Game health

Postby BlarghNRawr » Fri Sep 19, 2008 4:48 am

ok ill try it when i get home...

and i only have the trial of ge, and its on my computer that doesnt have internet...
i wish i could :D
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score

Re: Game health

Postby jimmynewguy » Fri Sep 19, 2008 8:50 pm

oh, well i have the trail version too... if you have a flash drive you could download it and transfer it to your other computer....but it doesnt matter that much
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Game health

Postby BlarghNRawr » Sat Sep 20, 2008 1:26 am

...really! i can do that?
awesome! i know what im doing at shool on monday :twisted:
Download Game Music
current projects:
Bold! ?% Started mechanics
Unnamed puzzle game 60% --i need a name!--
User avatar
BlarghNRawr
 
Posts: 767
Joined: Wed Jun 25, 2008 12:36 am
Location: Not using G-E anymore. Now using Source SDK.
Score: 27 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron