need guide on getting chars to fight and getting life variab

Talk about making games.

need guide on getting chars to fight and getting life variab

Postby metal5723 » Sun Nov 04, 2007 3:46 pm

like i said in my other post, I'm very new to game design so theres a lot i don't understand. I am trying to make it to where my character have health variables and will attackeach other but i don't know how. i can get as far as the chart where you make the actor variable but i dont know what to put in the chart. name? i dont thik that matters much. integer,real,or string? i dont't know. Array yes or no? size? size of what? then it wants me to put a variable in with my save group,why? So could someone please tell me how to get health variables and how to get my chars to attack.
P.S. the kind of weapons i am looking to use is swords,guns,magic,gernades, stuff like that.
metal5723
 
Posts: 4
Joined: Sat Nov 03, 2007 9:13 pm
Score: 0 Give a positive score

Re: need guide on getting chars to fight and getting life variab

Postby makslane » Sun Nov 04, 2007 6:27 pm

For health, is better use Actor variables, not globals. So each actor will have your own health.
The health holds a single numeric value, so, you don't will use arrays or strings.
Only use the save groups if you need save the variables in a file.

So, I think creating a variable called 'health', Actor, Integer, will solve your problem.

For more info, read the threads:
http://game-editor.com/forum/viewtopic.php?f=1&t=3246
http://game-editor.com/forum/viewtopic.php?f=2&t=2685
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: need guide on getting chars to fight and getting life variab

Postby metal5723 » Sun Nov 04, 2007 6:38 pm

thanks for the info :D
metal5723
 
Posts: 4
Joined: Sat Nov 03, 2007 9:13 pm
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron